aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Tutsch <mail@konstantintutsch.de>2023-09-30 22:07:12 +0200
committerKonstantin Tutsch <mail@konstantintutsch.de>2023-09-30 22:07:12 +0200
commitc5de62b2157da75414e210898016667d74246d37 (patch)
tree138ab44d3eac87111b9139fe6764734523781527 /media-sound
parentnet-p2p/p2pool: version bump (diff)
downloadguru-c5de62b2157da75414e210898016667d74246d37.tar.gz
guru-c5de62b2157da75414e210898016667d74246d37.tar.bz2
guru-c5de62b2157da75414e210898016667d74246d37.zip
media-sound/eartag: new package, add 0.5.0
Signed-off-by: Konstantin Tutsch <mail@konstantintutsch.de>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/eartag/Manifest1
-rw-r--r--media-sound/eartag/eartag-0.5.0.ebuild53
-rw-r--r--media-sound/eartag/metadata.xml11
3 files changed, 65 insertions, 0 deletions
diff --git a/media-sound/eartag/Manifest b/media-sound/eartag/Manifest
new file mode 100644
index 000000000..f9ca1fbd7
--- /dev/null
+++ b/media-sound/eartag/Manifest
@@ -0,0 +1 @@
+DIST eartag-0.5.0.tar.bz2 437537 BLAKE2B 75d7f11a3155b8b1a5e166036164b50c63db1b243aced928dd7ccae9ea8bad4a23f28983cfa41d258a18a259475785ae98647d899ad0b9b69cb2899521e3f0a6 SHA512 41c254d285d3e7372ec5ed06a14ff1ecdf9e6c8b18311d4bb6028a5ae7dc01e8e35219f15dab430f408a08f3dcd8fd20d2112590a757cbc4d40d31e11edfe26b
diff --git a/media-sound/eartag/eartag-0.5.0.ebuild b/media-sound/eartag/eartag-0.5.0.ebuild
new file mode 100644
index 000000000..7751ad48a
--- /dev/null
+++ b/media-sound/eartag/eartag-0.5.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..12} )
+
+inherit gnome2-utils meson python-single-r1 xdg
+
+DESCRIPTION="GTK4 MusicBrainz audio tagger"
+HOMEPAGE="https://gitlab.gnome.org/World/eartag"
+SRC_URI="https://gitlab.gnome.org/World/eartag/-/archive/${PV}/eartag-${PV}.tar.bz2"
+S="${WORKDIR}/eartag-${PV}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+ ${PYTHON_DEPS}
+ >=gui-libs/gtk-4.12.0
+ >=gui-libs/libadwaita-1.4.0
+ >=dev-python/pygobject-3.44.1
+ >=dev-python/pillow-10.0.0
+ >=media-libs/mutagen-1.46.0
+ >=dev-python/python-magic-0.4.27
+ >=dev-python/pyacoustid-1.2.2-r1
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ >=dev-util/meson-1.2.1-r1
+"
+
+src_install() {
+ sed -i \
+ -e 's/^#!.*/#!\/usr\/bin\/python3/g' \
+ "${S}-build/src/eartag" \
+ || die
+
+ meson_src_install
+ python_optimize
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
diff --git a/media-sound/eartag/metadata.xml b/media-sound/eartag/metadata.xml
new file mode 100644
index 000000000..fb5cffb85
--- /dev/null
+++ b/media-sound/eartag/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mail@konstantintutsch.de</email>
+ <name>Konstantin Tutsch</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="gnome-gitlab">World/eartag</remote-id>
+ </upstream>
+</pkgmetadata>