mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
media-sound/eartag: new package, add 0.5.0
Signed-off-by: Konstantin Tutsch <mail@konstantintutsch.de>
This commit is contained in:
1
media-sound/eartag/Manifest
Normal file
1
media-sound/eartag/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST eartag-0.5.0.tar.bz2 437537 BLAKE2B 75d7f11a3155b8b1a5e166036164b50c63db1b243aced928dd7ccae9ea8bad4a23f28983cfa41d258a18a259475785ae98647d899ad0b9b69cb2899521e3f0a6 SHA512 41c254d285d3e7372ec5ed06a14ff1ecdf9e6c8b18311d4bb6028a5ae7dc01e8e35219f15dab430f408a08f3dcd8fd20d2112590a757cbc4d40d31e11edfe26b
|
||||
53
media-sound/eartag/eartag-0.5.0.ebuild
Normal file
53
media-sound/eartag/eartag-0.5.0.ebuild
Normal file
@@ -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
|
||||
}
|
||||
11
media-sound/eartag/metadata.xml
Normal file
11
media-sound/eartag/metadata.xml
Normal file
@@ -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>
|
||||
Reference in New Issue
Block a user