# -*- 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 gobject_introspection 1.0 name gdk-pixbuf2 set my_name gdk-pixbuf epoch 2 version 2.31.4 license LGPL set branch [join [lrange [split ${version} .] 0 1] .] categories graphics maintainers devans openmaintainer homepage http://www.gtk.org/ platforms darwin distname ${my_name}-${version} use_xz yes description The gdk-pixbuf-2.0 library long_description ${description} master_sites gnome:sources/${my_name}/${branch}/ checksums rmd160 be5ea041c959e1bfdc9609de52012669a9744ba4 \ sha256 e5d9977493f8188baa6f432c5015c9937f0f67d29e0b6bccd3fae23126a47a15 depends_build port:pkgconfig depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \ port:shared-mime-info \ port:libpng \ port:jasper \ port:jpeg \ port:tiff patchfiles patch-configure.ac.diff \ patch-tests-pixbuf-readonly-to-mutable.c.diff gobject_introspection yes use_autoreconf yes autoreconf.args -fvi configure.args --with-libjasper test.run yes test.target check post-activate { system "${prefix}/bin/gdk-pixbuf-query-loaders --update-cache" } variant bundle description {Enable application bundle relocation support} { configure.args-append --enable-relocations } variant x11 { depends_lib-append port:xorg-libX11 configure.args-append --with-x11 } default_variants +x11 livecheck.type gnome-with-unstable livecheck.name ${my_name}