summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-12-02 11:38:31 +0000
committerTim Harder <radhermit@gentoo.org>2012-12-02 11:38:31 +0000
commit70d2346b2e399bb24dacb81488fd6782e9d1a4a0 (patch)
tree07057a77a9061169fcb90463ab1391756f55b3fe /media-sound/pianobar
parentStable for amd64, wrt bug #445182 (diff)
downloadgentoo-2-70d2346b2e399bb24dacb81488fd6782e9d1a4a0.tar.gz
gentoo-2-70d2346b2e399bb24dacb81488fd6782e9d1a4a0.tar.bz2
gentoo-2-70d2346b2e399bb24dacb81488fd6782e9d1a4a0.zip
Version bump.
(Portage version: 2.2.0_alpha143/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'media-sound/pianobar')
-rw-r--r--media-sound/pianobar/ChangeLog7
-rw-r--r--media-sound/pianobar/pianobar-2012.12.01.ebuild57
2 files changed, 63 insertions, 1 deletions
diff --git a/media-sound/pianobar/ChangeLog b/media-sound/pianobar/ChangeLog
index ea7ec715e681..502ff30f3455 100644
--- a/media-sound/pianobar/ChangeLog
+++ b/media-sound/pianobar/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/pianobar
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/pianobar/ChangeLog,v 1.24 2012/11/13 05:20:41 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pianobar/ChangeLog,v 1.25 2012/12/02 11:38:31 radhermit Exp $
+
+*pianobar-2012.12.01 (02 Dec 2012)
+
+ 02 Dec 2012; Tim Harder <radhermit@gentoo.org> +pianobar-2012.12.01.ebuild:
+ Version bump.
13 Nov 2012; Tim Harder <radhermit@gentoo.org> -pianobar-2012.06.24.ebuild:
Remove old.
diff --git a/media-sound/pianobar/pianobar-2012.12.01.ebuild b/media-sound/pianobar/pianobar-2012.12.01.ebuild
new file mode 100644
index 000000000000..40fe24e7ecaa
--- /dev/null
+++ b/media-sound/pianobar/pianobar-2012.12.01.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pianobar/pianobar-2012.12.01.ebuild,v 1.1 2012/12/02 11:38:31 radhermit Exp $
+
+EAPI="5"
+
+inherit toolchain-funcs flag-o-matic eutils multilib
+
+DESCRIPTION="A console-based replacement for Pandora's flash player"
+HOMEPAGE="http://6xq.net/projects/pianobar/"
+SRC_URI="http://6xq.net/static/projects/${PN}/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+aac mp3 static-libs"
+
+RDEPEND="media-libs/libao
+ net-libs/gnutls
+ dev-libs/libgcrypt
+ dev-libs/json-c
+ aac? ( media-libs/faad2 )
+ mp3? ( media-libs/libmad )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+REQUIRED_USE="|| ( aac mp3 )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2011.12.11-tests.patch
+}
+
+src_compile() {
+ local myconf="DYNLINK=1"
+ ! use aac && myconf+=" DISABLE_FAAD=1"
+ ! use mp3 && myconf+=" DISABLE_MAD=1"
+
+ append-cflags -std=c99
+ tc-export CC
+ emake ${myconf}
+}
+
+src_test() {
+ cp src/libwaitress/waitress.c src/libwaitress/waitress-test.c
+ emake test
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr LIBDIR=/usr/$(get_libdir) DYNLINK=1 install
+ dodoc ChangeLog README
+
+ use static-libs || rm -f "${D}"/usr/lib*/*.a
+
+ docinto contrib
+ dodoc -r contrib/{config-example,*.sh,eventcmd-examples}
+ docompress -x /usr/share/doc/${PF}/contrib
+}