From 0318a5b5474da1cce0ee1f8095901d2990924cf6 Mon Sep 17 00:00:00 2001 From: luzpaz Date: Tue, 8 Jul 2014 15:18:24 -0500 Subject: podofo 0.9.3 Since build was failing on Lion because X11 Freetype2 libs were used instead of Homebrew Freetype, 2 new Cmake arguments were added to successfully compile on all current Homebrew supported OSX platforms Closes #30747. Signed-off-by: Misty De Meo --- Library/Formula/podofo.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/podofo.rb b/Library/Formula/podofo.rb index b66746a3c..35e093beb 100644 --- a/Library/Formula/podofo.rb +++ b/Library/Formula/podofo.rb @@ -2,9 +2,8 @@ require 'formula' class Podofo < Formula homepage 'http://podofo.sourceforge.net' - url 'https://downloads.sourceforge.net/podofo/podofo-0.9.2.tar.gz' - sha1 '8a6e27e17e0ed9f12e1a999cff66eae8eb97a4bc' - revision 1 + url 'https://downloads.sourceforge.net/podofo/podofo-0.9.3.tar.gz' + sha1 'e3b08af1266eb480032456e3bde030c75452d380' depends_on 'cmake' => :build depends_on 'libpng' @@ -18,6 +17,8 @@ class Podofo < Formula # Build shared to simplify linking for other programs. system "cmake", "..", "-DPODOFO_BUILD_SHARED:BOOL=TRUE", + "-DFREETYPE_INCLUDE_DIR_FT2BUILD=#{Formula['freetype'].include}/freetype2", + "-DFREETYPE_INCLUDE_DIR_FTHEADER=#{Formula['freetype'].include}/freetype2/config/", *std_cmake_args system "make install" end -- cgit v1.2.3