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