From: | "Tim Harder (radhermit)" <radhermit@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-sound/pianobar: metadata.xml pianobar-2011.04.27.ebuild ChangeLog |
Date: | Fri, 06 May 2011 08:19:44 |
Message-Id: | 20110506081933.DF32820054@flycatcher.gentoo.org |
1 | radhermit 11/05/06 08:19:33 |
2 | |
3 | Added: metadata.xml pianobar-2011.04.27.ebuild ChangeLog |
4 | Log: |
5 | Initial import. |
6 | |
7 | (Portage version: 2.2.0_alpha30/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 media-sound/pianobar/metadata.xml |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/pianobar/metadata.xml?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/pianobar/metadata.xml?rev=1.1&content-type=text/plain |
14 | |
15 | Index: metadata.xml |
16 | =================================================================== |
17 | <?xml version="1.0" encoding="UTF-8"?> |
18 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 | <pkgmetadata> |
20 | <herd>sound</herd> |
21 | <maintainer> |
22 | <email>radhermit@g.o</email> |
23 | <name>Tim Harder</name> |
24 | </maintainer> |
25 | </pkgmetadata> |
26 | |
27 | |
28 | |
29 | 1.1 media-sound/pianobar/pianobar-2011.04.27.ebuild |
30 | |
31 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/pianobar/pianobar-2011.04.27.ebuild?rev=1.1&view=markup |
32 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/pianobar/pianobar-2011.04.27.ebuild?rev=1.1&content-type=text/plain |
33 | |
34 | Index: pianobar-2011.04.27.ebuild |
35 | =================================================================== |
36 | # Copyright 1999-2011 Gentoo Foundation |
37 | # Distributed under the terms of the GNU General Public License v2 |
38 | # $Header: /var/cvsroot/gentoo-x86/media-sound/pianobar/pianobar-2011.04.27.ebuild,v 1.1 2011/05/06 08:19:33 radhermit Exp $ |
39 | |
40 | EAPI=4 |
41 | |
42 | inherit toolchain-funcs flag-o-matic eutils |
43 | |
44 | DESCRIPTION="A console-based replacement for Pandora's flash player" |
45 | HOMEPAGE="http://6xq.net/html/00/17.html" |
46 | SRC_URI="http://6xq.net/media/00/16/${P}.tar.bz2" |
47 | |
48 | LICENSE="as-is" |
49 | SLOT="0" |
50 | KEYWORDS="~amd64 ~x86" |
51 | IUSE="aac +mp3" |
52 | |
53 | DEPEND="media-libs/libao |
54 | aac? ( media-libs/faad2 ) |
55 | mp3? ( media-libs/libmad )" |
56 | RDEPEND="${DEPEND}" |
57 | |
58 | REQUIRED_USE="|| ( mp3 aac )" |
59 | |
60 | src_prepare() { |
61 | epatch "${FILESDIR}"/${P}-linking.patch |
62 | } |
63 | |
64 | src_compile() { |
65 | local myconf="" |
66 | ! use aac && myconf+=" DISABLE_FAAD=1" |
67 | ! use mp3 && myconf+=" DISABLE_MAD=1" |
68 | |
69 | append-cflags -std=c99 |
70 | emake CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${myconf} |
71 | } |
72 | |
73 | src_install() { |
74 | emake DESTDIR="${D}" PREFIX=/usr install |
75 | dodoc ChangeLog README |
76 | |
77 | insinto /usr/share/doc/${PF}/contrib |
78 | doins -r contrib/{config-example,*.sh,eventcmd-examples} |
79 | docompress -x /usr/share/doc/${PF}/contrib |
80 | } |
81 | |
82 | |
83 | |
84 | 1.1 media-sound/pianobar/ChangeLog |
85 | |
86 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/pianobar/ChangeLog?rev=1.1&view=markup |
87 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/pianobar/ChangeLog?rev=1.1&content-type=text/plain |
88 | |
89 | Index: ChangeLog |
90 | =================================================================== |
91 | # ChangeLog for media-sound/pianobar |
92 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
93 | # $Header: /var/cvsroot/gentoo-x86/media-sound/pianobar/ChangeLog,v 1.1 2011/05/06 08:19:33 radhermit Exp $ |
94 | |
95 | *pianobar-2011.04.27 (06 May 2011) |
96 | |
97 | 06 May 2011; Tim Harder <radhermit@g.o> +pianobar-2011.04.27.ebuild, |
98 | +files/pianobar-2011.04.27-linking.patch, +metadata.xml: |
99 | Initial import. |