summaryrefslogtreecommitdiff
path: root/user/gdk-pixbuf
diff options
context:
space:
mode:
Diffstat (limited to 'user/gdk-pixbuf')
-rw-r--r--user/gdk-pixbuf/APKBUILD43
1 files changed, 12 insertions, 31 deletions
diff --git a/user/gdk-pixbuf/APKBUILD b/user/gdk-pixbuf/APKBUILD
index 5a9e91bd0..52876cc19 100644
--- a/user/gdk-pixbuf/APKBUILD
+++ b/user/gdk-pixbuf/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=gdk-pixbuf
-pkgver=2.36.12
+pkgver=2.38.0
pkgrel=0
pkgdesc="GTK+ image loading library"
url="https://www.gtk.org/"
@@ -8,9 +8,8 @@ arch="all"
options="!check" # bug753605-atsize.jpg is missing from tarball.
license="LGPL-2.0+"
depends="shared-mime-info"
-depends_dev=""
-makedepends="$depends_dev tiff-dev libjpeg-turbo-dev gobject-introspection-dev
- libpng-dev glib-dev"
+makedepends="glib-dev gobject-introspection-dev libjpeg-turbo-dev libpng-dev
+ meson ninja python3 tiff-dev xmlto"
install="$pkgname.pre-deinstall"
triggers="$pkgname.trigger=/usr/lib/gdk-pixbuf-2.0/*/loaders"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
@@ -26,38 +25,20 @@ replaces="gtk+"
build() {
cd "$builddir"
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --sysconfdir=/etc \
- --with-x11 \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --with-libjpeg \
- --with-libtiff \
- --enable-introspection
- make
+ mkdir build
+ cd build
+ meson -Dprefix=/usr -Dinstalled_tests=false
+ ninja
}
check() {
- cd "$builddir"
- make check
+ cd "$builddir"/build
+ ninja test
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install
-}
-
-doc() {
- replaces="gtk+-doc"
- default_doc
-}
-
-dev() {
- replaces="gtk+-dev"
- default_dev
+ cd "$builddir"/build
+ DESTDIR="$pkgdir" ninja install
}
-sha512sums="5d3bd620cf464bf92079b15c78f8400db48c427053c6eeedc4ea9652a4c290a09a26310100cc7eb487daf4b565df9f7e3a6edf14685f81ddbff6a0652fb6b41b gdk-pixbuf-2.36.12.tar.xz"
+sha512sums="10fcd7999dcff48d6e965306e208cc8ca324ba98f3f4f56755d015e96938bcfbfaadc56ed75142c037e3df34b04283cd4fdf043b32e3e091b32115fccde229f4 gdk-pixbuf-2.38.0.tar.xz"