mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 14:14:45 +08:00
29 lines
665 B
Bash
29 lines
665 B
Bash
pkgname=gdk-pixbuf2
|
|
pkgver=2.34.0
|
|
pkgrel=1
|
|
pkgdesc="An image loading library"
|
|
arch=('x86_64')
|
|
url="http://www.gtk.org/"
|
|
license=('LGPL2.1')
|
|
depends=('glib2' 'libpng' 'libtiff' 'libjpeg' 'libx11' 'jasper')
|
|
makedepends=('gobject-introspection')
|
|
install=gdk-pixbuf2.install
|
|
source=(http://download.gnome.org/sources/gdk-pixbuf/${pkgver:0:4}/gdk-pixbuf-$pkgver.tar.xz)
|
|
sha256sums=('d55e5b383ee219bd0e23bf6ed4427d56a7db5379729a6e3e0a0e0eba9a8d8879')
|
|
|
|
build() {
|
|
cd gdk-pixbuf-$pkgver
|
|
|
|
./configure --prefix=/usr \
|
|
--with-x11 \
|
|
--with-libjasper \
|
|
--with-included-loaders=png
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd gdk-pixbuf-$pkgver
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
}
|