commit: da8d9ca2fab691c8dca2e8ac0e5da3c6a69b66c8 Author: Poncho <poncho <AT> spahan <DOT> ch> AuthorDate: Fri Feb 3 12:37:49 2023 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Fri Feb 3 12:41:55 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=da8d9ca2
app-misc/metadata-cleaner: new package, add 2.3.1 Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr> app-misc/metadata-cleaner/Manifest | 1 + .../metadata-cleaner/metadata-cleaner-2.3.1.ebuild | 51 ++++++++++++++++++++++ app-misc/metadata-cleaner/metadata.xml | 11 +++++ 3 files changed, 63 insertions(+) diff --git a/app-misc/metadata-cleaner/Manifest b/app-misc/metadata-cleaner/Manifest new file mode 100644 index 000000000..fee75701b --- /dev/null +++ b/app-misc/metadata-cleaner/Manifest @@ -0,0 +1 @@ +DIST metadata-cleaner-v2.3.1.tar.bz2 2120932 BLAKE2B bcb96c997fe31548e5acfe645a48f429f5142609a5aeb6179304cb57cae791c6651806c0a195c14dfe74b03b3bdc164e1c03ca40513a69311b77921ac5bacf4a SHA512 9d530a15fcfa2f5fdf5b07467d2ec17e06530ee9a62dd0f6032277c30bfd9eef394ad104dcffe8e72b46fc06064003641029222abcdde8c93a9292d057008807 diff --git a/app-misc/metadata-cleaner/metadata-cleaner-2.3.1.ebuild b/app-misc/metadata-cleaner/metadata-cleaner-2.3.1.ebuild new file mode 100644 index 000000000..758f035cc --- /dev/null +++ b/app-misc/metadata-cleaner/metadata-cleaner-2.3.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{9..11} ) + +inherit gnome2-utils meson python-single-r1 xdg-utils + +DESCRIPTION="Python GTK application to view and clean metadata in files, using mat2." +HOMEPAGE="https://metadatacleaner.romainvigier.fr https://gitlab.com/rmnvgr/metadata-cleaner" +SRC_URI="https://gitlab.com/rmnvgr/metadata-cleaner/-/archive/v${PV}/metadata-cleaner-v${PV}.tar.bz2" + +LICENSE="GPL-3+ CC-BY-SA-4.0" +SLOT="0" +KEYWORDS="~amd64" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS} + gui-libs/gtk:4 + gui-libs/libadwaita + $(python_gen_cond_dep ' + dev-python/pygobject[${PYTHON_USEDEP}] + app-misc/mat2[${PYTHON_USEDEP}] + ')" + +RDEPEND="${DEPEND}" +BDEPEND="" + +S=${WORKDIR}/metadata-cleaner-v${PV} + +src_configure() { + python_setup + meson_src_configure +} + +src_install() { + meson_src_install + python_optimize +} + +pkg_postinst() { + gnome2_schemas_update + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + gnome2_schemas_update + xdg_desktop_database_update + xdg_icon_cache_update +} diff --git a/app-misc/metadata-cleaner/metadata.xml b/app-misc/metadata-cleaner/metadata.xml new file mode 100644 index 000000000..7c0e230f7 --- /dev/null +++ b/app-misc/metadata-cleaner/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>pon...@spahan.ch</email> + <name>Poncho</name> + </maintainer> + <upstream> + <remote-id type="gitlab">rmnvgr/metadata-cleaner</remote-id> + </upstream> +</pkgmetadata>