diff options
author | Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com> | 2024-08-05 20:53:35 +0200 |
---|---|---|
committer | Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com> | 2024-08-05 20:56:51 +0200 |
commit | 7a5f1379ed08ae83081b1f70b17d6fc1df84143e (patch) | |
tree | 471fe63c1b92e1ba515ac5ebb6aff9154bd713d3 /gui-apps | |
parent | sci-physics/openmodelica: Ensure PNG format is supported by icon format conve... (diff) | |
download | guru-7a5f1379ed08ae83081b1f70b17d6fc1df84143e.tar.gz guru-7a5f1379ed08ae83081b1f70b17d6fc1df84143e.tar.bz2 guru-7a5f1379ed08ae83081b1f70b17d6fc1df84143e.zip |
gui-apps/gradience: add 0.4.1
Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
Diffstat (limited to 'gui-apps')
-rw-r--r-- | gui-apps/gradience/Manifest | 1 | ||||
-rw-r--r-- | gui-apps/gradience/files/gradience-0.4.1-fix-metainfo-path.patch | 38 | ||||
-rw-r--r-- | gui-apps/gradience/gradience-0.4.1.ebuild | 70 | ||||
-rw-r--r-- | gui-apps/gradience/metadata.xml | 8 |
4 files changed, 117 insertions, 0 deletions
diff --git a/gui-apps/gradience/Manifest b/gui-apps/gradience/Manifest index 4a28d0bbe..03f58d5a0 100644 --- a/gui-apps/gradience/Manifest +++ b/gui-apps/gradience/Manifest @@ -1 +1,2 @@ DIST gradience-0.3.0.tar.gz 311883 BLAKE2B 87a353097bdde029e75c54f6e73a937c0246a07756a1681772abd68bd9cd05756673ce279e1c6b87a549232d6f1dad76557ce2f13805ea243bb99e3554c02dca SHA512 fc7b90504d8b74cc87ef0e2b002e75b9d41deefeeb9e5d971529b0d66e8b1d73f9d21f471ad6b94174f9f2cd11d1366c0bbaf08ef4b265efbe922b91db766892 +DIST gradience-0.4.1.tar.gz 383899 BLAKE2B 84e6dc2a4455f963920ff265ba74cc8cc15ba7b62719ec86f391a0ac6c05a40468394e5f8d14fb28c504068c46c5e316e3f0f83e7e7735f4d2807a8c0fc51acb SHA512 d16e3ed5bed1c6fa10af37c11c0753a5c1bef3b6bc4f08d9d14032b6a5ad079e92a10ffb06f41d56a155e8d35f55ec31412d0908870e75d1866436ffea9e28b8 diff --git a/gui-apps/gradience/files/gradience-0.4.1-fix-metainfo-path.patch b/gui-apps/gradience/files/gradience-0.4.1-fix-metainfo-path.patch new file mode 100644 index 000000000..49b2847a3 --- /dev/null +++ b/gui-apps/gradience/files/gradience-0.4.1-fix-metainfo-path.patch @@ -0,0 +1,38 @@ +From e9f7538467b0c6d66830ff0acd2718eb597d48ce Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Matt=C3=A9o=20Rossillol=E2=80=91=E2=80=91Laruelle?= + <beatussum@protonmail.com> +Date: Sun, 4 Aug 2024 10:52:35 +0200 +Subject: [PATCH] fix metainfo path +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +/usr/share/appdata/%{id}.appdata.xml is deprecated and was replaced by +/usr/share/metainfo/%{id}.metainfo.xml. + +See-also: https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#spec-component-location +Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com> +--- + data/meson.build | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/data/meson.build b/data/meson.build +index dd1c63fd..4472a6fe 100644 +--- a/data/meson.build ++++ b/data/meson.build +@@ -43,10 +43,10 @@ appstream_file = i18n.merge_file( + 'TRANSLATE_URL': TRANSLATE_URL + }) + ), +- output: '@0@.appdata.xml'.format(APPLICATION_ID), ++ output: '@0@.metainfo.xml'.format(APPLICATION_ID), + po_dir: '../po', + install: true, +- install_dir: join_paths(get_option('datadir'), 'appdata') ++ install_dir: join_paths(get_option('datadir'), 'metainfo') + ) + + appstream_util = find_program('appstream-util', required: false) +-- +2.44.2 + diff --git a/gui-apps/gradience/gradience-0.4.1.ebuild b/gui-apps/gradience/gradience-0.4.1.ebuild new file mode 100644 index 000000000..8419bd67d --- /dev/null +++ b/gui-apps/gradience/gradience-0.4.1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..12} ) + +inherit meson python-single-r1 xdg + +DESCRIPTION="Change the look of Adwaita with ease" +HOMEPAGE="https://gradienceteam.github.io/" +SRC_URI="https://github.com/GradienceTeam/Gradience/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${P^}" +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="binchecks strip !test? ( test )" + +DEPEND=" + dev-libs/glib:2 + >=gui-libs/gtk-4.5.0:4 + >=gui-libs/libadwaita-1.2:1 + >=net-libs/libsoup-3.2.0:3.0 + + $(python_gen_cond_dep ' + dev-python/lxml[${PYTHON_USEDEP}] + >=dev-python/pygobject-3.42.0:3[${PYTHON_USEDEP}] + ') +" + +BDEPEND=" + >=dev-build/meson-0.4.0 + dev-util/blueprint-compiler + + test? ( + dev-libs/appstream-glib + dev-util/desktop-file-utils + ) +" + +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/anyascii-0.3[${PYTHON_USEDEP}] + dev-python/material-color-utilities[${PYTHON_USEDEP}] + dev-python/reportlab[${PYTHON_USEDEP}] + dev-python/svglib[${PYTHON_USEDEP}] + dev-python/yapsy[${PYTHON_USEDEP}] + ') + + ${DEPEND} + ${PYTHON_DEPS} +" + +PATCHES=( "${FILESDIR}/${P}-fix-metainfo-path.patch" ) + +DOCS=( + CODE_OF_CONDUCT.md + HACKING.md + MAINTAINERS.md + README.md + ROADMAP.md + SECURITY.md +) + +src_install() { + meson_src_install + python_optimize +} diff --git a/gui-apps/gradience/metadata.xml b/gui-apps/gradience/metadata.xml index 531edfc94..cf9dda3ea 100644 --- a/gui-apps/gradience/metadata.xml +++ b/gui-apps/gradience/metadata.xml @@ -5,7 +5,15 @@ <email>pascal.jaeger@leimstift.de</email> <name>Pascal Jaeger</name> </maintainer> + <stabilize-allarches/> <upstream> + <maintainer status="inactive"> + <name>Gradience Team</name> + <email>GradienceTeam@proton.me</email> + </maintainer> + <changelog>https://github.com/GradienceTeam/Gradience/blob/main/CHANGELOG.md</changelog> + <doc>https://gradience.readthedocs.io/en/latest/</doc> + <bugs-to>https://github.com/GradienceTeam/Gradience/issues/</bugs-to> <remote-id type="github">GradienceTeam/Gradience</remote-id> </upstream> </pkgmetadata> |