commit: 1cf6c119ad2ae98c1fdeb5839164dd0925a5edae Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Mon Dec 1 22:15:50 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Mon Dec 1 22:21:27 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cf6c119
media-sound/picard: add 3.0_pre20251117 Bug: https://bugs.gentoo.org/962023 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> media-sound/picard/Manifest | 1 + media-sound/picard/picard-3.0_pre20251117.ebuild | 70 ++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/media-sound/picard/Manifest b/media-sound/picard/Manifest index 9d9cb3c96aed..a41b35ef6644 100644 --- a/media-sound/picard/Manifest +++ b/media-sound/picard/Manifest @@ -1,2 +1,3 @@ DIST picard-2.13.3.tar.gz 6089477 BLAKE2B 0d62188feec6595b9b5439ffd394d406b85fb2941ed3c14d40451c31113168c58f2bb146f4de5d5f3c355fdb6a0ab494dc9fe3ca712c6a0c61a3b29f661a8605 SHA512 c4698b1dae844328b6b636063871c6f5ddb306270d6520d43df7c38269c432e9eb36fab9e1a3cf8e54a7570bf9f5b8ba48f85b3bb1b28c8b8fe0ec516f084934 DIST picard-3.0_pre20251102-45c664e3.tar.gz 8218929 BLAKE2B b4623b67ef3c41e0faf09d404c9659a97fd3b3b9f01fcae4dc8124e37b2aba3c16341cb9150ccc7d086bccd4a5cfc062c33bbaf6ee231a0bff81c6b8c3265287 SHA512 92be7d5dcc30736f2dcdf6d0a908b0f8ebd3483c18b77861da07abc417cbe2b15191c2c61bb6036b3ab8ff3a5e978af6cc36e0d69f6f41d17dd783db998244da +DIST picard-3.0_pre20251117-f30ca9ed.tar.gz 8248765 BLAKE2B 043f9b6a0ff152e03c3adaa207666152c5c798d0040686b39503634d1f16ba059d958dc987d5d2a04caffdf43e749ae5843d2753922ccf234da8f8a29928b037 SHA512 e028c94bb90207f86cd3ffa550d19c811626b53379fa4c4e7ffd4e44f4ca91d7adf7b79a2f8cc6a17ba644c25d317f84d86c312a4ad587d6c12213864ded4919 diff --git a/media-sound/picard/picard-3.0_pre20251117.ebuild b/media-sound/picard/picard-3.0_pre20251117.ebuild new file mode 100644 index 000000000000..7eb77fab8cba --- /dev/null +++ b/media-sound/picard/picard-3.0_pre20251117.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..14} ) +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 + if [[ ${PV} == *_p* ]]; then + COMMIT="f30ca9edcf82f8010517445246f12d0e40271402" + SRC_URI="https://github.com/metabrainz/${PN}/archive/${COMMIT}.tar.gz -> ${P}-${COMMIT:0:8}.tar.gz" + S="${WORKDIR}/${PN}-${COMMIT}" + else + SRC_URI="https://data.musicbrainz.org/pub/musicbrainz/${PN}/${P}.tar.gz" + fi + KEYWORDS="~amd64 ~arm64 ~x86" +fi + +DESCRIPTION="Cross-platform music tagger" +HOMEPAGE="https://picard.musicbrainz.org" + +LICENSE="GPL-2+" +SLOT="0" +IUSE="discid fingerprints nls" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/fasteners[${PYTHON_USEDEP}] + dev-python/pyjwt[${PYTHON_USEDEP}] + dev-python/pyqt6[gui,network,qml,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] ) +" +DEPEND="test? ( $(python_gen_cond_dep 'dev-python/pyqt6[testlib,${PYTHON_USEDEP}]') )" +BDEPEND="nls? ( dev-qt/qttools:6[linguist] )" + +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[@]} +}
