From 2200dc49e1b18ccce9295fe22b8f1aa583b863a9 Mon Sep 17 00:00:00 2001 From: madomado Date: Fri, 20 Dec 2024 01:31:44 +0800 Subject: [PATCH] add: mpvpaper (#2682) * add: mpvpaper closes #2680 * ninja-build Signed-off-by: madomado * Update mpvpaper.spec Signed-off-by: madomado * gz Signed-off-by: madomado --------- Signed-off-by: madomado --- anda/desktops/waylands/mpvpaper/anda.hcl | 5 +++ anda/desktops/waylands/mpvpaper/mpvpaper.spec | 41 +++++++++++++++++++ anda/desktops/waylands/mpvpaper/update.rhai | 1 + 3 files changed, 47 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 000000000..496ee1366 --- /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 000000000..3588295b1 --- /dev/null +++ b/anda/desktops/waylands/mpvpaper/mpvpaper.spec @@ -0,0 +1,41 @@ +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-build +BuildRequires: pkgconfig +BuildRequires: wayland-protocols-devel +BuildRequires: wlroots-devel +BuildRequires: gcc +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.gz + +%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 000000000..f61896d3b --- /dev/null +++ b/anda/desktops/waylands/mpvpaper/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("GhostNaN/mpvpaper"));