Last active
August 29, 2015 14:26
-
-
Save luzpaz/cd1b5e9fc5fbb5c6c006 to your computer and use it in GitHub Desktop.
This is moceap's RTL patch that avox fixed and made a branch of ScribusCTL
This file contains hidden or 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 Scribusrtl < Formula | |
homepage 'https://github.com/andreas-vox/ScribusCTL/wiki' | |
head "https://github.com/andreas-vox/ScribusCTL.git", :using => :git, :branch => "RTL" | |
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