commit: 302f9a11d4740ada4961cb5fb122fbb26674d8bc Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Fri Apr 18 22:25:45 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Fri Apr 18 22:26:25 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=302f9a11
media-sound/picard: Fix 2.13.3 dependencies (Qt5-based, not Qt6) Bug: https://bugs.gentoo.org/949715 Closes: https://bugs.gentoo.org/950567 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> media-sound/picard/picard-2.13.3-r1.ebuild | 65 ++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/media-sound/picard/picard-2.13.3-r1.ebuild b/media-sound/picard/picard-2.13.3-r1.ebuild new file mode 100644 index 000000000000..f6e46f6ae2e2 --- /dev/null +++ b/media-sound/picard/picard-2.13.3-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_EXT=1 + +inherit distutils-r1 xdg + +if [[ ${PV} = *9999* ]]; then + EGIT_REPO_URI="https://github.com/metabrainz/picard" + inherit git-r3 +else + SRC_URI="https://data.musicbrainz.org/pub/musicbrainz/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 x86" +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/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[@]} +}
