add gdk-pixbuf

This commit is contained in:
Ella Stanforth 2021-12-31 12:35:39 +00:00
parent bb4bedb615
commit 14c970f831

45
gnome/gdk-pixbuf/build.sh Normal file
View file

@ -0,0 +1,45 @@
pkgname=gdk-pixbuf
_pkgver=2.42
pkgver=$_pkgver.6
fetch() {
curl -L "https://download.gnome.org/sources/gdk-pixbuf/$_pkgver/gdk-pixbuf-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
mkdir $pkgname-$pkgver/build
rm $pkgdir-$pkgver/subprojects/*.wrap
}
build() {
cd $pkgname-$pkgver
cd build
meson .. \
--buildtype=release \
--prefix=/usr \
--libexecdir=lib \
-Ddebug=false \
-Djpeg=true \
-Dpng=true \
-Dtiff=false \
-Ddocs=false \
-Dman=false \
-Dgio_sniffing=false \
-Dinstalled_tests=false \
-Dbuiltin_loaders=all
samu
}
package() {
cd $pkgname-$pkgver
cd build
DESTDIR=$pkgdir samu install
}
backup() {
return
}
license() {
cd $pkgname-$pkgver
cat LICENSE
# cat COPYING
}