forked from ports/compat-32
36 lines
958 B
Plaintext
36 lines
958 B
Plaintext
# Description: An image loading library for GTK+
|
|
# URL: https://www.gtk.org/
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: gdk-pixbuf glib-32 libpng-32 libtiff-32 xorg-libx11-32
|
|
|
|
name=gdk-pixbuf-32
|
|
version=2.36.8
|
|
release=1
|
|
source=(https://download.gnome.org/sources/${name%-*}/${version%.*}/${name%-*}-$version.tar.xz)
|
|
|
|
build() {
|
|
cd ${name%-*}-$version
|
|
|
|
PKG_CONFIG_LIBDIR+=':/usr/share/pkgconfig' \
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib32 \
|
|
--without-libjasper \
|
|
--disable-nls \
|
|
--with-x11
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
mv $PKG/usr/bin/gdk-pixbuf-query-loaders \
|
|
$PKG/usr/bin/gdk-pixbuf-query-loaders-32
|
|
|
|
mv $PKG/usr/bin/gdk-pixbuf-thumbnailer \
|
|
$PKG/usr/bin/gdk-pixbuf-thumbnailer-32
|
|
|
|
rm $PKG/usr/bin/{gdk-pixbuf-pixdata,gdk-pixbuf-csource}
|
|
rm -r $PKG/usr/include
|
|
rm -r $PKG/usr/share/{gtk-doc,man}
|
|
rm -r $PKG/usr/share/{thumbnailers/gdk-pixbuf-thumbnailer.thumbnailer,thumbnailers}
|
|
}
|