summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2020-01-01 19:00:53 +0100
committerLars Wendler <polynomial-c@gentoo.org>2020-01-01 19:02:32 +0100
commit65aef2cf1babdbce25111ce90cdb1adebbca67ea (patch)
tree39fed5bf99c0bd9336a1c475a07a692cc3828ec7 /media-sound/clementine
parentmedia-sound/clementine: Bump to version 1.3.92 (diff)
downloadgentoo-65aef2cf1babdbce25111ce90cdb1adebbca67ea.tar.gz
gentoo-65aef2cf1babdbce25111ce90cdb1adebbca67ea.tar.bz2
gentoo-65aef2cf1babdbce25111ce90cdb1adebbca67ea.zip
media-sound/clementine: Synced live ebuild
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-sound/clementine')
-rw-r--r--media-sound/clementine/clementine-9999.ebuild19
1 files changed, 14 insertions, 5 deletions
diff --git a/media-sound/clementine/clementine-9999.ebuild b/media-sound/clementine/clementine-9999.ebuild
index be99d91ad509..896d3d9b097e 100644
--- a/media-sound/clementine/clementine-9999.ebuild
+++ b/media-sound/clementine/clementine-9999.ebuild
@@ -1,21 +1,30 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PLOCALES="af ar be bg bn br bs ca cs cy da de el en en_CA en_GB eo es et eu fa fi fr ga gl he he_IL hi hr hu hy ia id is it ja ka kk ko lt lv mk_MK mr ms my nb nl oc pa pl pt pt_BR ro ru si_LK sk sl sr sr@latin sv te tr tr_TR uk uz vi zh_CN zh_TW"
+inherit cmake flag-o-matic l10n virtualx xdg
+
MY_P="${P/_}"
if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/clementine-player/Clementine.git"
inherit git-r3
else
- SRC_URI="https://github.com/${PN}-player/${PN^}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN^}-${PV}"
+ SRC_URI_BASE="https://github.com/clementine-player/${PN^}"
+ COMMIT=""
+ if [[ -n "${COMMIT}" ]] ; then
+ SRC_URI="${SRC_URI_BASE}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN^}-${COMMIT}"
+ elif [[ $(ver_cut 3) -gt 90 ]] ; then
+ SRC_URI="${SRC_URI_BASE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ else
+ SRC_URI="${SRC_URI_BASE}/releases/download/${PV}/${P}.tar.xz"
+ fi
KEYWORDS="~amd64 ~x86"
- S="${WORKDIR}/${PN^}-${COMMIT}"
fi
-inherit cmake flag-o-matic l10n virtualx xdg
-
DESCRIPTION="Modern music player and library organizer based on Amarok 1.4 and Qt"
HOMEPAGE="https://www.clementine-player.org https://github.com/clementine-player/Clementine"