Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/clementine/
Date: Wed, 14 Sep 2022 06:09:20
Message-Id: 1663135726.dda6c61790f0781c8954410f0085dacfa2abd21a.juippis@gentoo
1 commit: dda6c61790f0781c8954410f0085dacfa2abd21a
2 Author: Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
3 AuthorDate: Sun Aug 21 22:10:35 2022 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 14 06:08:46 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dda6c617
7
8 media-sound/clementine: version 1.4.0_rc2
9
10 Closes: https://bugs.gentoo.org/865939
11 Bug: https://bugs.gentoo.org/829307
12 Package-Manager: Portage-3.0.30, Repoman-3.0.3
13 Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
14 Closes: https://github.com/gentoo/gentoo/pull/26952
15 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
16
17 media-sound/clementine/Manifest | 1 +
18 ...ine-9999.ebuild => clementine-1.4.0_rc2.ebuild} | 40 ++++++++--------------
19 media-sound/clementine/clementine-9999.ebuild | 40 ++++++++--------------
20 3 files changed, 31 insertions(+), 50 deletions(-)
21
22 diff --git a/media-sound/clementine/Manifest b/media-sound/clementine/Manifest
23 index 8f8f85717952..2c93e95fd8ee 100644
24 --- a/media-sound/clementine/Manifest
25 +++ b/media-sound/clementine/Manifest
26 @@ -1 +1,2 @@
27 +DIST clementine-1.4.0_rc2.tar.gz 9073685 BLAKE2B a2376f1a895c651c2eb089419e20b9ce6050739f1342a6fdf1ebad0a14b65a08f56cc846eb79ad7facb77d6ee2cac74f9e374bd8e284a2a7f87d7c117779a08d SHA512 403093386efabd52e649c0e379abbf4873c4b2f8d0af72cda2b7e0255f90c60259f961045e7b51d0e5bf35425d678ff6b018c9191845ebbd156d9216d8bd7722
28 DIST clementine-1.4.0rc1.tar.xz 5593564 BLAKE2B 894d86903df1ba43fca2f07c83d92bcb5d65a0103a4ecd1b321d44259534930c977f0caeaf0c93446dbec4422937f2ddc7f665daa7cb41e5c183fa7f16571809 SHA512 c74102a3ca4a99c3627b718389478e5ca79ba71ce45eccd232ca2eb3fb60a1632afa62908a2831244d6c35154ad6a8b4fa2b2485b4440b9685a0521bfacaabdb
29
30 diff --git a/media-sound/clementine/clementine-9999.ebuild b/media-sound/clementine/clementine-1.4.0_rc2.ebuild
31 similarity index 85%
32 copy from media-sound/clementine/clementine-9999.ebuild
33 copy to media-sound/clementine/clementine-1.4.0_rc2.ebuild
34 index 3e4023b68ccd..8ae86de1f1b4 100644
35 --- a/media-sound/clementine/clementine-9999.ebuild
36 +++ b/media-sound/clementine/clementine-1.4.0_rc2.ebuild
37 @@ -1,36 +1,27 @@
38 -# Copyright 1999-2021 Gentoo Authors
39 +# Copyright 1999-2022 Gentoo Authors
40 # Distributed under the terms of the GNU General Public License v2
41
42 -EAPI=7
43 +EAPI=8
44 +
45 +DESCRIPTION="Modern music player and library organizer based on Amarok 1.4 and Qt"
46 +HOMEPAGE="https://www.clementine-player.org https://github.com/clementine-player/Clementine"
47
48 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"
49
50 inherit cmake flag-o-matic plocale virtualx xdg
51
52 -MY_P="${P/_}"
53 if [[ ${PV} == *9999* ]]; then
54 EGIT_REPO_URI="https://github.com/clementine-player/Clementine.git"
55 inherit git-r3
56 else
57 - S="${WORKDIR}/${P/_}"
58 - SRC_URI_BASE="https://github.com/clementine-player/${PN^}"
59 - COMMIT=""
60 - if [[ -n "${COMMIT}" ]] ; then
61 - SRC_URI="${SRC_URI_BASE}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
62 - S="${WORKDIR}/${PN^}-${COMMIT}"
63 - elif [[ $(ver_cut 3) -gt 90 ]] ; then
64 - SRC_URI="${SRC_URI_BASE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
65 - else
66 - SRC_URI="${SRC_URI_BASE}/releases/download/${PV/_}/${P/_}.tar.xz"
67 - fi
68 + S="${WORKDIR}/Clementine-${PV/_}"
69 + SRC_URI="https://github.com/clementine-player/Clementine/archive/refs/tags/${PV/_}.tar.gz -> ${P}.tar.gz"
70 KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
71 fi
72 -DESCRIPTION="Modern music player and library organizer based on Amarok 1.4 and Qt"
73 -HOMEPAGE="https://www.clementine-player.org https://github.com/clementine-player/Clementine"
74
75 LICENSE="GPL-3"
76 SLOT="0"
77 -IUSE="box cdda +dbus debug dropbox googledrive ipod lastfm mms moodbar mtp projectm pulseaudio seafile skydrive test +udisks wiimote"
78 +IUSE="alsa box cdda +dbus debug dropbox googledrive ipod lastfm mms moodbar mtp projectm pulseaudio seafile skydrive test +udisks wiimote"
79 RESTRICT="!test? ( test )"
80
81 REQUIRED_USE="
82 @@ -49,11 +40,9 @@ BDEPEND="
83 )
84 "
85 COMMON_DEPEND="
86 - app-crypt/qca:2[qt5(+)]
87 - dev-db/sqlite:=
88 + dev-db/sqlite:3
89 dev-libs/crypto++:=
90 dev-libs/glib:2
91 - dev-libs/libxml2
92 dev-libs/protobuf:=
93 dev-qt/qtconcurrent:5
94 dev-qt/qtcore:5
95 @@ -61,19 +50,20 @@ COMMON_DEPEND="
96 dev-qt/qtnetwork:5[ssl]
97 dev-qt/qtsql:5[sqlite]
98 dev-qt/qtwidgets:5
99 + dev-qt/qtx11extras:5
100 media-libs/chromaprint:=
101 media-libs/gstreamer:1.0
102 media-libs/gst-plugins-base:1.0
103 >=media-libs/libmygpo-qt-1.0.9[qt5(+)]
104 >=media-libs/taglib-1.11.1_p20181028
105 sys-libs/zlib
106 - virtual/glu
107 x11-libs/libX11
108 + alsa? ( media-libs/alsa-lib )
109 cdda? ( dev-libs/libcdio:= )
110 dbus? ( dev-qt/qtdbus:5 )
111 ipod? ( >=media-libs/libgpod-0.8.0 )
112 lastfm? ( >=media-libs/liblastfm-1.1.0_pre20150206 )
113 - moodbar? ( sci-libs/fftw:3.0 )
114 + moodbar? ( sci-libs/fftw:3.0= )
115 mtp? ( >=media-libs/libmtp-1.0.0 )
116 projectm? (
117 media-libs/glew:=
118 @@ -91,9 +81,10 @@ RDEPEND="${COMMON_DEPEND}
119 "
120 DEPEND="${COMMON_DEPEND}
121 dev-libs/boost
122 + dev-libs/libxml2
123 dev-qt/qtopengl:5
124 - dev-qt/qtx11extras:5
125 dev-qt/qtxml:5
126 + virtual/glu
127 box? ( dev-cpp/sparsehash )
128 dropbox? ( dev-cpp/sparsehash )
129 googledrive? ( dev-cpp/sparsehash )
130 @@ -131,7 +122,6 @@ src_configure() {
131 # avoid automagically enabling of ccache (bug #611010)
132 -DCCACHE_EXECUTABLE=OFF
133 -DENABLE_BREAKPAD=OFF #< disable crash reporting
134 - -DENABLE_DEVICEKIT=OFF
135 -DENABLE_GIO=ON
136 -DENABLE_SPOTIFY_BLOB=OFF
137 -DUSE_SYSTEM_GMOCK=ON
138 @@ -162,7 +152,7 @@ src_configure() {
139
140 src_test() {
141 cd "${CMAKE_BUILD_DIR}" || die
142 - virtx emake test
143 + virtx cmake_build clementine_test
144 }
145
146 pkg_postinst() {
147
148 diff --git a/media-sound/clementine/clementine-9999.ebuild b/media-sound/clementine/clementine-9999.ebuild
149 index 3e4023b68ccd..8ae86de1f1b4 100644
150 --- a/media-sound/clementine/clementine-9999.ebuild
151 +++ b/media-sound/clementine/clementine-9999.ebuild
152 @@ -1,36 +1,27 @@
153 -# Copyright 1999-2021 Gentoo Authors
154 +# Copyright 1999-2022 Gentoo Authors
155 # Distributed under the terms of the GNU General Public License v2
156
157 -EAPI=7
158 +EAPI=8
159 +
160 +DESCRIPTION="Modern music player and library organizer based on Amarok 1.4 and Qt"
161 +HOMEPAGE="https://www.clementine-player.org https://github.com/clementine-player/Clementine"
162
163 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"
164
165 inherit cmake flag-o-matic plocale virtualx xdg
166
167 -MY_P="${P/_}"
168 if [[ ${PV} == *9999* ]]; then
169 EGIT_REPO_URI="https://github.com/clementine-player/Clementine.git"
170 inherit git-r3
171 else
172 - S="${WORKDIR}/${P/_}"
173 - SRC_URI_BASE="https://github.com/clementine-player/${PN^}"
174 - COMMIT=""
175 - if [[ -n "${COMMIT}" ]] ; then
176 - SRC_URI="${SRC_URI_BASE}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
177 - S="${WORKDIR}/${PN^}-${COMMIT}"
178 - elif [[ $(ver_cut 3) -gt 90 ]] ; then
179 - SRC_URI="${SRC_URI_BASE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
180 - else
181 - SRC_URI="${SRC_URI_BASE}/releases/download/${PV/_}/${P/_}.tar.xz"
182 - fi
183 + S="${WORKDIR}/Clementine-${PV/_}"
184 + SRC_URI="https://github.com/clementine-player/Clementine/archive/refs/tags/${PV/_}.tar.gz -> ${P}.tar.gz"
185 KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
186 fi
187 -DESCRIPTION="Modern music player and library organizer based on Amarok 1.4 and Qt"
188 -HOMEPAGE="https://www.clementine-player.org https://github.com/clementine-player/Clementine"
189
190 LICENSE="GPL-3"
191 SLOT="0"
192 -IUSE="box cdda +dbus debug dropbox googledrive ipod lastfm mms moodbar mtp projectm pulseaudio seafile skydrive test +udisks wiimote"
193 +IUSE="alsa box cdda +dbus debug dropbox googledrive ipod lastfm mms moodbar mtp projectm pulseaudio seafile skydrive test +udisks wiimote"
194 RESTRICT="!test? ( test )"
195
196 REQUIRED_USE="
197 @@ -49,11 +40,9 @@ BDEPEND="
198 )
199 "
200 COMMON_DEPEND="
201 - app-crypt/qca:2[qt5(+)]
202 - dev-db/sqlite:=
203 + dev-db/sqlite:3
204 dev-libs/crypto++:=
205 dev-libs/glib:2
206 - dev-libs/libxml2
207 dev-libs/protobuf:=
208 dev-qt/qtconcurrent:5
209 dev-qt/qtcore:5
210 @@ -61,19 +50,20 @@ COMMON_DEPEND="
211 dev-qt/qtnetwork:5[ssl]
212 dev-qt/qtsql:5[sqlite]
213 dev-qt/qtwidgets:5
214 + dev-qt/qtx11extras:5
215 media-libs/chromaprint:=
216 media-libs/gstreamer:1.0
217 media-libs/gst-plugins-base:1.0
218 >=media-libs/libmygpo-qt-1.0.9[qt5(+)]
219 >=media-libs/taglib-1.11.1_p20181028
220 sys-libs/zlib
221 - virtual/glu
222 x11-libs/libX11
223 + alsa? ( media-libs/alsa-lib )
224 cdda? ( dev-libs/libcdio:= )
225 dbus? ( dev-qt/qtdbus:5 )
226 ipod? ( >=media-libs/libgpod-0.8.0 )
227 lastfm? ( >=media-libs/liblastfm-1.1.0_pre20150206 )
228 - moodbar? ( sci-libs/fftw:3.0 )
229 + moodbar? ( sci-libs/fftw:3.0= )
230 mtp? ( >=media-libs/libmtp-1.0.0 )
231 projectm? (
232 media-libs/glew:=
233 @@ -91,9 +81,10 @@ RDEPEND="${COMMON_DEPEND}
234 "
235 DEPEND="${COMMON_DEPEND}
236 dev-libs/boost
237 + dev-libs/libxml2
238 dev-qt/qtopengl:5
239 - dev-qt/qtx11extras:5
240 dev-qt/qtxml:5
241 + virtual/glu
242 box? ( dev-cpp/sparsehash )
243 dropbox? ( dev-cpp/sparsehash )
244 googledrive? ( dev-cpp/sparsehash )
245 @@ -131,7 +122,6 @@ src_configure() {
246 # avoid automagically enabling of ccache (bug #611010)
247 -DCCACHE_EXECUTABLE=OFF
248 -DENABLE_BREAKPAD=OFF #< disable crash reporting
249 - -DENABLE_DEVICEKIT=OFF
250 -DENABLE_GIO=ON
251 -DENABLE_SPOTIFY_BLOB=OFF
252 -DUSE_SYSTEM_GMOCK=ON
253 @@ -162,7 +152,7 @@ src_configure() {
254
255 src_test() {
256 cd "${CMAKE_BUILD_DIR}" || die
257 - virtx emake test
258 + virtx cmake_build clementine_test
259 }
260
261 pkg_postinst() {