From e75cbfb4c7d4092f5bf2c50042e19abb0f4214ff Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mat=C3=ADas=20Fonzo?= Date: Fri, 22 Feb 2019 16:34:33 -0300 Subject: [PATCH] recipes: x-libs/gdk-pixbuf: upgraded to version 2.38.0 --- recipes/x-libs/gdk-pixbuf/recipe | 43 +++++++++++++++++++------------- sources/SOURCELIST.txt | 2 +- sources/gdk-pixbuf-2.36.12.tar.xz.sha256 | 1 - sources/gdk-pixbuf-2.38.0.tar.xz.sha256 | 1 + 4 files changed, 27 insertions(+), 20 deletions(-) delete mode 100644 sources/gdk-pixbuf-2.36.12.tar.xz.sha256 create mode 100644 sources/gdk-pixbuf-2.38.0.tar.xz.sha256 diff --git a/recipes/x-libs/gdk-pixbuf/recipe b/recipes/x-libs/gdk-pixbuf/recipe index 04514734..fbff16c8 100644 --- a/recipes/x-libs/gdk-pixbuf/recipe +++ b/recipes/x-libs/gdk-pixbuf/recipe @@ -1,7 +1,7 @@ # Build recipe for Gdk Pixbuf. # # Copyright (C) 2018, MMPG -# Copyright (C) 2018, Matias Fonzo, . +# Copyright (C) 2018-2019, Matias Fonzo . # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -16,8 +16,8 @@ # limitations under the License. program=gdk-pixbuf -version=2.36.12 -release=2 +version=2.38.0 +release=1 # Set 'outdir' for a nice and well-organized output directory outdir="${outdir}/${arch}/x-libs" @@ -25,7 +25,7 @@ outdir="${outdir}/${arch}/x-libs" tarname=${program}-${version}.tar.xz # Remote source(s) -fetch=http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.36/$tarname +fetch=http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.38/$tarname description=" An image loading library. @@ -39,7 +39,7 @@ homepage=http://developer.gnome.org/gdk-pixbuf/stable/ license=LGPLv2+ # Source documentation -docs="AUTHORS COPYING NEWS README" +docs="COPYING NEWS" docsdir="${docdir}/${program}-${version}" build() @@ -52,19 +52,26 @@ build() # Set sane permissions chmod -R u+w,go-w,a+rX-s . - ./configure CFLAGS="$QICFLAGS" LDFLAGS="$QILDFLAGS" \ - $configure_args \ - --libdir=/usr/lib${libSuffix} \ - --mandir=$mandir \ - --enable-introspection \ - --enable-debug=no \ - --with-x11 \ - --with-libjasper \ - --without-gdiplus \ - --build="$(cc -dumpmachine)" - - make -j${jobs} V=1 - make -j${jobs} DESTDIR="$destdir" install-strip + mkdir -p build + cd build + + # Note about `-Dman=false' it requires xlstproc (DocBook) + + CFLAGS="$QICFLAGS" LDFLAGS="$QILDFLAGS" \ + meson setup $configure_args \ + --libdir /usr/lib${libSuffix} \ + --mandir $mandir \ + --buildtype=release \ + --strip \ + -Dman=false \ + -Dx11=true \ + -Djasper=true \ + .. + + ninja + DESTDIR="$destdir" ninja install + + cd .. # Compress and link man pages (if needed) if test -d "${destdir}/$mandir" diff --git a/sources/SOURCELIST.txt b/sources/SOURCELIST.txt index da0033b5..05869f0d 100644 --- a/sources/SOURCELIST.txt +++ b/sources/SOURCELIST.txt @@ -97,7 +97,7 @@ http://ftp.gnome.org/pub/gnome/sources/adwaita-icon-theme/3.31/adwaita-icon-them http://ftp.gnome.org/pub/gnome/sources/at-spi2-atk/2.30/at-spi2-atk-2.30.0.tar.xz http://ftp.gnome.org/pub/gnome/sources/at-spi2-core/2.30/at-spi2-core-2.30.0.tar.xz http://ftp.gnome.org/pub/gnome/sources/atk/2.30/atk-2.30.0.tar.xz -http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.36/gdk-pixbuf-2.36.12.tar.xz +http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.38/gdk-pixbuf-2.38.0.tar.xz http://ftp.gnome.org/pub/gnome/sources/gobject-introspection/1.58/gobject-introspection-1.58.3.tar.xz http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-2.24.32.tar.xz http://ftp.gnome.org/pub/gnome/sources/gtk+/3.24/gtk+-3.24.1.tar.xz diff --git a/sources/gdk-pixbuf-2.36.12.tar.xz.sha256 b/sources/gdk-pixbuf-2.36.12.tar.xz.sha256 deleted file mode 100644 index a6bcaf5e..00000000 --- a/sources/gdk-pixbuf-2.36.12.tar.xz.sha256 +++ /dev/null @@ -1 +0,0 @@ -fff85cf48223ab60e3c3c8318e2087131b590fd6f1737e42cb3759a3b427a334 gdk-pixbuf-2.36.12.tar.xz diff --git a/sources/gdk-pixbuf-2.38.0.tar.xz.sha256 b/sources/gdk-pixbuf-2.38.0.tar.xz.sha256 new file mode 100644 index 00000000..01bdb9c1 --- /dev/null +++ b/sources/gdk-pixbuf-2.38.0.tar.xz.sha256 @@ -0,0 +1 @@ +dd50973c7757bcde15de6bcd3a6d462a445efd552604ae6435a0532fbbadae47 gdk-pixbuf-2.38.0.tar.xz -- 2.11.4.GIT