mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-sound/picard: bump to 2.8.4
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
64
media-sound/picard/picard-2.8.4.ebuild
Normal file
64
media-sound/picard/picard-2.8.4.ebuild
Normal file
@@ -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[@]}
|
||||
}
|
||||
Reference in New Issue
Block a user