gthumb: upgrade 3.12.10 -> 4.0

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>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Markus Volk authored and Khem Raj committed 2026-10-21 08:13:00 -07:00
1 parent 4242a1098b
commit 88180fe0ff
1 file changed
+23 -15
@@ -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[colord] = "-Dcolord=true,-Dcolord=false,colord"
PACKAGECONFIG[librsvg] = "-Dlibrsvg=true,-Dlibrsvg=false,librsvg"
PACKAGECONFIG[libraw] = "-Dlibraw=true,-Dlibraw=false,libraw"
PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'colord', '', d)} libgif libjxl libraw librsvg libtiff libwebp"
inherit gnomebase gnome-help gsettings itstool gtk-icon-cache mime-xdg
SRC_URI[archive.sha256sum] = "3222344653cd6fb5d7981b73951ae3d90c414f74220a8b1c8665b25574284c75"
PACKAGECONFIG[colord] = "-Dcolord=true,-Dcolord=false,colord"
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"
SRC_URI[archive.sha256sum] = "a24aaa72b5637f49097dedc9c141a33615da770d029315f3285ebf2156cf7b61"
FILES:${PN} += "${datadir}/metainfo"