From 0f66b7be081ad37ee9ba973bafb69d99f99a487b Mon Sep 17 00:00:00 2001 From: Tim Harder Date: Mon, 9 Jan 2012 08:24:20 +0000 Subject: [PATCH] Version bump. Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64 --- media-sound/pianobar/ChangeLog | 10 +++- media-sound/pianobar/Manifest | 19 ++++--- .../files/pianobar-2011.12.11-tests.patch | 26 ++++++++++ .../pianobar/pianobar-2011.12.11.ebuild | 52 +++++++++++++++++++ 4 files changed, 97 insertions(+), 10 deletions(-) create mode 100644 media-sound/pianobar/files/pianobar-2011.12.11-tests.patch create mode 100644 media-sound/pianobar/pianobar-2011.12.11.ebuild diff --git a/media-sound/pianobar/ChangeLog b/media-sound/pianobar/ChangeLog index 619740607813..dccc4d48da3b 100644 --- a/media-sound/pianobar/ChangeLog +++ b/media-sound/pianobar/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/pianobar -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/pianobar/ChangeLog,v 1.11 2011/11/12 07:28:39 radhermit Exp $ +# 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 $ + +*pianobar-2011.12.11 (09 Jan 2012) + + 09 Jan 2012; Tim Harder +pianobar-2011.12.11.ebuild, + +files/pianobar-2011.12.11-tests.patch: + Version bump. *pianobar-2011.11.11 (12 Nov 2011) diff --git a/media-sound/pianobar/Manifest b/media-sound/pianobar/Manifest index c9eebde57cd0..a091229f8abb 100644 --- a/media-sound/pianobar/Manifest +++ b/media-sound/pianobar/Manifest @@ -2,18 +2,21 @@ Hash: SHA512 AUX pianobar-2011.11.09_p1-tests.patch 1253 RMD160 59f109d9d72a9a22691f63f50627b6f439796f5c SHA1 c4b6efef1270a041d855c21dea8308688de0771b SHA256 bfc321e3ca06284f6b26dbcbf842a3c1ff30329ffdecf32b04d85780a6f1dbd6 +AUX pianobar-2011.12.11-tests.patch 841 RMD160 bfba981383cc91c133391fd457e2a85b6dc58acf SHA1 b1a32060736073e473fec7f12dadaf0d14e2db92 SHA256 62028822d612a03e0c854ebcfae56ceb95cb7f281a0bbfbaa16e543647b6eedc DIST pianobar-2011.11.11.tar.bz2 67778 RMD160 e2627ccf8a6423711494e91316504b14f5e4a7bd SHA1 3ae9762c553546b76ed16f55c8c35ce6ed24f0de SHA256 c1f5df7813b543992b79ac1558d27ff3fb0198f7bfb2d5d2e39173df4fae951b +DIST pianobar-2011.12.11.tar.bz2 68121 RMD160 8f6c98b3037887a80719f8d1fe4d509302190e5d SHA1 af7f81ba4385db8c11947d988fcc043f4f7049cf SHA256 6963d21376f201dfbf9f9ed403c84aebd23e64616d35b5a7d22cfd30a6755e6d EBUILD pianobar-2011.11.11.ebuild 1215 RMD160 2d8da32be7ddd8865e70a9d627e7addc787a3b64 SHA1 0e1aaf2940c88c9a63c2027289c5d3ef19fcfcd7 SHA256 41fc34ee4836a1da2a6b6e407b218fe04ff041df280a1bdfb3316d5e87e4007a -MISC ChangeLog 2239 RMD160 0951692d919e9ec3edda49f095c631e22da9a467 SHA1 e80ccebab3a6a6dcf870549285a3763485a98d6d SHA256 4429f056b3557b8ef32a59886d4cf3b787f3c8577b1eb9002572601368037629 +EBUILD pianobar-2011.12.11.ebuild 1199 RMD160 052feab401a52036513d16a2725007912f45e07c SHA1 ab809f2a2232fa79232ff2078cae6a58369144e3 SHA256 b38cb49c0004724fcf6ae86ed0d6c84c7a2fbe0881fc9eedeac456b5545a3483 +MISC ChangeLog 2412 RMD160 f2c9eb4075b0994fdd9420c46b76d45dbe12220f SHA1 79a53702a95c4ff0d227b71282e8574b12d7bee1 SHA256 1510564c06de9a51276fb088e21f8efaef3bcd038c21aee6e7eb3f706a465238 MISC metadata.xml 259 RMD160 3aa48fb8a20128bc3daf5afea8beb2cde21839ae SHA1 4913e8a70b40a7af1104538355a430a45d67f35a SHA256 71b52b5b989346aa41e78d6021fb157a3941bf1f6bedf8b0c90eb94ab544fc55 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iQEcBAEBCgAGBQJOviAtAAoJEEqz6FtPBkyjFyYH/26M7H8L5MjfsPxB7FzpyEBP -OJpniAEmFfXe9AvWJ+d0dDiuey/HywgSec9QwsxidXT8c7H/fHi41zkZDOeGzonH -bMak1jXZSKsMWMGSXCGQZsrnLcUTqRVw3NPkXLu5gRRmqNPGM7LhAWSk1PPfddvj -8YZT/jBsdmiUMs4bitNgWhlur8zNyN4KGFpJVbzCsmZ1zyH/ldd66L24LI54PG+8 -y3krSparFl2YXjNszeTTJm93dwCZR4o4a/ywNnpUfjcLxV0xIsPzd+2abjGXeIqs -eQRj7yDetD4RAislIGc7bgg1iw956c6CIocVlTuIbao6agLlh+yqiYhLr1Kl1Ao= -=k8Tg +iQEcBAEBCgAGBQJPCqREAAoJEEqz6FtPBkyjl+8H/3MqYd4Ayqyj4LE87BVa3JcK +iYiEE4Jj6+jQ1i1f8IOrtd2E7a1wYGMlka8Uk48UcMWt5TXUpwPG4AnweOXisSQy +YJv5puJsvFFq7JqikrhpHOrHlViSY6ZfZNdiQnCknii6xJgnF9R4V1fMV98GSyZQ +BN3/r/EDsFh8vR02wIZO8id6xe4WonYpfg8w+TMbuINTocJZbMlVyLUecEnuj/Qa +r9eKBnr/djWfM52XcZ4Z+YLoc4J6nNugL7yqvpLaXFMpRGufntLqPPMbXXmUdh4Y +AN2eSb08yCfCcFzWHUzlLxGOF3bDG5w26SJE5xUO07eihXA3PeP+NsLhX5Sg/ck= +=h5YS -----END PGP SIGNATURE----- diff --git a/media-sound/pianobar/files/pianobar-2011.12.11-tests.patch b/media-sound/pianobar/files/pianobar-2011.12.11-tests.patch new file mode 100644 index 000000000000..df4c667bd0ac --- /dev/null +++ b/media-sound/pianobar/files/pianobar-2011.12.11-tests.patch @@ -0,0 +1,26 @@ +--- pianobar-2011.12.11/Makefile.orig ++++ pianobar-2011.12.11/Makefile +@@ -55,10 +55,12 @@ + + LIBWAITRESS_DIR=src/libwaitress + LIBWAITRESS_SRC=${LIBWAITRESS_DIR}/waitress.c ++LIBWAITRESS_TSRC=${LIBWAITRESS_DIR}/waitress-test.c + LIBWAITRESS_HDR=\ + ${LIBWAITRESS_DIR}/config.h \ + ${LIBWAITRESS_DIR}/waitress.h + LIBWAITRESS_OBJ=${LIBWAITRESS_SRC:.c=.o} ++LIBWAITRESS_TOBJ=${LIBWAITRESS_TSRC:.c=.o} + LIBWAITRESS_RELOBJ=${LIBWAITRESS_SRC:.c=.lo} + LIBWAITRESS_INCLUDE=${LIBWAITRESS_DIR} + +@@ -133,8 +135,8 @@ + debug: CFLAGS=-Wall -pedantic -ggdb + + waitress-test: CFLAGS+= -DTEST +-waitress-test: ${LIBWAITRESS_OBJ} +- ${CC} ${LDFLAGS} ${LIBWAITRESS_OBJ} ${LIBGNUTLS_LDFLAGS} -o waitress-test ++waitress-test: ${LIBWAITRESS_TOBJ} ++ ${CC} ${LDFLAGS} ${LIBWAITRESS_TOBJ} ${LIBGNUTLS_LDFLAGS} -o waitress-test + + test: waitress-test + ./waitress-test diff --git a/media-sound/pianobar/pianobar-2011.12.11.ebuild b/media-sound/pianobar/pianobar-2011.12.11.ebuild new file mode 100644 index 000000000000..ae727a223227 --- /dev/null +++ b/media-sound/pianobar/pianobar-2011.12.11.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-2011.12.11.ebuild,v 1.1 2012/01/09 08:24:20 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}"/${P}-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 +} -- 2.26.2