Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/clementine/
Date: Fri, 16 Feb 2018 11:59:07
Message-Id: 1518782129.130fcc9f7be9fea0b9e72f551510be27b3232d32.asturm@gentoo
1 commit: 130fcc9f7be9fea0b9e72f551510be27b3232d32
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 16 11:26:17 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 16 11:55:29 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=130fcc9f
7
8 media-sound/clementine: Consolidate 9999-specifics
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 media-sound/clementine/clementine-9999.ebuild | 25 ++++++++++++-------------
13 1 file changed, 12 insertions(+), 13 deletions(-)
14
15 diff --git a/media-sound/clementine/clementine-9999.ebuild b/media-sound/clementine/clementine-9999.ebuild
16 index c80ccee1bf4..caae648812d 100644
17 --- a/media-sound/clementine/clementine-9999.ebuild
18 +++ b/media-sound/clementine/clementine-9999.ebuild
19 @@ -3,23 +3,26 @@
20
21 EAPI=6
22
23 -EGIT_BRANCH="qt5"
24 -EGIT_REPO_URI="https://github.com/clementine-player/Clementine.git"
25 -
26 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"
27
28 -inherit cmake-utils flag-o-matic gnome2-utils l10n virtualx xdg-utils
29 -[[ ${PV} == *9999* ]] && inherit git-r3
30 +MY_P="${P/_}"
31 +if [[ ${PV} == *9999* ]]; then
32 + EGIT_BRANCH="qt5"
33 + EGIT_REPO_URI="https://github.com/clementine-player/Clementine.git"
34 + GIT_ECLASS="git-r3"
35 +else
36 + SRC_URI="https://github.com/clementine-player/Clementine/archive/${PV/_}.tar.gz -> ${P}.tar.gz"
37 + KEYWORDS="~amd64 ~x86"
38 + S="${WORKDIR}/${MY_P^}"
39 +fi
40 +inherit cmake-utils flag-o-matic gnome2-utils l10n virtualx xdg-utils ${GIT_ECLASS}
41 +unset GIT_ECLASS
42
43 DESCRIPTION="Modern music player and library organizer based on Amarok 1.4 and Qt"
44 HOMEPAGE="https://www.clementine-player.org https://github.com/clementine-player/Clementine"
45 -[[ ${PV} == *9999* ]] || \
46 -SRC_URI="https://github.com/clementine-player/Clementine/archive/${PV/_}.tar.gz -> ${P}.tar.gz"
47
48 LICENSE="GPL-3"
49 SLOT="0"
50 -[[ ${PV} == *9999* ]] || \
51 -KEYWORDS="~amd64 ~x86"
52 IUSE="box cdda +dbus debug dropbox googledrive ipod lastfm mms moodbar mtp projectm pulseaudio seafile skydrive test +udisks wiimote"
53
54 REQUIRED_USE="
55 @@ -99,10 +102,6 @@ DEPEND="${COMMON_DEPEND}
56
57 DOCS=( Changelog README.md )
58
59 -MY_P="${P/_}"
60 -[[ ${PV} == *9999* ]] || \
61 -S="${WORKDIR}/${MY_P^}"
62 -
63 PATCHES=( "${FILESDIR}"/${PN}-fts3-tokenizer.patch )
64
65 src_prepare() {