From 711f007512b99b7580ca7c5ee8ed5c473b4407cc Mon Sep 17 00:00:00 2001 From: madonuko Date: Fri, 20 Dec 2024 01:10:16 +0800 Subject: [PATCH] add: mpvpaper closes #2680 --- anda/desktops/waylands/mpvpaper/anda.hcl | 5 +++ anda/desktops/waylands/mpvpaper/mpvpaper.spec | 40 +++++++++++++++++++ anda/desktops/waylands/mpvpaper/update.rhai | 1 + 3 files changed, 46 insertions(+) create mode 100644 anda/desktops/waylands/mpvpaper/anda.hcl create mode 100644 anda/desktops/waylands/mpvpaper/mpvpaper.spec create mode 100644 anda/desktops/waylands/mpvpaper/update.rhai diff --git a/anda/desktops/waylands/mpvpaper/anda.hcl b/anda/desktops/waylands/mpvpaper/anda.hcl new file mode 100644 index 0000000000..496ee1366b --- /dev/null +++ b/anda/desktops/waylands/mpvpaper/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "mpvpaper.spec" + } +} diff --git a/anda/desktops/waylands/mpvpaper/mpvpaper.spec b/anda/desktops/waylands/mpvpaper/mpvpaper.spec new file mode 100644 index 0000000000..8448f9b61a --- /dev/null +++ b/anda/desktops/waylands/mpvpaper/mpvpaper.spec @@ -0,0 +1,40 @@ +Name: mpvpaper +Version: 1.7 +Release: 1%?dist +Summary: A video wallpaper program for wlroots based wayland compositors +License: GPL-3.0-or-later +Group: Productivity/Multimedia/Other +URL: https://github.com/GhostNaN/mpvpaper +Source: %url/archive/%version.tar.gz +BuildRequires: meson +BuildRequires: mpv-devel +BuildRequires: ninja +BuildRequires: pkgconfig +BuildRequires: wayland-protocols-devel +BuildRequires: wlroots-devel +Requires: mpv + +%description +%summary. + +%prep +%autosetup -p1 + +%build +%meson +%meson_build + +%install +%meson_install +install -Dm644 %name.man %buildroot%_mandir/man1/%name.1 + +%files +%license LICENSE +%doc README.md +%_bindir/mpvpaper +%_bindir/mpvpaper-holder +%_mandir/man1/mpvpaper.1%?ext_man + +%changelog +* Fri Dec 20 2024 madonuko - 1.7-1 +- Initial package diff --git a/anda/desktops/waylands/mpvpaper/update.rhai b/anda/desktops/waylands/mpvpaper/update.rhai new file mode 100644 index 0000000000..f61896d3b6 --- /dev/null +++ b/anda/desktops/waylands/mpvpaper/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("GhostNaN/mpvpaper"));