2010-11-28 10:37:24 +01:00
|
|
|
# Description: An image loading library for GTK+
|
|
|
|
# URL: http://www.gtk.org/
|
2012-06-14 17:05:14 +02:00
|
|
|
# Maintainer: Fredrik Rinnestam, fredrik at crux dot nu
|
2014-07-10 15:43:30 +10:00
|
|
|
# Depends on: gobject-introspection libpng libtiff xorg-libx11
|
2010-11-28 10:37:24 +01:00
|
|
|
|
|
|
|
name=gdk-pixbuf
|
2014-05-27 19:19:48 +02:00
|
|
|
version=2.30.8
|
2015-08-18 20:48:29 +02:00
|
|
|
release=3
|
2013-11-11 21:38:50 +01:00
|
|
|
source=(http://download.gnome.org/sources/$name/2.30/$name-$version.tar.xz \
|
2015-08-18 20:48:29 +02:00
|
|
|
gdk-pixbuf.loaders gdk-pixbuf-register.sh CVE-2015-4491.patch)
|
2010-11-28 10:37:24 +01:00
|
|
|
|
|
|
|
build () {
|
2012-06-14 17:05:14 +02:00
|
|
|
cd $name-$version
|
2015-08-18 20:48:29 +02:00
|
|
|
patch -p1 -i $SRC/CVE-2015-4491.patch
|
2010-11-28 10:37:24 +01:00
|
|
|
|
2015-08-18 20:48:29 +02:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--disable-nls \
|
|
|
|
--without-libjasper \
|
|
|
|
--with-x11
|
2012-06-14 17:05:14 +02:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2010-11-28 10:37:24 +01:00
|
|
|
|
2012-06-14 17:05:14 +02:00
|
|
|
install -m 644 $SRC/gdk-pixbuf.loaders \
|
|
|
|
$PKG/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
|
2012-06-14 17:31:43 +02:00
|
|
|
install -m 755 $SRC/gdk-pixbuf-register.sh \
|
|
|
|
$PKG/usr/bin/gdk-pixbuf-register
|
2013-03-26 21:45:48 +01:00
|
|
|
rm -r $PKG/usr/share/gtk-doc
|
2010-11-28 10:37:24 +01:00
|
|
|
}
|