2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://developer.gnome.org/gdk-pixbuf/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Library for image loading and manipulation"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="LGPL-2.1"
|
2019-11-03 00:25:20 +01:00
|
|
|
TERMUX_PKG_VERSION=2.40.0
|
2020-01-13 23:39:39 +01:00
|
|
|
TERMUX_PKG_REVISION=2
|
2017-12-03 10:06:49 +01:00
|
|
|
TERMUX_PKG_SRCURL=ftp://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/${TERMUX_PKG_VERSION:0:4}/gdk-pixbuf-${TERMUX_PKG_VERSION}.tar.xz
|
2019-11-03 00:25:20 +01:00
|
|
|
TERMUX_PKG_SHA256=1582595099537ca8ff3b99c6804350b4c058bb8ad67411bbaae024ee7cead4e6
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_DEPENDS="glib, libpng, libtiff, libjpeg-turbo"
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_BREAKS="gdk-pixbuf-dev"
|
|
|
|
TERMUX_PKG_REPLACES="gdk-pixbuf-dev"
|
2017-12-03 10:06:49 +01:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
2019-03-01 23:38:19 +01:00
|
|
|
-Dgio_sniffing=false
|
|
|
|
-Dgir=false
|
|
|
|
-Dx11=false
|
2017-12-03 10:06:49 +01:00
|
|
|
"
|
2020-01-13 23:22:18 +01:00
|
|
|
|
|
|
|
termux_step_create_debscripts() {
|
|
|
|
for i in postinst postrm triggers; do
|
|
|
|
sed \
|
|
|
|
"s|@TERMUX_PREFIX@|${TERMUX_PREFIX}|g" \
|
|
|
|
"${TERMUX_PKG_BUILDER_DIR}/hooks/${i}.in" > ./${i}
|
|
|
|
chmod 755 ./${i}
|
|
|
|
done
|
|
|
|
unset i
|
|
|
|
chmod 644 ./triggers
|
|
|
|
}
|