media-sound/picard: add github upstream metadata

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner 2025-11-02 23:10:15 +01:00
parent 420c3a4a7d
commit 0e39e17975
No known key found for this signature in database
GPG Key ID: AE591BBC73E4DD5E
3 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,9 @@
<email>sound@gentoo.org</email>
<name>Gentoo Sound project</name>
</maintainer>
<upstream>
<remote-id type="github">metabrainz/picard</remote-id>
</upstream>
<longdescription>MusicBrainz Picard is a cross-platform MusicBrainz tag editor
written in Python. Picard Tagger is intended to be the next generation of
tagger for MusicBrainz, with a focus on album oriented tagging as opposed to

View File

@ -17,6 +17,7 @@ else
if [[ ${PV} == *_p* ]]; then
COMMIT="45c664e331d5f392f45f80dccb5fc844737a614a"
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

View File

@ -17,6 +17,7 @@ else
if [[ ${PV} == *_p* ]]; then
COMMIT="45c664e331d5f392f45f80dccb5fc844737a614a"
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