blob: a12334d2e518f4502d79a492ab0b4f2c1752bfb5 (
plain) (
tree)
|
|
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=gdk-pixbuf
pkgver=2.38.2
pkgrel=0
pkgdesc="GTK+ image loading library"
url="https://www.gtk.org/"
arch="all"
options="!check" # bug753605-atsize.jpg is missing from tarball.
license="LGPL-2.0+"
depends="shared-mime-info"
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"
source="https://download.gnome.org/sources/gdk-pixbuf/${pkgver%.*}/gdk-pixbuf-$pkgver.tar.xz
"
replaces="gtk+"
# secfixes:
# 2.36.6-r1:
# - CVE-2017-6311
# - CVE-2017-6312
# - CVE-2017-6314
build() {
mkdir build
cd build
meson -Dprefix=/usr -Dinstalled_tests=false
ninja
}
check() {
ninja -C build test
}
package() {
DESTDIR="$pkgdir" ninja -C build install
}
sha512sums="b0f83cca9bfbe45dab200b19a5ec6231b628c09633fd41348f433c226d523c2f9b805d41e4d955e9fd65c5b6d24df59c7c94193032379d6f09b0472ae988a0c1 gdk-pixbuf-2.38.2.tar.xz"
|