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.12.01.ebuild |
Date: | Sun, 02 Dec 2012 11:38:42 |
Message-Id: | 20121202113832.0973C2171D@flycatcher.gentoo.org |
1 | radhermit 12/12/02 11:38:31 |
2 | |
3 | Modified: ChangeLog |
4 | Added: pianobar-2012.12.01.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2.0_alpha143/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3) |
9 | |
10 | Revision Changes Path |
11 | 1.25 media-sound/pianobar/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/pianobar/ChangeLog?rev=1.25&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/pianobar/ChangeLog?rev=1.25&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/pianobar/ChangeLog?r1=1.24&r2=1.25 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/media-sound/pianobar/ChangeLog,v |
20 | retrieving revision 1.24 |
21 | retrieving revision 1.25 |
22 | diff -u -r1.24 -r1.25 |
23 | --- ChangeLog 13 Nov 2012 05:20:41 -0000 1.24 |
24 | +++ ChangeLog 2 Dec 2012 11:38:31 -0000 1.25 |
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.24 2012/11/13 05:20:41 radhermit Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/media-sound/pianobar/ChangeLog,v 1.25 2012/12/02 11:38:31 radhermit Exp $ |
30 | + |
31 | +*pianobar-2012.12.01 (02 Dec 2012) |
32 | + |
33 | + 02 Dec 2012; Tim Harder <radhermit@g.o> +pianobar-2012.12.01.ebuild: |
34 | + Version bump. |
35 | |
36 | 13 Nov 2012; Tim Harder <radhermit@g.o> -pianobar-2012.06.24.ebuild: |
37 | Remove old. |
38 | |
39 | |
40 | |
41 | 1.1 media-sound/pianobar/pianobar-2012.12.01.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/pianobar/pianobar-2012.12.01.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/pianobar/pianobar-2012.12.01.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: pianobar-2012.12.01.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.12.01.ebuild,v 1.1 2012/12/02 11:38:31 radhermit Exp $ |
51 | |
52 | EAPI="5" |
53 | |
54 | inherit toolchain-funcs flag-o-matic eutils multilib |
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="MIT" |
61 | SLOT="0" |
62 | KEYWORDS="~amd64 ~x86" |
63 | IUSE="+aac mp3 static-libs" |
64 | |
65 | RDEPEND="media-libs/libao |
66 | net-libs/gnutls |
67 | dev-libs/libgcrypt |
68 | dev-libs/json-c |
69 | aac? ( media-libs/faad2 ) |
70 | mp3? ( media-libs/libmad )" |
71 | DEPEND="${RDEPEND} |
72 | virtual/pkgconfig" |
73 | |
74 | REQUIRED_USE="|| ( aac mp3 )" |
75 | |
76 | src_prepare() { |
77 | epatch "${FILESDIR}"/${PN}-2011.12.11-tests.patch |
78 | } |
79 | |
80 | src_compile() { |
81 | local myconf="DYNLINK=1" |
82 | ! use aac && myconf+=" DISABLE_FAAD=1" |
83 | ! use mp3 && myconf+=" DISABLE_MAD=1" |
84 | |
85 | append-cflags -std=c99 |
86 | tc-export CC |
87 | emake ${myconf} |
88 | } |
89 | |
90 | src_test() { |
91 | cp src/libwaitress/waitress.c src/libwaitress/waitress-test.c |
92 | emake test |
93 | } |
94 | |
95 | src_install() { |
96 | emake DESTDIR="${D}" PREFIX=/usr LIBDIR=/usr/$(get_libdir) DYNLINK=1 install |
97 | dodoc ChangeLog README |
98 | |
99 | use static-libs || rm -f "${D}"/usr/lib*/*.a |
100 | |
101 | docinto contrib |
102 | dodoc -r contrib/{config-example,*.sh,eventcmd-examples} |
103 | docompress -x /usr/share/doc/${PF}/contrib |
104 | } |