add gdk-pixbuf
This commit is contained in:
parent
bb4bedb615
commit
14c970f831
1 changed files with 45 additions and 0 deletions
45
gnome/gdk-pixbuf/build.sh
Normal file
45
gnome/gdk-pixbuf/build.sh
Normal 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
|
||||
}
|
Loading…
Reference in a new issue