Gentoo Archives: gentoo-commits

From: "Christian Faulhammer (fauli)" <fauli@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/cmus: ChangeLog cmus-2.3.4.ebuild
Date: Sun, 27 Feb 2011 15:21:02
Message-Id: 20110227152037.E343720054@flycatcher.gentoo.org
1 fauli 11/02/27 15:20:37
2
3 Modified: ChangeLog
4 Added: cmus-2.3.4.ebuild
5 Log:
6 version bump, fixes bug 356667 by radhermit
7
8 (Portage version: 2.1.9.40/cvs/Linux i686)
9
10 Revision Changes Path
11 1.40 media-sound/cmus/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/cmus/ChangeLog?rev=1.40&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/cmus/ChangeLog?rev=1.40&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/cmus/ChangeLog?r1=1.39&r2=1.40
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-sound/cmus/ChangeLog,v
20 retrieving revision 1.39
21 retrieving revision 1.40
22 diff -u -r1.39 -r1.40
23 --- ChangeLog 12 Oct 2010 10:33:08 -0000 1.39
24 +++ ChangeLog 27 Feb 2011 15:20:37 -0000 1.40
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-sound/cmus
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-sound/cmus/ChangeLog,v 1.39 2010/10/12 10:33:08 fauli Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/media-sound/cmus/ChangeLog,v 1.40 2011/02/27 15:20:37 fauli Exp $
31 +
32 +*cmus-2.3.4 (27 Feb 2011)
33 +
34 + 27 Feb 2011; Christian Faulhammer <fauli@g.o> +cmus-2.3.4.ebuild:
35 + version bump, fixes bug 356667 by radhermit
36
37 12 Oct 2010; Christian Faulhammer <fauli@g.o> metadata.xml:
38 remove zsh-completion USE flag description as it is the same as the global
39
40
41
42 1.1 media-sound/cmus/cmus-2.3.4.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/cmus/cmus-2.3.4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/cmus/cmus-2.3.4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: cmus-2.3.4.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-sound/cmus/cmus-2.3.4.ebuild,v 1.1 2011/02/27 15:20:37 fauli Exp $
52
53 EAPI=2
54 inherit multilib
55
56 MY_P=${PN}-v${PV}
57
58 DESCRIPTION="A ncurses based music player with plugin support for many formats"
59 HOMEPAGE="http://cmus.sourceforge.net/"
60 SRC_URI="mirror://sourceforge/cmus/${MY_P}.tar.bz2"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
65 IUSE="aac alsa ao debug examples flac mad mikmod modplug mp4 musepack oss
66 pidgin pulseaudio unicode vorbis wavpack wma zsh-completion"
67
68 DEPEND="sys-libs/ncurses[unicode?]
69 aac? ( media-libs/faad2 )
70 alsa? ( >=media-libs/alsa-lib-1.0.11 )
71 ao? ( media-libs/libao )
72 flac? ( media-libs/flac )
73 mad? ( >=media-libs/libmad-0.14 )
74 mikmod? ( media-libs/libmikmod )
75 modplug? ( >=media-libs/libmodplug-0.7 )
76 mp4? ( >=media-libs/libmp4v2-1.9 )
77 musepack? ( >=media-sound/musepack-tools-444 )
78 pulseaudio? ( media-sound/pulseaudio )
79 vorbis? ( >=media-libs/libvorbis-1.0 )
80 wavpack? ( media-sound/wavpack )
81 wma? ( >=media-video/ffmpeg-0.4.9_p20080326 )"
82 RDEPEND="${DEPEND}
83 zsh-completion? ( app-shells/zsh )
84 pidgin? ( net-im/pidgin
85 dev-python/dbus-python )"
86
87 S=${WORKDIR}/${MY_P}
88
89 my_config() {
90 local value
91 use ${1} && value=y || value=n
92 myconf="${myconf} ${2}=${value}"
93 }
94
95 src_configure() {
96 local debuglevel=1 myconf="CONFIG_ARTS=n CONFIG_SUN=n"
97
98 use debug && debuglevel=2
99
100 my_config flac CONFIG_FLAC
101 my_config mad CONFIG_MAD
102 my_config modplug CONFIG_MODPLUG
103 my_config mikmod CONFIG_MIKMOD
104 my_config musepack CONFIG_MPC
105 my_config vorbis CONFIG_VORBIS
106 my_config wavpack CONFIG_WAVPACK
107 my_config mp4 CONFIG_MP4
108 my_config aac CONFIG_AAC
109 my_config wma CONFIG_FFMPEG
110 my_config pulseaudio CONFIG_PULSE
111 my_config alsa CONFIG_ALSA
112 my_config ao CONFIG_AO
113 my_config oss CONFIG_OSS
114
115 ./configure prefix=/usr ${myconf} exampledir=/usr/share/doc/${PF}/examples \
116 libdir=/usr/$(get_libdir) DEBUG=${debuglevel} || die
117 }
118
119 src_install() {
120 emake DESTDIR="${D}" install || die
121 dodoc AUTHORS README TODO
122
123 use examples || rm -rf "${D}"/usr/share/doc/${PF}/examples
124
125 if use zsh-completion; then
126 insinto /usr/share/zsh/site-functions
127 doins contrib/_cmus || die
128 fi
129
130 if use pidgin; then
131 newbin contrib/cmus-updatepidgin.py cmus-updatepidgin || die
132 fi
133 }