2010-10-09 08:07:13 +08:00
|
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
2015-01-22 00:12:05 +08:00
|
|
|
# maintainer almack
|
2010-10-09 10:25:33 +08:00
|
|
|
|
2015-01-22 06:07:03 +08:00
|
|
|
pkgname=gdk-pixbuf2
|
2015-11-27 00:54:16 +08:00
|
|
|
pkgver=2.33.1
|
2010-10-09 08:07:13 +08:00
|
|
|
pkgrel=1
|
2015-01-22 00:12:05 +08:00
|
|
|
pkgdesc="An image loading library"
|
|
|
|
arch=('x86_64')
|
2010-10-09 10:25:33 +08:00
|
|
|
url="http://www.gtk.org/"
|
2015-01-22 00:12:05 +08:00
|
|
|
license=('LGPL2.1')
|
2015-01-22 06:07:03 +08:00
|
|
|
depends=('glib2' 'libpng' 'libtiff' 'libjpeg' 'libx11' 'jasper')
|
2015-01-22 00:12:05 +08:00
|
|
|
makedepends=('gobject-introspection')
|
2015-01-22 06:07:03 +08:00
|
|
|
install=gdk-pixbuf2.install
|
|
|
|
source=(http://download.gnome.org/sources/gdk-pixbuf/${pkgver:0:4}/gdk-pixbuf-$pkgver.tar.xz)
|
2015-11-27 00:54:16 +08:00
|
|
|
sha256sums=('132358b39bd8204e2ef0571c14206dfdca1f44bcc94c21751d6e6b0433b5088b')
|
2010-10-09 10:25:33 +08:00
|
|
|
|
|
|
|
build() {
|
2015-01-22 06:07:03 +08:00
|
|
|
cd gdk-pixbuf-$pkgver
|
2015-01-22 00:12:05 +08:00
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--with-x11 \
|
2015-01-22 06:07:03 +08:00
|
|
|
--with-libjasper \
|
2015-01-22 00:12:05 +08:00
|
|
|
--with-included-loaders=png
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2015-01-22 06:07:03 +08:00
|
|
|
cd gdk-pixbuf-$pkgver
|
2015-01-22 00:12:05 +08:00
|
|
|
|
2015-01-22 06:07:03 +08:00
|
|
|
make DESTDIR="$pkgdir" install
|
2010-10-09 10:25:33 +08:00
|
|
|
}
|