diff options
Diffstat (limited to 'media-sound/pianobar')
-rw-r--r-- | media-sound/pianobar/ChangeLog | 7 | ||||
-rw-r--r-- | media-sound/pianobar/pianobar-2012.01.10.ebuild | 52 |
2 files changed, 58 insertions, 1 deletions
diff --git a/media-sound/pianobar/ChangeLog b/media-sound/pianobar/ChangeLog index dccc4d48da3b..e3657eab1f5a 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.12 2012/01/09 08:24:20 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/pianobar/ChangeLog,v 1.13 2012/01/11 07:08:42 radhermit Exp $ + +*pianobar-2012.01.10 (11 Jan 2012) + + 11 Jan 2012; Tim Harder <radhermit@gentoo.org> +pianobar-2012.01.10.ebuild: + Version bump. *pianobar-2011.12.11 (09 Jan 2012) diff --git a/media-sound/pianobar/pianobar-2012.01.10.ebuild b/media-sound/pianobar/pianobar-2012.01.10.ebuild new file mode 100644 index 000000000000..c99b1c821563 --- /dev/null +++ b/media-sound/pianobar/pianobar-2012.01.10.ebuild @@ -0,0 +1,52 @@ +# 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.01.10.ebuild,v 1.1 2012/01/11 07:08:42 radhermit Exp $ + +EAPI="4" + +inherit toolchain-funcs flag-o-matic eutils + +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="as-is" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="aac +mp3" + +DEPEND="media-libs/libao + net-libs/gnutls + aac? ( media-libs/faad2 ) + mp3? ( media-libs/libmad )" +RDEPEND="${DEPEND}" + +REQUIRED_USE="|| ( mp3 aac )" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2011.12.11-tests.patch +} + +src_compile() { + local myconf + ! 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 install + dodoc ChangeLog README + + docinto contrib + dodoc -r contrib/{config-example,*.sh,eventcmd-examples} + docompress -x /usr/share/doc/${PF}/contrib +} |