From: | "Tim Harder (radhermit)" <radhermit@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-sound/pianobar: ChangeLog pianobar-2012.04.24.ebuild |
Date: | Fri, 27 Apr 2012 11:13:20 |
Message-Id: | 20120427111306.E59D22004B@flycatcher.gentoo.org |
1 | radhermit 12/04/27 11:13:06 |
2 | |
3 | Modified: ChangeLog |
4 | Added: pianobar-2012.04.24.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2.0_alpha101/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.16 media-sound/pianobar/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/pianobar/ChangeLog?rev=1.16&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/pianobar/ChangeLog?rev=1.16&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/pianobar/ChangeLog?r1=1.15&r2=1.16 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/media-sound/pianobar/ChangeLog,v |
20 | retrieving revision 1.15 |
21 | retrieving revision 1.16 |
22 | diff -u -r1.15 -r1.16 |
23 | --- ChangeLog 13 Jan 2012 07:04:25 -0000 1.15 |
24 | +++ ChangeLog 27 Apr 2012 11:13:06 -0000 1.16 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for media-sound/pianobar |
27 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/media-sound/pianobar/ChangeLog,v 1.15 2012/01/13 07:04:25 radhermit Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/media-sound/pianobar/ChangeLog,v 1.16 2012/04/27 11:13:06 radhermit Exp $ |
30 | + |
31 | +*pianobar-2012.04.24 (27 Apr 2012) |
32 | + |
33 | + 27 Apr 2012; Tim Harder <radhermit@g.o> +pianobar-2012.04.24.ebuild: |
34 | + Version bump. |
35 | |
36 | *pianobar-9999 (13 Jan 2012) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 media-sound/pianobar/pianobar-2012.04.24.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/pianobar/pianobar-2012.04.24.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/pianobar/pianobar-2012.04.24.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: pianobar-2012.04.24.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2012 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/media-sound/pianobar/pianobar-2012.04.24.ebuild,v 1.1 2012/04/27 11:13:06 radhermit Exp $ |
51 | |
52 | EAPI="4" |
53 | |
54 | inherit toolchain-funcs flag-o-matic eutils |
55 | |
56 | DESCRIPTION="A console-based replacement for Pandora's flash player" |
57 | HOMEPAGE="http://6xq.net/projects/pianobar/" |
58 | SRC_URI="http://6xq.net/static/projects/${PN}/${P}.tar.bz2" |
59 | |
60 | LICENSE="as-is" |
61 | SLOT="0" |
62 | KEYWORDS="~amd64 ~x86" |
63 | IUSE="aac +mp3" |
64 | |
65 | DEPEND="media-libs/libao |
66 | net-libs/gnutls |
67 | aac? ( media-libs/faad2 ) |
68 | mp3? ( media-libs/libmad )" |
69 | RDEPEND="${DEPEND}" |
70 | |
71 | REQUIRED_USE="|| ( mp3 aac )" |
72 | |
73 | src_prepare() { |
74 | epatch "${FILESDIR}"/${PN}-2011.12.11-tests.patch |
75 | } |
76 | |
77 | src_compile() { |
78 | local myconf |
79 | ! use aac && myconf+=" DISABLE_FAAD=1" |
80 | ! use mp3 && myconf+=" DISABLE_MAD=1" |
81 | |
82 | append-cflags -std=c99 |
83 | tc-export CC |
84 | emake ${myconf} |
85 | } |
86 | |
87 | src_test() { |
88 | cp src/libwaitress/waitress.c src/libwaitress/waitress-test.c |
89 | emake test |
90 | } |
91 | |
92 | src_install() { |
93 | emake DESTDIR="${D}" PREFIX=/usr install |
94 | dodoc ChangeLog README |
95 | |
96 | docinto contrib |
97 | dodoc -r contrib/{config-example,*.sh,eventcmd-examples} |
98 | docompress -x /usr/share/doc/${PF}/contrib |
99 | } |