diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2022-11-24 08:28:14 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2022-11-24 08:28:14 +0100 |
commit | 3bce6dd56afa037c71929bca379d251df30aa5fa (patch) | |
tree | c8f1480dfe4ebb33e0b4c267e734abd944f3b2bc /media-sound/picard | |
parent | media-libs/liblscp: dropped obsolete 0.9.7 (diff) | |
download | gentoo-3bce6dd56afa037c71929bca379d251df30aa5fa.tar.gz gentoo-3bce6dd56afa037c71929bca379d251df30aa5fa.tar.bz2 gentoo-3bce6dd56afa037c71929bca379d251df30aa5fa.zip |
media-sound/picard: bump to 2.8.4
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound/picard')
-rw-r--r-- | media-sound/picard/Manifest | 1 | ||||
-rw-r--r-- | media-sound/picard/picard-2.8.4.ebuild | 64 |
2 files changed, 65 insertions, 0 deletions
diff --git a/media-sound/picard/Manifest b/media-sound/picard/Manifest index 63f5b4897190..1cdcbc8faed4 100644 --- a/media-sound/picard/Manifest +++ b/media-sound/picard/Manifest @@ -1 +1,2 @@ DIST picard-2.8.3.tar.gz 5098160 BLAKE2B 5f7290de8faee502f3a4984e0080409a31f9971428da635fb79a9f2ec540d71a256584010d747de77c86e85cd58df929e8ddaa09840ebc2c17e5cdbb035c5d68 SHA512 b87e768f0f13e1e306279f71004b5ffaebb2cfc44be23f041d9193432bdc631c4a2b893d72b47109b06c450d6ff4e2b0a70c2a4b0cc5d1608a4481d26526b0e3 +DIST picard-2.8.4.tar.gz 5108177 BLAKE2B 948eea724d725150ccf906c1e375e04be59f762fd6ebdb4660b6b036c87eaab803c8caebfa258efb0931e1610b8b75e9e3b00c0015e5520feca3dceec71683c2 SHA512 c024cf5706fe75648f0d3f9ef9ed3437f632454ab848c463135516d8c819cab52c42e1e9d4e050aeb254f6e08ae8345fbe0f95c0ab35fdc2f79e0c01c56b291c diff --git a/media-sound/picard/picard-2.8.4.ebuild b/media-sound/picard/picard-2.8.4.ebuild new file mode 100644 index 000000000000..e50d604072d8 --- /dev/null +++ b/media-sound/picard/picard-2.8.4.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[@]} +} |