xfce.xfconf: 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-23 21:04:51 +08:00
parent 9384aa3e78
commit 893ca9bd27
+35 -5
View File
@@ -1,27 +1,46 @@
{
stdenv,
lib,
mkXfceDerivation,
fetchFromGitLab,
gettext,
gobject-introspection,
perl,
pkg-config,
vala,
xfce4-dev-tools,
wrapGAppsNoGuiHook,
libxfce4util,
glib,
withIntrospection ?
lib.meta.availableOn stdenv.hostPlatform gobject-introspection
&& stdenv.hostPlatform.emulatorAvailable buildPackages,
buildPackages,
gitUpdater,
}:
mkXfceDerivation {
category = "xfce";
stdenv.mkDerivation (finalAttrs: {
pname = "xfconf";
version = "4.20.0";
sha256 = "sha256-U+Sk7ubBr1ZD1GLQXlxrx0NQdhV/WpVBbnLcc94Tjcw=";
outputs = [
"out"
"dev"
];
src = fetchFromGitLab {
domain = "gitlab.xfce.org";
owner = "xfce";
repo = "xfconf";
tag = "xfconf-${finalAttrs.version}";
hash = "sha256-U+Sk7ubBr1ZD1GLQXlxrx0NQdhV/WpVBbnLcc94Tjcw=";
};
nativeBuildInputs = [
gettext
perl
pkg-config
xfce4-dev-tools
wrapGAppsNoGuiHook
]
++ lib.optionals withIntrospection [
gobject-introspection
@@ -32,9 +51,20 @@ mkXfceDerivation {
propagatedBuildInputs = [ glib ];
configureFlags = [ "--enable-maintainer-mode" ];
enableParallelBuilding = true;
passthru.updateScript = gitUpdater {
rev-prefix = "xfconf-";
odd-unstable = true;
};
meta = {
description = "Simple client-server configuration storage and query system for Xfce";
homepage = "https://gitlab.xfce.org/xfce/xfconf";
mainProgram = "xfconf-query";
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux;
teams = [ lib.teams.xfce ];
};
}
})