Last active
August 29, 2015 14:21
-
-
Save luzpaz/fb545af64089940f66c7 to your computer and use it in GitHub Desktop.
This is a homebrew formula to build the experiment Complex Text Layout branch of the Scribus 1.5.x trunk. Link: https://github.com/andreas-vox/ScribusCTL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Scribusctl < Formula | |
homepage 'https://github.com/andreas-vox/ScribusCTL/wiki' | |
head "https://github.com/andreas-vox/ScribusCTL.git", :using => :git | |
depends_on 'cmake' => :build | |
depends_on 'little-cms2' | |
depends_on 'qt5' | |
depends_on 'cairo' # => "without-x11" | |
depends_on 'jpeg' | |
depends_on 'libtiff' | |
depends_on 'fontconfig' | |
depends_on 'openssl' | |
depends_on 'pkg-config' => :build | |
depends_on 'python' | |
depends_on 'hunspell' | |
depends_on 'homebrew/dupes/zlib' | |
depends_on 'ghostscript' => :recommended | |
depends_on 'graphicsmagick' => :recommended | |
depends_on 'boost' => :recommended | |
depends_on 'poppler' => :recommended | |
depends_on 'podofo' => :recommended | |
depends_on 'freetype' => :recommended | |
depends_on 'librevenge' => :recommended # Build import filters | |
depends_on 'libwpg' => :recommended # Importer: WordPerfect Graphics | |
depends_on 'libvisio' => :recommended # Importer: MS-Visio | |
depends_on 'libmspub' => :recommended # Importer: MS-Publisher | |
depends_on 'libcdr' => :recommended # Importer: Corel Draw | |
depends_on 'libpagemaker' => :recommended # Importer: Adobe Pagemaker | |
depends_on 'libfreehand' => :recommended # Importer: Aldus/Macromedia/Adobe Freehand | |
depends_on 'open-scene-graph' => :recommended # 3D | |
def install | |
args = %W[ | |
-DBUILD_OSX_BUNDLE=1 | |
-DCMAKE_INSTALL_PREFIX:PATH=#{prefix}/Scribus.app/Contents/ | |
-DQT_PREFIX=#{Formula["qt5"].opt_prefix} | |
-DWANT_HUNSPELL=1 | |
-DWITH_PODOFO=1 | |
-DWANT_GRAPHICSMAGICK=1 | |
-DWANT_DEBUG=1 | |
] | |
# ENV.libcxx if MacOS.version > :mountain_lion | |
system "cmake", ".", *args | |
system "make" | |
system "make install" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment