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/cmus/
Date: Sat, 22 Jun 2019 16:08:33
Message-Id: 1561219618.010e5650f739e8254914bd8d2b4b8e6d16746065.asturm@gentoo
1 commit: 010e5650f739e8254914bd8d2b4b8e6d16746065
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 22 16:04:55 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 22 16:06:58 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=010e5650
7
8 media-sound/cmus: Drop 2.8.0_rc0
9
10 Package-Manager: Portage-2.3.67, Repoman-2.3.15
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 media-sound/cmus/Manifest | 1 -
14 media-sound/cmus/cmus-2.8.0_rc0.ebuild | 110 ---------------------------------
15 2 files changed, 111 deletions(-)
16
17 diff --git a/media-sound/cmus/Manifest b/media-sound/cmus/Manifest
18 index c42c882cfae..fc1c5f74b18 100644
19 --- a/media-sound/cmus/Manifest
20 +++ b/media-sound/cmus/Manifest
21 @@ -1,2 +1 @@
22 DIST cmus-2.8.0.tar.gz 317243 BLAKE2B b24c3dd74797ef26b42c2c303191dd751af7bb3b5c4c6f05bfef393eda9a35371eba4658321d473f9af210321132cfba5eab4037d257dd71c38ea3e24f78067f SHA512 cf359dfcefa833a5b10a2d16ac405672bea762b62b7177c115560127035682fba65c15b9a8710179a343d1f99212a0260b5c095542982202e2cd1bef5b0c17fc
23 -DIST cmus-2.8.0_rc0.tar.gz 315613 BLAKE2B b5f44b724176ecca61376866da20614ba34e741b8295b8d21ba0eb13226024812dd6dfafe98f08ed367fd9454e787da5ba623b238b5944f5ae69fe58b02a224c SHA512 0379f18497d6510fad35a2d905c932d12f2726a5694d3ab272ce139e9ea4520cb4dd1cf3fafe890f6ada8a64285f8c04ef7571647a66c2d44df17e2dca80f869
24
25 diff --git a/media-sound/cmus/cmus-2.8.0_rc0.ebuild b/media-sound/cmus/cmus-2.8.0_rc0.ebuild
26 deleted file mode 100644
27 index f1776a8b955..00000000000
28 --- a/media-sound/cmus/cmus-2.8.0_rc0.ebuild
29 +++ /dev/null
30 @@ -1,110 +0,0 @@
31 -# Copyright 1999-2017 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=5
35 -inherit bash-completion-r1 multilib
36 -
37 -DESCRIPTION="A ncurses based music player with plugin support for many formats"
38 -HOMEPAGE="https://cmus.github.io/"
39 -SRC_URI="https://github.com/cmus/cmus/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz"
40 -
41 -LICENSE="GPL-2"
42 -SLOT="0"
43 -KEYWORDS="amd64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
44 -IUSE="aac alsa ao cue cdio cddb discid debug examples ffmpeg +flac jack libsamplerate
45 - +mad mikmod modplug mp4 musepack opus oss pidgin pulseaudio tremor +unicode
46 - +vorbis wavpack"
47 -
48 -S="${WORKDIR}/${P/_/-}"
49 -
50 -CDEPEND="sys-libs/ncurses:0=[unicode?]
51 - aac? ( media-libs/faad2 )
52 - alsa? ( >=media-libs/alsa-lib-1.0.11 )
53 - ao? ( media-libs/libao )
54 - cue? ( media-libs/libcue )
55 - cdio? ( dev-libs/libcdio-paranoia )
56 - cddb? ( media-libs/libcddb )
57 - discid? ( media-libs/libdiscid )
58 - ffmpeg? ( media-video/ffmpeg:= )
59 - flac? ( media-libs/flac )
60 - jack? ( media-sound/jack-audio-connection-kit )
61 - libsamplerate? ( media-libs/libsamplerate )
62 - mad? ( >=media-libs/libmad-0.14 )
63 - mikmod? ( media-libs/libmikmod:0 )
64 - modplug? ( >=media-libs/libmodplug-0.7 )
65 - mp4? ( >=media-libs/libmp4v2-1.9:0 )
66 - musepack? ( >=media-sound/musepack-tools-444 )
67 - opus? ( media-libs/opusfile )
68 - pulseaudio? ( media-sound/pulseaudio )
69 - tremor? ( media-libs/tremor )
70 - !tremor? ( vorbis? ( >=media-libs/libvorbis-1.0 ) )
71 - wavpack? ( media-sound/wavpack )"
72 -DEPEND="${CDEPEND}
73 - virtual/pkgconfig"
74 -RDEPEND="${CDEPEND}
75 - pidgin? ( net-im/pidgin dev-python/dbus-python )"
76 -
77 -# Both CONFIG_TREMOR=y and CONFIG_VORBIS=y are required to link to tremor libs instead of vorbis libs
78 -REQUIRED_USE="tremor? ( vorbis )
79 - mp4? ( aac )" # enabling mp4 adds -lfaad
80 -
81 -DOCS="AUTHORS README.md"
82 -
83 -my_config() {
84 - local value
85 - use ${1} && value=a || value=n
86 - myconf="${myconf} ${2}=${value}"
87 -}
88 -
89 -src_configure() {
90 - local debuglevel=1 myconf="CONFIG_ARTS=n CONFIG_SUN=n CONFIG_SNDIO=n CONFIG_WAVEOUT=n CONFIG_VTX=n CONFIG_ROAR=n"
91 -
92 - use debug && debuglevel=2
93 -
94 - my_config cddb CONFIG_CDDB
95 - my_config cdio CONFIG_CDIO
96 - my_config discid CONFIG_DISCID
97 - my_config flac CONFIG_FLAC
98 - my_config mad CONFIG_MAD
99 - my_config modplug CONFIG_MODPLUG
100 - my_config mikmod CONFIG_MIKMOD
101 - my_config musepack CONFIG_MPC
102 - my_config vorbis CONFIG_VORBIS
103 - my_config tremor CONFIG_TREMOR
104 - my_config opus CONFIG_OPUS
105 - my_config wavpack CONFIG_WAVPACK
106 - my_config mp4 CONFIG_MP4
107 - my_config aac CONFIG_AAC
108 - my_config ffmpeg CONFIG_FFMPEG
109 - my_config cue CONFIG_CUE
110 - my_config pulseaudio CONFIG_PULSE
111 - my_config alsa CONFIG_ALSA
112 - my_config jack CONFIG_JACK
113 - my_config libsamplerate CONFIG_SAMPLERATE
114 - my_config ao CONFIG_AO
115 - my_config oss CONFIG_OSS
116 -
117 - ./configure prefix="${EPREFIX}"/usr ${myconf} \
118 - exampledir="${EPREFIX}"/usr/share/doc/${PF}/examples \
119 - libdir="${EPREFIX}"/usr/$(get_libdir) DEBUG=${debuglevel} || die
120 -}
121 -
122 -src_install() {
123 - default
124 -
125 - use examples || rm -rf "${ED}"/usr/share/doc/${PF}/examples
126 -
127 - insinto /usr/share/zsh/site-functions
128 - doins contrib/_cmus
129 -
130 - newbashcomp contrib/${PN}.bash-completion ${PN}
131 -
132 - if use pidgin; then
133 - newbin contrib/cmus-updatepidgin.py cmus-updatepidgin
134 - fi
135 -}
136 -
137 -pkg_postinst() {
138 - einfo "USE flag 'wma' was replaced by 'ffmpeg'"
139 - einfo "Details here - https://bugs.gentoo.org/show_bug.cgi?id=553834"
140 -}