From 1b10822f4bbef462e9d4f3e6df94bb3ad6b1882e Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Sat, 25 Oct 2025 20:03:36 -0700 Subject: [PATCH] add: rpcc (#6896) (#6899) --- anda/apps/rpcc/anda.hcl | 8 +++++ anda/apps/rpcc/rpcc.spec | 60 ++++++++++++++++++++++++++++++++++++++ anda/apps/rpcc/update.rhai | 5 ++++ 3 files changed, 73 insertions(+) create mode 100644 anda/apps/rpcc/anda.hcl create mode 100644 anda/apps/rpcc/rpcc.spec create mode 100644 anda/apps/rpcc/update.rhai diff --git a/anda/apps/rpcc/anda.hcl b/anda/apps/rpcc/anda.hcl new file mode 100644 index 0000000000..3a3fb971f7 --- /dev/null +++ b/anda/apps/rpcc/anda.hcl @@ -0,0 +1,8 @@ +project pkg { + rpm { + spec = "rpcc.spec" + } + labels { + nightly = 1 + } +} diff --git a/anda/apps/rpcc/rpcc.spec b/anda/apps/rpcc/rpcc.spec new file mode 100644 index 0000000000..b1d2c31af8 --- /dev/null +++ b/anda/apps/rpcc/rpcc.spec @@ -0,0 +1,60 @@ +%global commit d4bbcb081c28632fa80c89d8d9b9a419ffd22a8f +%global commit_date 20251023 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) + +Name: rpcc +Version: 0~%commit_date.git~%shortcommit +Release: 1%?dist +Summary: Raspberry Pi Control Centre - an extensible settings application for the Raspberry Pi Desktop +License: BSD-3-Clause +URL: https://github.com/raspberrypi-ui/rpcc +Source0: %url/archive/%commit.tar.gz +Packager: Owen Zimmerman + +BuildRequires: meson +BuildRequires: ninja-build +BuildRequires: gtk3-devel +BuildRequires: libxml2-devel +BuildRequires: intltool +BuildRequires: gcc + +Requires: libxml2 +Requires: gtk3 + +Provides: pipanel +Provides: rp-appset + +%description +Raspberry Pi Control Centre - an extensible settings application for the Raspberry Pi Desktop + +rpcc is a settings application which loads tab pages at runtime from plugin modules. + +A number of packages contain plugins which are installed as standard on Raspberry Pi images: + - pipanel - appearance settings + - rc-gui - Raspberry Pi Configuration + - raindrop - screen layout + - rasputin - mouse and keyboard input + - rpinters - printers + +%prep +%autosetup -n rpcc-%commit + +%build +%meson +%meson_build + +%install +%meson_install + +%find_lang rpcc + +%files -f rpcc.lang +%doc README +%license debian/copyright +%{_bindir}/rpcc +%{_datadir}/applications/rpcc.desktop +%{_datadir}/rpcc/ui/rpcc.ui + +%changelog +* Sat Oct 25 2025 Owen Zimmerman +- Initial commit diff --git a/anda/apps/rpcc/update.rhai b/anda/apps/rpcc/update.rhai new file mode 100644 index 0000000000..9751db3685 --- /dev/null +++ b/anda/apps/rpcc/update.rhai @@ -0,0 +1,5 @@ +rpm.global("commit", gh_commit("raspberrypi-ui/rpcc")); +if rpm.changed() { + rpm.release(); + rpm.global("commit_date", date()); +}