# 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)
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
+DIST pianobar-2012.01.10.tar.bz2 68839 RMD160 60573b71376d3494b4b46421c5ba24369136f025 SHA1 00ac42883157c5e3468ceb57161f1bf04b8fb020 SHA256 6d19e5abde542bcdf8b9cfa50448fbe95c1e113f59e54065c9f4e0fbf78690f9
EBUILD pianobar-2011.11.11.ebuild 1215 RMD160 2d8da32be7ddd8865e70a9d627e7addc787a3b64 SHA1 0e1aaf2940c88c9a63c2027289c5d3ef19fcfcd7 SHA256 41fc34ee4836a1da2a6b6e407b218fe04ff041df280a1bdfb3316d5e87e4007a
EBUILD pianobar-2011.12.11.ebuild 1199 RMD160 052feab401a52036513d16a2725007912f45e07c SHA1 ab809f2a2232fa79232ff2078cae6a58369144e3 SHA256 b38cb49c0004724fcf6ae86ed0d6c84c7a2fbe0881fc9eedeac456b5545a3483
-MISC ChangeLog 2412 RMD160 f2c9eb4075b0994fdd9420c46b76d45dbe12220f SHA1 79a53702a95c4ff0d227b71282e8574b12d7bee1 SHA256 1510564c06de9a51276fb088e21f8efaef3bcd038c21aee6e7eb3f706a465238
+EBUILD pianobar-2012.01.10.ebuild 1211 RMD160 73fefd9ff34a45619dfd9be9342e0d27ef7702a1 SHA1 7f9ceadf491b1b8814741ea250efea54892e1fab SHA256 e6d2118a45f29c91ed730ad3645422019cebb4b2f34a6610496c6c6c0e031938
+MISC ChangeLog 2543 RMD160 17f91f1fc39a4f1755838a48d9d496a84308864d SHA1 96c53f0cf7f40431adf0f7f2da1aa4e0d794786a SHA256 2dda3c61c8991a74d1a7a99ff90707f9a8608c8dc3d10949104f106a0e29fa18
MISC metadata.xml 259 RMD160 3aa48fb8a20128bc3daf5afea8beb2cde21839ae SHA1 4913e8a70b40a7af1104538355a430a45d67f35a SHA256 71b52b5b989346aa41e78d6021fb157a3941bf1f6bedf8b0c90eb94ab544fc55
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iQEcBAEBCgAGBQJPCqREAAoJEEqz6FtPBkyjl+8H/3MqYd4Ayqyj4LE87BVa3JcK
-iYiEE4Jj6+jQ1i1f8IOrtd2E7a1wYGMlka8Uk48UcMWt5TXUpwPG4AnweOXisSQy
-YJv5puJsvFFq7JqikrhpHOrHlViSY6ZfZNdiQnCknii6xJgnF9R4V1fMV98GSyZQ
-BN3/r/EDsFh8vR02wIZO8id6xe4WonYpfg8w+TMbuINTocJZbMlVyLUecEnuj/Qa
-r9eKBnr/djWfM52XcZ4Z+YLoc4J6nNugL7yqvpLaXFMpRGufntLqPPMbXXmUdh4Y
-AN2eSb08yCfCcFzWHUzlLxGOF3bDG5w26SJE5xUO07eihXA3PeP+NsLhX5Sg/ck=
-=h5YS
+iQEcBAEBCgAGBQJPDTWEAAoJEEqz6FtPBkyju3MH/0rrdkQoRDZHfMGP9yJu8oGA
+05f0cJyo8gTVXvk6mhtVcI3Da76FvtMVTu6xPQyAxUZ1baP/1ETKPFTmA/+aVMAA
+e3FSq3ODcI89/9m56kP+dSyzf6VWLqDRTNIV4j5AZbC3zyhbNDSuMJWXlzDoBNi7
+e+M3fg9ORtfUcGkFaF4EavxcaVD6mYpk+S5iFCnqH0szGb016mi1+UEhtA4wjXu/
+Ia03Laa8WqNGTolyGQ1RUM2uGD8LV5+6aLK6aUewZiXkpbe1tOU8pL3Smt+ZC22z
+OF/Mobl4bZeaG+OO1pVXRGp4KeiaBPOeWspOZaRDmHHOqjF88sLUWtnOHPf5Ivg=
+=kMx1
-----END PGP SIGNATURE-----
--- /dev/null
+# 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
+}