similarity index 53%
rename from meta-gnome/recipes-gnome/gthumb/gthumb_3.12.10.bb
rename to meta-gnome/recipes-gnome/gthumb/gthumb_4.0.bb
@@ -5,26 +5,34 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
DEPENDS = " \
glib-2.0 \
glib-2.0-native \
- bison-native \
desktop-file-utils-native \
exiv2 \
- gtk+3 \
- gsettings-desktop-schemas \
- zlib \
+ gstreamer1.0 \
+ gstreamer1.0-plugins-base \
+ gtk4 \
jpeg \
- json-glib \
+ lcms \
+ libadwaita \
+ libpng \
+ libportal \
+ zlib \
"
-PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'colord', '', d)} gstreamer lcms libjxl libraw librsvg libwebp"
-PACKAGECONFIG[gstreamer] = "-Dgstreamer=true,-Dgstreamer=false,gstreamer1.0 gstreamer1.0-plugins-base"
-PACKAGECONFIG[libwebp] = "-Dlibwebp=true,-Dlibwebp=false,libwebp"
-PACKAGECONFIG[libjxl] = "-Dlibjxl=true,-Dlibjxl=false,libjxl"
-PACKAGECONFIG[lcms] = "-Dlcms2=true,-Dlcms2=false,lcms"
+PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'colord', '', d)} libgif libjxl libraw librsvg libtiff libwebp"
+
PACKAGECONFIG[colord] = "-Dcolord=true,-Dcolord=false,colord"
-PACKAGECONFIG[librsvg] = "-Dlibrsvg=true,-Dlibrsvg=false,librsvg"
+PACKAGECONFIG[libgif] = "-Dlibgif=true,-Dlibgif=false,giflib"
+PACKAGECONFIG[libheif] = "-Dlibheif=true,-Dlibheif=false,libheif"
+PACKAGECONFIG[libjxl] = "-Dlibjxl=true,-Dlibjxl=false,libjxl"
PACKAGECONFIG[libraw] = "-Dlibraw=true,-Dlibraw=false,libraw"
+PACKAGECONFIG[librsvg] = "-Dlibrsvg=true,-Dlibrsvg=false,librsvg"
+PACKAGECONFIG[libtiff] = "-Dlibtiff=true,-Dlibtiff=false,tiff"
+PACKAGECONFIG[libwebp] = "-Dlibwebp=true,-Dlibwebp=false,libwebp"
+
+inherit gnomebase gsettings gtk-icon-cache mime-xdg vala features_check
+
+REQUIRED_DISTRO_FEATURES = "opengl"
-inherit gnomebase gnome-help gsettings itstool gtk-icon-cache mime-xdg
-SRC_URI[archive.sha256sum] = "3222344653cd6fb5d7981b73951ae3d90c414f74220a8b1c8665b25574284c75"
+SRC_URI[archive.sha256sum] = "a24aaa72b5637f49097dedc9c141a33615da770d029315f3285ebf2156cf7b61"
FILES:${PN} += "${datadir}/metainfo"
gthumb 4 is ported to GTK 4, libadwaita and Vala. Update DEPENDS (gtk4, libadwaita, libportal, gstreamer, lcms and libpng are required now; bison, json-glib and gsettings-desktop-schemas are gone) and the PACKAGECONFIG options to the new meson options. The help moved out of the tarball, so gnome-help and itstool are dropped. GTK 4 needs opengl. AI-Generated: Uses Claude Code (Claude Opus 5.5) Signed-off-by: Markus Volk <f_l_k@t-online.de> --- .../{gthumb_3.12.10.bb => gthumb_4.0.bb} | 34 ++++++++++++------- 1 file changed, 21 insertions(+), 13 deletions(-) rename meta-gnome/recipes-gnome/gthumb/{gthumb_3.12.10.bb => gthumb_4.0.bb} (53%)