2022-02-03 10:26:27 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://wiki.gnome.org/Projects/GdkPixbuf
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="Library for image loading and manipulation"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="LGPL-2.1"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2022-03-24 13:32:49 +01:00
|
|
|
TERMUX_PKG_VERSION=2.42.8
|
2022-03-26 02:18:30 +01:00
|
|
|
TERMUX_PKG_REVISION=1
|
2020-11-10 19:58:29 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/archive/${TERMUX_PKG_VERSION}/gdk-pixbuf-${TERMUX_PKG_VERSION}.tar.gz
|
2022-03-24 13:32:49 +01:00
|
|
|
TERMUX_PKG_SHA256=e1ed2b86a2196fbc4da94256f275df4df3f74e5669ce50d224cd28636863be82
|
2021-12-17 13:50:28 +01:00
|
|
|
TERMUX_PKG_DEPENDS="glib, libpng, libtiff, libjpeg-turbo, zstd"
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_BREAKS="gdk-pixbuf-dev"
|
|
|
|
TERMUX_PKG_REPLACES="gdk-pixbuf-dev"
|
2021-12-11 14:35:15 +01:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-Dgio_sniffing=false"
|
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
|
|
|
|
}
|