summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2025-03-31 11:04:57 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2025-04-02 11:36:14 +0200
commit1b3b1d2c5d5cdc30cf7abbd4119ee447679cad7d (patch)
tree08a785b98d7e60d4eb037ce10d13b957909f1f32
parent4c226f3d55619750a15b6d3100f3e85cdf17e03f (diff)
gdk-pixbuf: update to 2.42.12
-rw-r--r--package/gdk-pixbuf/Makefile37
-rw-r--r--package/gdk-pixbuf/patches/patch-Makefile_in11
2 files changed, 25 insertions, 23 deletions
diff --git a/package/gdk-pixbuf/Makefile b/package/gdk-pixbuf/Makefile
index 058134b26..e10050cfe 100644
--- a/package/gdk-pixbuf/Makefile
+++ b/package/gdk-pixbuf/Makefile
@@ -4,14 +4,14 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= gdk-pixbuf
-PKG_VERSION:= 2.34.0
-PKG_EXTRAVER:= 2.34
+PKG_VERSION:= 2.42.12
+PKG_EXTRAVER:= 2.42
PKG_RELEASE:= 1
-PKG_HASH:= d55e5b383ee219bd0e23bf6ed4427d56a7db5379729a6e3e0a0e0eba9a8d8879
+PKG_HASH:= b9505b3445b9a7e48ced34760c3bcb73e966df3ac94c95a148cb669ab748e3c7
PKG_DESCR:= image loading and pixel buffer manipulation library
PKG_SECTION:= libs/image
-PKG_BUILDDEP:= libjpeg-turbo libtiff glib libpng
-HOST_BUILDDEP:= libiconv-host glib-host libffi-host
+PKG_BUILDDEP:= libjpeg-turbo libtiff glib libpng gdk-pixbuf-host
+HOST_BUILDDEP:= glib-host libffi-host libpng-host libjpeg-turbo-host
PKG_NEEDS:= c++
PKG_SITES:= $(MASTER_SITE_GNOME:=gdk-pixbuf/$(PKG_EXTRAVER)/)
PKG_OPTS:= dev
@@ -22,13 +22,26 @@ include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,GDK_PIXBUF,gdk-pixbuf,$(PKG_VERSION)-$(PKG_RELEASE)))
$(eval $(call PKG_template,GDK_PIXBUF,gdk-pixbuf,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
-HOST_STYLE:= auto
-HOST_LDFLAGS+= -lz -ldl -lresolv -liconv -lmount -lffi
-HOST_CONFIGURE_ARGS+= --disable-glibtest \
- --without-libjpeg \
- --without-libpng \
- --without-libtiff
-CONFIGURE_ENV+= gio_can_sniff=no
+WRKBUILD= $(WRKDIR)/$(PKG_NAME)-obj
+
+HOST_LDFLAGS+= -lpng -ljpeg
+HOST_STYLE:= meson
+HOST_INSTALL_STYLE:= meson
+
+CONFIG_STYLE:= meson
+BUILD_STYLE:= meson
+INSTALL_STYLE:= meson
+
+HOST_MESON_FLAGS:= -Dgio_sniffing=false \
+ -Dtests=false \
+ -Dinstalled_tests=false \
+ -Dintrospection=disabled \
+ -Dman=false \
+ --default-library=static
+MESON_FLAGS:= -Dgio_sniffing=false \
+ -Dtests=false \
+ -Dinstalled_tests=false \
+ -Dman=false
gdk-pixbuf-install:
$(INSTALL_DIR) $(IDIR_GDK_PIXBUF)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/
diff --git a/package/gdk-pixbuf/patches/patch-Makefile_in b/package/gdk-pixbuf/patches/patch-Makefile_in
deleted file mode 100644
index dc5e3a98f..000000000
--- a/package/gdk-pixbuf/patches/patch-Makefile_in
+++ /dev/null
@@ -1,11 +0,0 @@
---- gdk-pixbuf-2.34.0.orig/Makefile.in 2016-03-24 20:17:33.000000000 +0100
-+++ gdk-pixbuf-2.34.0/Makefile.in 2016-04-04 01:04:57.039201579 +0200
-@@ -448,7 +448,7 @@ target_alias = @target_alias@
- top_build_prefix = @top_build_prefix@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
--SUBDIRS = gdk-pixbuf po docs tests contrib build
-+SUBDIRS = gdk-pixbuf contrib build
- EXTRA_DIST = \
- config.h.win32 \
- glib-tap.mk \