19 , gsettings-desktop-schemas
34 , withWebservices ? true, webkitgtk_4_0
37 stdenv.mkDerivation rec {
42 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
43 sha256 = "sha256-YIdwxsjnMHOh1AS2W9G3YeGsXcJecBMP8HJIj6kvXDM=";
63 gsettings-desktop-schemas
64 gst_all_1.gst-plugins-base
65 (gst_all_1.gst-plugins-good.override { gtkSupport = true; })
67 gst_all_1.gst-plugins-bad
68 gst_all_1.gst-plugins-ugly
82 ] ++ lib.optional withWebservices webkitgtk_4_0;
86 (lib.mesonBool "webservices" withWebservices)
90 chmod +x gthumb/make-gthumb-h.py
92 patchShebangs data/gschemas/make-enums.py \
93 gthumb/make-gthumb-h.py \
94 po/make-potfiles-in.py \
96 gthumb/make-authors-tab.py
100 gappsWrapperArgs+=(--prefix XDG_DATA_DIRS : "${shared-mime-info}/share")
104 updateScript = gnome.updateScript {
106 versionPolicy = "odd-unstable";
111 homepage = "https://gitlab.gnome.org/GNOME/gthumb";
112 description = "Image browser and viewer for GNOME";
113 mainProgram = "gthumb";
114 platforms = platforms.linux;
115 license = licenses.gpl2Plus;
116 maintainers = [ maintainers.mimame ];