mirror of
https://github.com/termux/termux-packages
synced 2024-06-19 11:47:07 +00:00
bump(main/gdk-pixbuf): 2.42.11
* Remove docs-meson.build.patch file because gi-docgen is not searched if gtk_doc is false.
* Enable building less supported image formats which was disabled in this version.
See e052a11207
This commit is contained in:
parent
4bc1ee8617
commit
9c7b69dd45
|
@ -2,11 +2,10 @@ TERMUX_PKG_HOMEPAGE=https://wiki.gnome.org/Projects/GdkPixbuf
|
|||
TERMUX_PKG_DESCRIPTION="Library for image loading and manipulation"
|
||||
TERMUX_PKG_LICENSE="LGPL-2.1"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
_MAJOR_VERSION=2.42
|
||||
TERMUX_PKG_VERSION=${_MAJOR_VERSION}.10
|
||||
TERMUX_PKG_REVISION=2
|
||||
TERMUX_PKG_SRCURL=https://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/${_MAJOR_VERSION}/gdk-pixbuf-${TERMUX_PKG_VERSION}.tar.xz
|
||||
TERMUX_PKG_SHA256=ee9b6c75d13ba096907a2e3c6b27b61bcd17f5c7ebeab5a5b439d2f2e39fe44b
|
||||
TERMUX_PKG_VERSION="2.42.11"
|
||||
TERMUX_PKG_SRCURL=https://download.gnome.org/sources/gdk-pixbuf/${TERMUX_PKG_VERSION%.*}/gdk-pixbuf-${TERMUX_PKG_VERSION}.tar.xz
|
||||
TERMUX_PKG_SHA256=49dcb402388708647e8c321d56b6fb30f21e51e515d0c5a942268d23052a2f00
|
||||
TERMUX_PKG_AUTO_UPDATE=true
|
||||
TERMUX_PKG_DEPENDS="glib, libpng, libtiff, libjpeg-turbo, zstd"
|
||||
TERMUX_PKG_BUILD_DEPENDS="g-ir-scanner"
|
||||
TERMUX_PKG_BREAKS="gdk-pixbuf-dev"
|
||||
|
@ -16,10 +15,23 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|||
-Dgtk_doc=false
|
||||
-Dintrospection=enabled
|
||||
-Dgio_sniffing=false
|
||||
-Dothers=enabled
|
||||
-Dtests=false
|
||||
"
|
||||
|
||||
termux_step_pre_configure() {
|
||||
termux_setup_gir
|
||||
TERMUX_PKG_VERSION=. termux_setup_gir
|
||||
|
||||
local _WRAPPER_BIN="${TERMUX_PKG_BUILDDIR}/_wrapper/bin"
|
||||
mkdir -p "${_WRAPPER_BIN}"
|
||||
if [[ "${TERMUX_ON_DEVICE_BUILD}" == "false" ]]; then
|
||||
sed "s|^export PKG_CONFIG_LIBDIR=|export PKG_CONFIG_LIBDIR=${TERMUX_PREFIX}/opt/glib/cross/lib/x86_64-linux-gnu/pkgconfig:|" \
|
||||
"${TERMUX_STANDALONE_TOOLCHAIN}/bin/pkg-config" \
|
||||
> "${_WRAPPER_BIN}/pkg-config"
|
||||
chmod +x "${_WRAPPER_BIN}/pkg-config"
|
||||
export PKG_CONFIG="${_WRAPPER_BIN}/pkg-config"
|
||||
fi
|
||||
export PATH="${_WRAPPER_BIN}:${PATH}"
|
||||
}
|
||||
|
||||
termux_step_create_debscripts() {
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
--- a/docs/meson.build
|
||||
+++ b/docs/meson.build
|
||||
@@ -1,8 +1,3 @@
|
||||
-gidocgen_dep = dependency('gi-docgen',
|
||||
- version: '>= 2021.1',
|
||||
- fallback: ['gi-docgen', 'dummy_dep'],
|
||||
- required: get_option('gtk_doc'),
|
||||
-)
|
||||
|
||||
|
||||
toml_conf = configuration_data()
|
Loading…
Reference in New Issue
Block a user