From 3e3aa160844be534e367dbde5e262ee23aceeef9 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Thu, 19 Dec 2024 09:32:26 -0800 Subject: [PATCH] add: mpvpaper (#2682) (#2695) * 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 (cherry picked from commit 2200dc49e1b18ccce9295fe22b8f1aa583b863a9) Co-authored-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 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..3588295b1d --- /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 0000000000..f61896d3b6 --- /dev/null +++ b/anda/desktops/waylands/mpvpaper/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("GhostNaN/mpvpaper"));