From f88ffa814f6d06b896064c38253e041a838d32f8 Mon Sep 17 00:00:00 2001 From: Ryan Fox Date: Mon, 12 Jun 2023 22:09:35 -0700 Subject: [PATCH] media-sound/eartag: add 0.4.0 --- media-sound/eartag/Manifest | 1 + media-sound/eartag/eartag-0.4.0.ebuild | 43 ++++++++++++++++++++++++++ media-sound/eartag/eartag-9999.ebuild | 1 + 3 files changed, 45 insertions(+) create mode 100644 media-sound/eartag/eartag-0.4.0.ebuild diff --git a/media-sound/eartag/Manifest b/media-sound/eartag/Manifest index b086fe3..e0de6f8 100644 --- a/media-sound/eartag/Manifest +++ b/media-sound/eartag/Manifest @@ -1 +1,2 @@ DIST eartag-0.3.3.tar.bz2 593850 BLAKE2B 371deb17f492ff079e5d212c715b48d10c3dfde5694720d78cd48edd185c6456e2804dd1755f52b342d254461e09f575cacebc2b7b5936f7c0e5bbc8b1d63020 SHA512 4b7c8fe5608e4f8a9721e63e66074c5e7106c0dbbcb83ca45f6e3cf573035a4b432f8b2cedad9906f71cf1ed87f596d8a2d7f95df8ad122437886ca92e2404bb +DIST eartag-0.4.0.tar.bz2 620666 BLAKE2B fac7675710b81f80f7df9965be9d9e2bb4fefbff4efcbf4d1cfdc71cfd6619eeb1961db7080b97ecb717ca9e209ecea67e7fa888e1173987f06bb376c49ddf8e SHA512 5971bdcb88a565bee19923955e01830f298d0a173ae4e6e4ceeb6696c17e5347848681ae6208ab8a4629e1816d042f3063af84f62e005486036c16af7f0e88ff diff --git a/media-sound/eartag/eartag-0.4.0.ebuild b/media-sound/eartag/eartag-0.4.0.ebuild new file mode 100644 index 0000000..8087a7e --- /dev/null +++ b/media-sound/eartag/eartag-0.4.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +inherit python-single-r1 meson xdg + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.gnome.org/knuxify/eartag.git" +else + SRC_URI="https://gitlab.gnome.org/knuxify/eartag/-/archive/${PV}/${P}.tar.bz2" + KEYWORDS="~amd64" +fi + +DESCRIPTION="A simple music tag editor." +HOMEPAGE="https://gitlab.gnome.org/knuxify/eartag" +LICENSE="MIT" +SLOT="0" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + >=gui-libs/gtk-4.8.0:4 + >=gui-libs/libadwaita-1.2.0 +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pyacoustid[${PYTHON_USEDEP}] + dev-python/pygobject[${PYTHON_USEDEP}] + dev-python/python-magic[${PYTHON_USEDEP}] + media-libs/mutagen[${PYTHON_USEDEP}] + ') +" +BDEPEND="" + +src_install() { + meson_install + python_fix_shebang "${D}/usr/bin/eartag" +} diff --git a/media-sound/eartag/eartag-9999.ebuild b/media-sound/eartag/eartag-9999.ebuild index 603e75f..8087a7e 100644 --- a/media-sound/eartag/eartag-9999.ebuild +++ b/media-sound/eartag/eartag-9999.ebuild @@ -29,6 +29,7 @@ RDEPEND=" ${PYTHON_DEPS} $(python_gen_cond_dep ' dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pyacoustid[${PYTHON_USEDEP}] dev-python/pygobject[${PYTHON_USEDEP}] dev-python/python-magic[${PYTHON_USEDEP}] media-libs/mutagen[${PYTHON_USEDEP}]