xfce.tumbler: Move away from mkXfceDerivation

To reduce the diff when build system change comes.
mkXfceDerivation is generally pointless with meson.
This commit is contained in:
Bobby Rong
2025-12-21 22:47:32 +08:00
parent a1f5b23947
commit 2aaae4955b
+34 -5
View File
@@ -1,6 +1,11 @@
{
stdenv,
lib,
mkXfceDerivation,
fetchFromGitLab,
gettext,
pkg-config,
xfce4-dev-tools,
wrapGAppsNoGuiHook,
ffmpegthumbnailer,
gdk-pixbuf,
glib,
@@ -15,14 +20,27 @@
gst_all_1,
webp-pixbuf-loader,
libxfce4util,
gitUpdater,
}:
mkXfceDerivation {
category = "xfce";
stdenv.mkDerivation (finalAttrs: {
pname = "tumbler";
version = "4.20.1";
sha256 = "sha256-p4lAFNvCakqrsDa2FP0xbc/khx6eYqAlHwWkk8yEB7Y=";
src = fetchFromGitLab {
domain = "gitlab.xfce.org";
owner = "xfce";
repo = "tumbler";
tag = "tumbler-${finalAttrs.version}";
hash = "sha256-p4lAFNvCakqrsDa2FP0xbc/khx6eYqAlHwWkk8yEB7Y=";
};
nativeBuildInputs = [
gettext
pkg-config
xfce4-dev-tools
wrapGAppsNoGuiHook
];
buildInputs = [
libxfce4util
@@ -58,8 +76,19 @@ mkXfceDerivation {
wrapGApp $out/lib/tumbler-1/tumblerd
'';
configureFlags = [ "--enable-maintainer-mode" ];
enableParallelBuilding = true;
passthru.updateScript = gitUpdater {
rev-prefix = "tumbler-";
odd-unstable = true;
};
meta = {
description = "D-Bus thumbnailer service";
homepage = "https://gitlab.xfce.org/xfce/tumbler";
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux;
teams = [ lib.teams.xfce ];
};
}
})