mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-06 17:47:07 -08:00
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>
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user