xfce.xfce4-notifyd: Build with meson

Autotools support will be removed in next release.
This commit is contained in:
Bobby Rong
2025-12-20 20:35:57 +08:00
parent cde173d872
commit b52cfc6a69
@@ -1,6 +1,12 @@
{
stdenv,
lib,
mkXfceDerivation,
fetchFromGitLab,
gettext,
meson,
ninja,
pkg-config,
wrapGAppsHook3,
dbus,
glib,
gtk3,
@@ -11,17 +17,34 @@
libxfce4ui,
libxfce4util,
sqlite,
systemd,
xfce4-panel,
xfconf,
gitUpdater,
}:
mkXfceDerivation {
category = "apps";
stdenv.mkDerivation (finalAttrs: {
pname = "xfce4-notifyd";
version = "0.9.7";
odd-unstable = false;
sha256 = "sha256-pgdoy3mZOGMOBwK/cYEl8fre4fZo2lfyWzZnrSYlQ64=";
src = fetchFromGitLab {
domain = "gitlab.xfce.org";
owner = "apps";
repo = "xfce4-notifyd";
tag = "xfce4-notifyd-${finalAttrs.version}";
hash = "sha256-pgdoy3mZOGMOBwK/cYEl8fre4fZo2lfyWzZnrSYlQ64=";
};
strictDeps = true;
nativeBuildInputs = [
gettext
glib # glib-genmarshal
meson
ninja
pkg-config
wrapGAppsHook3
];
buildInputs = [
dbus
@@ -34,18 +57,21 @@ mkXfceDerivation {
libxfce4ui
libxfce4util
sqlite
systemd
xfce4-panel
xfconf
];
configureFlags = [
"--enable-dbus-start-daemon"
"--enable-sound"
];
passthru.updateScript = gitUpdater {
rev-prefix = "xfce4-notifyd-";
};
meta = {
description = "Simple notification daemon for Xfce";
homepage = "https://gitlab.xfce.org/apps/xfce4-notifyd";
license = lib.licenses.gpl2Plus;
mainProgram = "xfce4-notifyd-config";
platforms = lib.platforms.linux;
teams = [ lib.teams.xfce ];
};
}
})