diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-22 08:42:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-22 08:42:42 +0100 |
commit | 4c4bbf21230bd972cf759b2a40b782aa4149fc1f (patch) | |
tree | a59d84c4fdbf92f79a7545ab2aa28896f6a714e1 /media-sound/picard/picard-2.8.3.ebuild | |
parent | e7f37e03b952768321c8c943a80eff4152ea7bbd (diff) |
gentoo auto-resync : 22:08:2022 - 08:42:42
Diffstat (limited to 'media-sound/picard/picard-2.8.3.ebuild')
-rw-r--r-- | media-sound/picard/picard-2.8.3.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/media-sound/picard/picard-2.8.3.ebuild b/media-sound/picard/picard-2.8.3.ebuild new file mode 100644 index 000000000000..e50d604072d8 --- /dev/null +++ b/media-sound/picard/picard-2.8.3.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +DISTUTILS_SINGLE_IMPL=1 + +inherit distutils-r1 xdg + +if [[ ${PV} = *9999* ]]; then + EGIT_REPO_URI="https://github.com/metabrainz/picard" + inherit git-r3 +else + SRC_URI="https://musicbrainz.osuosl.org/pub/musicbrainz/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${PN}-release-${PV}" +fi + +DESCRIPTION="Cross-platform music tagger" +HOMEPAGE="https://picard.musicbrainz.org" + +LICENSE="GPL-2+" +SLOT="0" +IUSE="discid fingerprints nls" + +BDEPEND=" + nls? ( dev-qt/linguist-tools:5 ) +" +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/fasteners[${PYTHON_USEDEP}] + dev-python/pyjwt[${PYTHON_USEDEP}] + dev-python/PyQt5[declarative,gui,network,widgets,${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + media-libs/mutagen[${PYTHON_USEDEP}] + discid? ( dev-python/python-discid[${PYTHON_USEDEP}] ) + ') + fingerprints? ( media-libs/chromaprint[tools] ) +" + +distutils_enable_tests pytest + +python_compile() { + local build_args=( + --disable-autoupdate + ) + if ! use nls; then + build_args+=( --disable-locales ) + fi + distutils-r1_python_compile ${build_args[@]} +} + +python_install() { + local install_args=( + --disable-autoupdate + --skip-build + ) + if ! use nls; then + install_args+=( --disable-locales ) + fi + distutils-r1_python_install ${install_args[@]} +} |