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/cantata/
Date: Mon, 02 Nov 2020 14:14:31
Message-Id: 1604326437.a3118c3f2709b05221293310649ec60160ab95c0.asturm@gentoo
1 commit: a3118c3f2709b05221293310649ec60160ab95c0
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 2 14:03:39 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 2 14:13:57 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3118c3f
7
8 media-sound/cantata: Drop 2.4.1
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.2
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 media-sound/cantata/Manifest | 1 -
14 media-sound/cantata/cantata-2.4.1.ebuild | 118 -------------------------------
15 2 files changed, 119 deletions(-)
16
17 diff --git a/media-sound/cantata/Manifest b/media-sound/cantata/Manifest
18 index f01db8070d3..d00b45ad1fc 100644
19 --- a/media-sound/cantata/Manifest
20 +++ b/media-sound/cantata/Manifest
21 @@ -1,2 +1 @@
22 -DIST cantata-2.4.1.tar.bz2 2550982 BLAKE2B 1d965ce4a5a73d4695b51def9753c95376b71367f2e6abf69681aad84e387d86d87abcf623f613a517e5e08a633e4e9bf2bae2d28858535fac2f05ade73a6c01 SHA512 9bb9953f41ad562e186c201505db6ea42dccdcb0b60e0c6eda0c5521428ecafdba95b51e8827de3498b2b25284d36f800bfa96a49839d2a69e0f92705f44a439
23 DIST cantata-2.4.2.tar.bz2 2498460 BLAKE2B 82486a644fa90567f2c1c997645817d9adee841b79fb782c4984143a0ef25758e8b6605de86eed1c09b2b63b9d570adc0c647245c5e0e900652c0444671c67a7 SHA512 c2459a53d86e12df7e6a8f7c19880f1c353c13893401a0906ec730c34ccbf1ef070c226b55c4e772e9a54a94e7cf3a2f96b0e9223ff20057045c888c4f91d87b
24
25 diff --git a/media-sound/cantata/cantata-2.4.1.ebuild b/media-sound/cantata/cantata-2.4.1.ebuild
26 deleted file mode 100644
27 index 22ab01578b8..00000000000
28 --- a/media-sound/cantata/cantata-2.4.1.ebuild
29 +++ /dev/null
30 @@ -1,118 +0,0 @@
31 -# Copyright 1999-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -PLOCALES="cs da de en_GB es fi fr hu it ja ko nl pl pt_BR ru zh_CN"
37 -inherit cmake l10n qmake-utils xdg
38 -
39 -DESCRIPTION="Featureful and configurable Qt client for the music player daemon (MPD)"
40 -HOMEPAGE="https://github.com/CDrummond/cantata"
41 -SRC_URI="https://github.com/CDrummond/${PN}/releases/download/v${PV}/${P}.tar.bz2"
42 -
43 -LICENSE="GPL-2"
44 -SLOT="0"
45 -KEYWORDS="amd64 ~ppc64 x86"
46 -IUSE="cdda cddb cdio http-server mtp musicbrainz replaygain streaming taglib udisks zeroconf"
47 -REQUIRED_USE="
48 - ?? ( cdda cdio )
49 - cdda? ( udisks || ( cddb musicbrainz ) )
50 - cddb? ( || ( cdio cdda ) taglib )
51 - cdio? ( udisks || ( cddb musicbrainz ) )
52 - mtp? ( taglib udisks )
53 - musicbrainz? ( || ( cdio cdda ) taglib )
54 - replaygain? ( taglib )
55 -"
56 -
57 -BDEPEND="
58 - dev-qt/linguist-tools:5
59 -"
60 -COMMON_DEPEND="
61 - dev-qt/qtcore:5
62 - dev-qt/qtdbus:5
63 - dev-qt/qtgui:5
64 - dev-qt/qtnetwork:5
65 - dev-qt/qtsql:5[sqlite]
66 - dev-qt/qtsvg:5
67 - dev-qt/qtwidgets:5
68 - dev-qt/qtxml:5
69 - sys-libs/zlib
70 - virtual/libudev:=
71 - cdda? ( media-sound/cdparanoia )
72 - cddb? ( media-libs/libcddb )
73 - cdio? ( dev-libs/libcdio-paranoia )
74 - mtp? ( media-libs/libmtp )
75 - musicbrainz? ( media-libs/musicbrainz:5= )
76 - replaygain? (
77 - media-libs/libebur128
78 - media-sound/mpg123
79 - media-video/ffmpeg:0=
80 - )
81 - streaming? ( dev-qt/qtmultimedia:5 )
82 - taglib? (
83 - media-libs/taglib[asf(+),mp4(+)]
84 - udisks? ( sys-fs/udisks:2 )
85 - )
86 - zeroconf? ( net-dns/avahi )
87 -"
88 -RDEPEND="${COMMON_DEPEND}
89 - dev-lang/perl[ithreads]
90 - || ( kde-frameworks/breeze-icons:5 kde-frameworks/oxygen-icons:* )
91 -"
92 -DEPEND="${COMMON_DEPEND}
93 - dev-qt/qtconcurrent:5
94 -"
95 -
96 -# cantata has no tests
97 -RESTRICT="test"
98 -
99 -PATCHES=( "${FILESDIR}/${PN}-2.2.0-headers.patch" )
100 -
101 -src_prepare() {
102 - remove_locale() {
103 - rm "translations/${PN}_${1}".ts || die
104 - }
105 -
106 - cmake_src_prepare
107 -
108 - # Unbundle 3rd party libs
109 - rm -r 3rdparty/{ebur128,qtsingleapplication} || die
110 -
111 - l10n_find_plocales_changes "translations" "${PN}_" ".ts"
112 - l10n_for_each_disabled_locale_do remove_locale
113 -}
114 -
115 -src_configure() {
116 - local mycmakeargs=(
117 - -DCANTATA_HELPERS_LIB_DIR="$(get_libdir)"
118 - -DENABLE_CDPARANOIA=$(usex cdda)
119 - -DENABLE_CDDB=$(usex cddb)
120 - -DENABLE_CDIOPARANOIA=$(usex cdio)
121 - -DENABLE_HTTP_SERVER=$(usex http-server)
122 - -DENABLE_MTP=$(usex mtp)
123 - -DENABLE_MUSICBRAINZ=$(usex musicbrainz)
124 - -DLRELEASE_EXECUTABLE="$(qt5_get_bindir)/lrelease"
125 - -DENABLE_FFMPEG=$(usex replaygain)
126 - -DENABLE_MPG123=$(usex replaygain)
127 - -DENABLE_HTTP_STREAM_PLAYBACK=$(usex streaming)
128 - -DENABLE_TAGLIB=$(usex taglib)
129 - -DENABLE_DEVICES_SUPPORT=$(usex udisks)
130 - -DENABLE_AVAHI=$(usex zeroconf)
131 - -DENABLE_REMOTE_DEVICES=OFF
132 - -DENABLE_UDISKS2=ON
133 - )
134 -
135 - cmake_src_configure
136 -}
137 -
138 -pkg_postinst() {
139 - xdg_pkg_postinst
140 -
141 - has_version media-sound/mpd || \
142 - elog "An instance of media-sound/mpd, local or remote, is required to set up Cantata."
143 -
144 - if ! has_version app-misc/media-player-info; then
145 - elog "Install app-misc/media-player-info to enable identification"
146 - elog "and querying of portable media players"
147 - fi
148 -}