Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/clementine/
Date: Wed, 01 Jan 2020 18:02:41
Message-Id: 1577901753.da1d9895ab435c9fe3741c6977b6c0b05c452d9f.polynomial-c@gentoo
1 commit: da1d9895ab435c9fe3741c6977b6c0b05c452d9f
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 1 18:02:15 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 1 18:02:33 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da1d9895
7
8 media-sound/clementine: Removed old
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 media-sound/clementine/Manifest | 1 -
14 .../clementine/clementine-1.3.1_p20190609.ebuild | 176 ---------------------
15 2 files changed, 177 deletions(-)
16
17 diff --git a/media-sound/clementine/Manifest b/media-sound/clementine/Manifest
18 index 9c86f3475fc..06b54e5329f 100644
19 --- a/media-sound/clementine/Manifest
20 +++ b/media-sound/clementine/Manifest
21 @@ -1,4 +1,3 @@
22 DIST clementine-1.3.1_p20190127.tar.gz 8516435 BLAKE2B ce884c25d76e26349cf11109f885361dd79c4d567b08927962a611a2bb17dbe6674ac176f6b09b3a8ebe14e82f30125a56ffd08ff6d2072a96ee7b9ba1f066db SHA512 b82d2dc49dbe41e68440fb421cda6989f670a2a43829bf42e21f3c07d6f6badcb217333559d6dd9c66accd88e2473e5c717969e987410bf4801669dccba7cd15
23 -DIST clementine-1.3.1_p20190609.tar.gz 8516585 BLAKE2B a02e473703da5cfa3a7fb702f3ff90f3aa0fd97faf8b10b2c080b4a9a052f514f67fe40dcd0fd435c1681bd8749b0f4d731b21e4b842979e9dbe516cf7a19e76 SHA512 d72d29a01920bfe74d1a51b419cdbb5bd096cfd816edec4e7325bf43cc5b75a893c273b131539ae362f2a804cbb4ca57002737e4833ef6e5c1adc1b7f142dd57
24 DIST clementine-1.3.1_p20191004.tar.gz 8528437 BLAKE2B 11c7bd7ac4ad4cdc75e2c5e54651832c1aa31448341230917df973227fcb1cd659309bb361f0b62a12dc38ce48e1f25697742df478650f4c10996938a7093acf SHA512 eb755d47f2e518c4e1bb28596e6554184d9fb6bab594e2f16b73c0bdecaa7c19692d368e9ec6a91e5012b786368eb7d3b2d051db11f3b5934233ba3e5b488679
25 DIST clementine-1.3.92.tar.gz 8570513 BLAKE2B 9cb4de03579e0555be255cae295cc973966587be59dc83d07cbe139c74a9ffe046adf4cec8de12888306fb168ab00a388ac8fa490928c4f76ad187b4c482a829 SHA512 ce6a30eb8fdcc2e105aedc976566d11f88ec537915210d3b7fe1471457371ab472e3707bd62fd8606756e6caf5b5844d4dbceb08fec8ab69750e9fa03dde0193
26
27 diff --git a/media-sound/clementine/clementine-1.3.1_p20190609.ebuild b/media-sound/clementine/clementine-1.3.1_p20190609.ebuild
28 deleted file mode 100644
29 index 3e212f78244..00000000000
30 --- a/media-sound/clementine/clementine-1.3.1_p20190609.ebuild
31 +++ /dev/null
32 @@ -1,176 +0,0 @@
33 -# Copyright 1999-2019 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -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"
39 -
40 -MY_P="${P/_}"
41 -if [[ ${PV} == *9999* ]]; then
42 - EGIT_BRANCH="qt5"
43 - EGIT_REPO_URI="https://github.com/clementine-player/Clementine.git"
44 - inherit git-r3
45 -else
46 - COMMIT=9af827b6acaabb2331246f58436cd34b11548b6c
47 - SRC_URI="https://github.com/${PN}-player/${PN^}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
48 - KEYWORDS="~amd64 ~x86"
49 - S="${WORKDIR}/${PN^}-${COMMIT}"
50 -fi
51 -inherit cmake flag-o-matic l10n virtualx xdg
52 -
53 -DESCRIPTION="Modern music player and library organizer based on Amarok 1.4 and Qt"
54 -HOMEPAGE="https://www.clementine-player.org https://github.com/clementine-player/Clementine"
55 -
56 -LICENSE="GPL-3"
57 -SLOT="0"
58 -IUSE="box cdda +dbus debug dropbox googledrive ipod lastfm mms moodbar mtp projectm pulseaudio seafile skydrive test +udisks wiimote"
59 -
60 -REQUIRED_USE="
61 - udisks? ( dbus )
62 - wiimote? ( dbus )
63 -"
64 -
65 -BDEPEND="
66 - >=dev-cpp/gtest-1.8.0
67 - dev-qt/linguist-tools:5
68 - sys-devel/gettext
69 - virtual/pkgconfig
70 - test? (
71 - dev-qt/qttest:5
72 - gnome-base/gsettings-desktop-schemas
73 - )
74 -"
75 -COMMON_DEPEND="
76 - app-crypt/qca:2[qt5(+)]
77 - dev-db/sqlite:=
78 - dev-libs/crypto++:=[asm]
79 - dev-libs/glib:2
80 - dev-libs/libxml2
81 - dev-libs/protobuf:=
82 - dev-qt/qtconcurrent:5
83 - dev-qt/qtcore:5
84 - dev-qt/qtgui:5
85 - dev-qt/qtnetwork:5[ssl]
86 - dev-qt/qtsql:5[sqlite]
87 - dev-qt/qtwidgets:5
88 - media-libs/chromaprint:=
89 - media-libs/gstreamer:1.0
90 - media-libs/gst-plugins-base:1.0
91 - >=media-libs/libmygpo-qt-1.0.9[qt5(+)]
92 - >=media-libs/taglib-1.11.1_p20181028
93 - sys-libs/zlib
94 - virtual/glu
95 - x11-libs/libX11
96 - cdda? ( dev-libs/libcdio:= )
97 - dbus? ( dev-qt/qtdbus:5 )
98 - ipod? ( >=media-libs/libgpod-0.8.0 )
99 - lastfm? ( >=media-libs/liblastfm-1.1.0_pre20150206 )
100 - moodbar? ( sci-libs/fftw:3.0 )
101 - mtp? ( >=media-libs/libmtp-1.0.0 )
102 - projectm? (
103 - media-libs/glew:=
104 - >=media-libs/libprojectm-1.2.0:=
105 - virtual/opengl
106 - )
107 -"
108 -# Note: sqlite driver of dev-qt/qtsql is bundled, so no sqlite use is required; check if this can be overcome someway;
109 -# Libprojectm-1.2 seems to work fine, so no reason to use bundled version; check clementine's patches:
110 -# https://github.com/clementine-player/Clementine/tree/master/3rdparty/libprojectm/patches
111 -# Still possibly essential but not applied yet patches are:
112 -# 06-fix-numeric-locale.patch
113 -# 08-stdlib.h-for-rand.patch
114 -RDEPEND="${COMMON_DEPEND}
115 - media-plugins/gst-plugins-meta:1.0
116 - media-plugins/gst-plugins-soup:1.0
117 - media-plugins/gst-plugins-taglib:1.0
118 - mms? ( media-plugins/gst-plugins-libmms:1.0 )
119 - mtp? ( gnome-base/gvfs[mtp] )
120 - udisks? ( sys-fs/udisks:2 )
121 -"
122 -DEPEND="${COMMON_DEPEND}
123 - dev-libs/boost
124 - dev-qt/qtopengl:5
125 - dev-qt/qtx11extras:5
126 - dev-qt/qtxml:5
127 - box? ( dev-cpp/sparsehash )
128 - dropbox? ( dev-cpp/sparsehash )
129 - googledrive? ( dev-cpp/sparsehash )
130 - pulseaudio? ( media-sound/pulseaudio )
131 - seafile? ( dev-cpp/sparsehash )
132 - skydrive? ( dev-cpp/sparsehash )
133 -"
134 -
135 -RESTRICT="test"
136 -
137 -DOCS=( Changelog README.md )
138 -
139 -PATCHES=( "${FILESDIR}/${P}-fix-restore-from-systray.patch" )
140 -
141 -src_prepare() {
142 - l10n_find_plocales_changes "src/translations" "" ".po"
143 -
144 - cmake_src_prepare
145 - # some tests fail or hang
146 - sed -i \
147 - -e '/add_test_file(translations_test.cpp/d' \
148 - tests/CMakeLists.txt || die
149 -
150 - if ! use test; then
151 - sed -e "/find_package.*Qt5/s:\ Test::" -i CMakeLists.txt || die
152 - cmake_comment_add_subdirectory tests
153 - fi
154 -
155 - rm -r 3rdparty/{libmygpo-qt,libmygpo-qt5,taglib} || die
156 -}
157 -
158 -src_configure() {
159 - # spotify is not in portage
160 - local mycmakeargs=(
161 - -DBUILD_WERROR=OFF
162 - # force to find crypto++ see bug #548544
163 - -DCRYPTOPP_LIBRARIES="cryptopp"
164 - -DCRYPTOPP_FOUND=ON
165 - # avoid automagically enabling of ccache (bug #611010)
166 - -DCCACHE_EXECUTABLE=OFF
167 - -DENABLE_BREAKPAD=OFF #< disable crash reporting
168 - -DENABLE_DEVICEKIT=OFF
169 - -DENABLE_GIO=ON
170 - -DENABLE_SPOTIFY_BLOB=OFF
171 - -DUSE_SYSTEM_GMOCK=ON
172 - -DUSE_SYSTEM_PROJECTM=ON
173 - -DBUNDLE_PROJECTM_PRESETS=OFF
174 - -DLINGUAS="$(l10n_get_locales)"
175 - -DENABLE_BOX="$(usex box)"
176 - -DENABLE_AUDIOCD="$(usex cdda)"
177 - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5DBus=$(usex !dbus)
178 - -DENABLE_DROPBOX="$(usex dropbox)"
179 - -DENABLE_GOOGLE_DRIVE="$(usex googledrive)"
180 - -DENABLE_LIBGPOD="$(usex ipod)"
181 - -DENABLE_LIBLASTFM="$(usex lastfm)"
182 - -DENABLE_MOODBAR="$(usex moodbar)"
183 - -DENABLE_LIBMTP="$(usex mtp)"
184 - -DENABLE_VISUALISATIONS="$(usex projectm)"
185 - -DENABLE_SEAFILE="$(usex seafile)"
186 - -DENABLE_SKYDRIVE="$(usex skydrive)"
187 - -DENABLE_LIBPULSE="$(usex pulseaudio)"
188 - -DENABLE_UDISKS2="$(usex udisks)"
189 - -DENABLE_WIIMOTEDEV="$(usex wiimote)"
190 - )
191 -
192 - use !debug && append-cppflags -DQT_NO_DEBUG_OUTPUT
193 -
194 - cmake_src_configure
195 -}
196 -
197 -src_test() {
198 - cd "${CMAKE_BUILD_DIR}" || die
199 - virtx emake test
200 -}
201 -
202 -pkg_postinst() {
203 - xdg_pkg_postinst
204 -
205 - elog "Note that list of supported formats is controlled by media-plugins/gst-plugins-meta "
206 - elog "USE flags. You may be interested in setting aac, flac, mp3, ogg or wavpack USE flags "
207 - elog "depending on your preferences"
208 -}