# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup muniversal 1.0 name gegl-devel set git_name gegl set git_commit 17c3f16033a9e13c9d778b030ba29761d0e72a8d conflicts gegl version 0.3.0 revision 20131213 license {GPL-3+ LGPL-3+} categories graphics maintainers devans platforms darwin description GEGL is a graph based image processing framework. long_description \ GEGL is a graph based image processing framework offering image processing and \ compositing on large images. GEGL is suitable for projects ranging from small \ one-off projects to interactive applications. This is the development version \ based on a recent snapshot of upstream git master. homepage http://gegl.org/ master_sites https://git.gnome.org/browse/${git_name}/snapshot/ distname ${git_name}-${git_commit} checksums rmd160 7869daded81cb2807e2953d10aa86ccddbd10743 \ sha256 27aaa2e887172318c8ef9e581dd8fa8c85977a6400dbbfddcb1d9b02ec530fa4 depends_build port:pkgconfig \ port:intltool \ port:w3m \ port:autoconf \ port:automake \ port:libtool depends_lib port:babl-devel \ port:gtk2 \ port:jpeg \ port:lua \ port:gobject-introspection \ port:graphviz \ port:openexr \ port:exiv2 \ port:libopenraw \ port:librsvg \ port:libsdl \ path:lib/libavcodec.dylib:ffmpeg \ port:libspiro \ port:lensfun \ port:vala patchfiles patch-configure.ac.diff \ patch-ffmpeg.diff \ rename-for-altivec.patch compiler.blacklist-append gcc-4.2 # gobject-introspection uses g-ir-scanner, which uses $CC from env if {[variant_isset universal]} { foreach arch ${configure.universal_archs} { lappend merger_build_args(${arch}) CC='${configure.cc} -arch ${arch}' } } else { build.args-append CC="${configure.cc} ${configure.cc_archflags}" } configure.cmd ./autogen.sh configure.args --disable-docs \ --disable-silent-rules \ --enable-introspection=yes \ --without-umfpack platform darwin { if {[variant_isset universal]} { # In order to build universal on Leopard, you need MacPorts 2.1 set merger_configure_args(x86_64) --build=${build_arch}-apple-${os.platform}${os.version} set merger_configure_cflags(ppc) -fno-altivec set merger_configure_cxxflags(ppc) -fno-altivec } elseif {${build_arch} == "ppc"} { configure.cflags-append -fno-altivec configure.cxxflags-append -fno-altivec } elseif {${build_arch} == "x86_64"} { configure.args-append --build=${build_arch}-apple-${os.platform}${os.version} } } variant html_doc description {Build html docs with enscript and asciidoc} { depends_build-append port:asciidoc configure.args-delete --disable-docs configure.args-append --enable-docs } variant workshop description {Enable build of workshop operations} { configure.args-append --enable-workshop } variant python25 conflicts python26 python27 description {Build using Python 2.5} { configure.python ${prefix}/bin/python2.5 depends_build-append port:python25 } variant python26 conflicts python25 python27 description {Build using Python 2.6} { configure.python ${prefix}/bin/python2.6 depends_build-append port:python26 } variant python27 conflicts python25 python26 description {Build using Python 2.7} { configure.python ${prefix}/bin/python2.7 depends_build-append port:python27 } if {![variant_isset python25] && ![variant_isset python26]} { default_variants +python27 } livecheck.type none