Mercurial > vanilla
changeset 1333:3bcfccf4727e
graphics/gdk-pixbuf: upgrade to 2.42.6
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 02 Dec 2021 20:31:42 +0100 |
parents | f4de0e777704 |
children | 7d9327688dfa |
files | graphics/gdk-pixbuf/gdk-pixbuf.sh graphics/gdk-pixbuf/gdk-pixbuf.sha1 |
diffstat | 2 files changed, 13 insertions(+), 20 deletions(-) [+] |
line wrap: on
line diff
--- a/graphics/gdk-pixbuf/gdk-pixbuf.sh Sun Nov 21 18:43:47 2021 +0100 +++ b/graphics/gdk-pixbuf/gdk-pixbuf.sh Thu Dec 02 20:31:42 2021 +0100 @@ -16,30 +16,31 @@ # PKGNAME=gdk-pixbuf -PKGVERSION=2.38.1 +PKGVERSION=2.42.6 PKGREVISION=1 PKGLICENSE="LGPL-2.1-only" PKGSUMMARY="image loading library" -PKGDOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.38/$PKGNAME-$PKGVERSION.tar.xz" +PKGWWW="https://www.gtk.org" +PKGDOWNLOAD="https://download.gnome.org/sources/gdk-pixbuf/2.42/$PKGNAME-$PKGVERSION.tar.xz" PKGDEPENDS="glib meson:build shared-mime-info" -PKGOPTIONS="JASPER JPEG PNG TIFF X" +PKGOPTIONS="INTROSPECTION JPEG PNG TIFF" : ${CC:=clang} : ${CFLAGS:=-O2} : ${CXX:=clang++} : ${CXXFLAGS:=-O2} : ${LDFLAGS:=} +: ${INTROSPECTION:=yes} : ${JASPER:=yes} : ${JPEG:=yes} : ${PNG:=yes} : ${TIFF:=yes} -: ${X:=yes} -if [ "$JASPER" = "yes" ]; then - PKGDEPENDS="graphics/jasper $PKGDEPENDS" - with_jasper="-D jasper=true" +if [ "$INTROSPECTION" = "yes" ]; then + PKGDEPENDS="gobject-introspection $PKGDEPENDS" + with_introspection="-D introspection=enabled" else - with_jasper="-D jasper=false" + with_introspection="-D introspection=disabled" fi if [ "$JPEG" = "yes" ]; then @@ -63,13 +64,6 @@ with_tiff="-D tiff=false" fi -if [ "$X" = "yes" ]; then - PKGDEPENDS="libx11 $PKGDEPENDS" - with_x="-D x11=true" -else - with_x="-D x11=false" -fi - build() { rm -rf $PKGNAME-$PKGVERSION @@ -77,7 +71,7 @@ cd $PKGNAME-$PKGVERSION # TODO: enable documentation once docbook-xml is there. - patch -p0 < ../patch-meson.patch + #patch -p0 < ../patch-meson.patch CC="$CC" \ CFLAGS="$CFLAGS" \ CXX="$CXX" \ @@ -91,11 +85,10 @@ -D docs=false \ -D man=false \ -D installed_tests=false \ - $with_jasper \ + $with_introspection \ $with_jpeg \ $with_png \ - $with_tiff \ - $with_x + $with_tiff CC="$CC" ninja -C build DESTDIR=$DESTDIR ninja -C build install sed -i -e "s|prefix=/|prefix=|" $DESTDIR/lib/pkgconfig/*.pc