From a26d8c1323f4e3e27769bb8a7dfcb3e507c2f029 Mon Sep 17 00:00:00 2001 From: madomado Date: Mon, 5 May 2025 22:30:26 +0800 Subject: [PATCH] add: ignis (#4681) * add: ignis * Update python-ignis.spec Signed-off-by: madomado * libpulse Signed-off-by: madomado --------- Signed-off-by: madomado --- anda/langs/python/ignis/anda.hcl | 5 ++ anda/langs/python/ignis/python-ignis.spec | 58 +++++++++++++++++++++++ anda/langs/python/ignis/update.rhai | 1 + 3 files changed, 64 insertions(+) create mode 100644 anda/langs/python/ignis/anda.hcl create mode 100644 anda/langs/python/ignis/python-ignis.spec create mode 100644 anda/langs/python/ignis/update.rhai diff --git a/anda/langs/python/ignis/anda.hcl b/anda/langs/python/ignis/anda.hcl new file mode 100644 index 0000000000..185d3fbfba --- /dev/null +++ b/anda/langs/python/ignis/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "python-ignis.spec" + } +} diff --git a/anda/langs/python/ignis/python-ignis.spec b/anda/langs/python/ignis/python-ignis.spec new file mode 100644 index 0000000000..ad2ebc818a --- /dev/null +++ b/anda/langs/python/ignis/python-ignis.spec @@ -0,0 +1,58 @@ +Name: python-ignis +Version: 0.5 +Release: 1%{?dist} +Summary: A widget framework for building desktop shells, written and configurable in Python + +License: ??? +URL: https://linkfrg.github.io/ignis +Source: https://github.com/linkfrg/ignis/archive/v%{version}/ignis-%{version}.tar.gz +Packager: madonuko + +BuildRequires: python3-devel +BuildRequires: gcc git-core +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gobject-introspection-1.0) +BuildRequires: pkgconfig(gio-2.0) +BuildRequires: pkgconfig(gtk4) +BuildRequires: pkgconfig(gtk4-layer-shell-0) +BuildRequires: pkgconfig(libpulse) +BuildRequires: python3dist(meson-python) +BuildRequires: python3dist(pip) + +%global _description %{expand: +%summary.} + +%description %_description + +%package -n python3-ignis +Summary: %{summary} + +%description -n python3-ignis %_description + + +%prep +%autosetup -p1 -n ignis-%{version} + + +%generate_buildrequires +%pyproject_buildrequires -R + + +%build +%pyproject_wheel + + +%install +%pyproject_install +%pyproject_save_files 'ignis*' + + +%files -n python3-ignis -f %{pyproject_files} +%doc README.* +%license LICENSE +%{_bindir}/ignis + + +%changelog +* Sun May 05 2024 madonuko - 0.5-1 +- Initial package. diff --git a/anda/langs/python/ignis/update.rhai b/anda/langs/python/ignis/update.rhai new file mode 100644 index 0000000000..085895bca4 --- /dev/null +++ b/anda/langs/python/ignis/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("linkfrg/ignis"));