Add live ebuild.
authorTim Harder <radhermit@gentoo.org>
Fri, 13 Jan 2012 07:04:25 +0000 (07:04 +0000)
committerTim Harder <radhermit@gentoo.org>
Fri, 13 Jan 2012 07:04:25 +0000 (07:04 +0000)
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64

media-sound/pianobar/ChangeLog
media-sound/pianobar/Manifest
media-sound/pianobar/pianobar-9999.ebuild [new file with mode: 0644]

index ff98d9510e78c1b18e71f5f97697eb757535fae6..83c96623cd02196251ff44a1ea0ce87d0fb348a1 100644 (file)
@@ -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.14 2012/01/11 07:09:31 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pianobar/ChangeLog,v 1.15 2012/01/13 07:04:25 radhermit Exp $
+
+*pianobar-9999 (13 Jan 2012)
+
+  13 Jan 2012; Tim Harder <radhermit@gentoo.org> +pianobar-9999.ebuild:
+  Add live ebuild.
 
   11 Jan 2012; Tim Harder <radhermit@gentoo.org>
   -files/pianobar-2011.11.09_p1-tests.patch, -pianobar-2011.11.11.ebuild,
index 4dfdc1c8c756e7219d943701799cbfcf11849d60..dc043678bb217a5d70dae838ffbaa05b92f2856e 100644 (file)
@@ -4,16 +4,17 @@ Hash: SHA512
 AUX pianobar-2011.12.11-tests.patch 841 RMD160 bfba981383cc91c133391fd457e2a85b6dc58acf SHA1 b1a32060736073e473fec7f12dadaf0d14e2db92 SHA256 62028822d612a03e0c854ebcfae56ceb95cb7f281a0bbfbaa16e543647b6eedc
 DIST pianobar-2012.01.10.tar.bz2 68839 RMD160 60573b71376d3494b4b46421c5ba24369136f025 SHA1 00ac42883157c5e3468ceb57161f1bf04b8fb020 SHA256 6d19e5abde542bcdf8b9cfa50448fbe95c1e113f59e54065c9f4e0fbf78690f9
 EBUILD pianobar-2012.01.10.ebuild 1211 RMD160 73fefd9ff34a45619dfd9be9342e0d27ef7702a1 SHA1 7f9ceadf491b1b8814741ea250efea54892e1fab SHA256 e6d2118a45f29c91ed730ad3645422019cebb4b2f34a6610496c6c6c0e031938
-MISC ChangeLog 2712 RMD160 ea68ccd2da793cefbf6e468bac4f281b8eb92351 SHA1 feaf40f65fef6253c3ca057392798c73cfc12902 SHA256 6737de05774f7dd70ab607949e6d04ff4e22f559e1fcce16a0fee2034e3cffdd
+EBUILD pianobar-9999.ebuild 1138 RMD160 7fdf5b6e4b797a9b9a6fff98048b187cdc0559ef SHA1 8c57e84a8ab052be9495e4ca189a353fb9f3d37f SHA256 d0f71e0d567052dfc3150655c0a7223f9fc7c41c1c6bcb11690373b1f4a3a4a4
+MISC ChangeLog 2834 RMD160 f9066448ef20da549d35ffacf55278ef7116a898 SHA1 fc46cccc36a52d43abc0590a556509de37c08c4b SHA256 99074e9294167016a7777d2edb3c822650aae61208804c95417597d534232b19
 MISC metadata.xml 259 RMD160 3aa48fb8a20128bc3daf5afea8beb2cde21839ae SHA1 4913e8a70b40a7af1104538355a430a45d67f35a SHA256 71b52b5b989346aa41e78d6021fb157a3941bf1f6bedf8b0c90eb94ab544fc55
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.18 (GNU/Linux)
 
-iQEcBAEBCgAGBQJPDTWxAAoJEEqz6FtPBkyjTeUH/2LyMGKpcecnTxnClk+B2roD
-3+LSnoI6pITbecPKRJqIgtAXRLG/mc/hVJt7ikbho3a+s7BSZsxyrvnIVG7QSbjp
-RUDY43fIYWB57weLGqiuPT9Js1ZexaHUXsbnxjTydfhDaz7WMhAEeP+13xb0wMGx
-KUsewgKoUkDReP0PKu3qt6pAcm1gu7s9fqljCDpF1gbHnLKR9XPkbsXzeuM55Ddy
-QUU6Q9KMra8inqdO+/WAWJFgG67Ig2z3a7cVJIXGJGyd1sUWHL3vBDoG1ajg0qPw
-LUBm+3RNmcHDIhxeLHzxB6S0l8py4dG8NWiG0poVBnN/6Gq0GjIB4r2jWnJWmGY=
-=hmBI
+iQEcBAEBCgAGBQJPD9eDAAoJEEqz6FtPBkyjSfsH/A+dC19pzP49xnGE8CkChvcr
+Wf+fM+DSGbGo2AC2IUfli7PhFSjWe9Y558Np8YAGAhlPSd5el/7FDgUaSvwX/lsO
+kaWOG3YNfg1R+v5eE4v9RxEOKKltpTC9c+ppPZGj0bA+WNZoGfa+H59MFr65IoZM
+pJZmrPc0DElQM9PMRgniKk0wFwVTjSmYTNGYwRObNWZwFS+uLzN8SmVjmyr6ACtm
+LKzK/Whmt+mSpr3mra56YxL1ZPt9mY/wV8xqXNtup53a+0NfGfbFWPJW/Le7LQqb
+NQRATsVNkLCFnEgievyL1zchVlsgKuP4bMTsauO3elE+vwqLUMCKvoNBl9Pr8hc=
+=vroj
 -----END PGP SIGNATURE-----
diff --git a/media-sound/pianobar/pianobar-9999.ebuild b/media-sound/pianobar/pianobar-9999.ebuild
new file mode 100644 (file)
index 0000000..58ae1c3
--- /dev/null
@@ -0,0 +1,48 @@
+# 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-9999.ebuild,v 1.1 2012/01/13 07:04:25 radhermit Exp $
+
+EAPI="4"
+
+inherit toolchain-funcs flag-o-matic eutils git-2
+
+EGIT_REPO_URI="git://github.com/PromyLOPh/pianobar.git"
+
+DESCRIPTION="A console-based replacement for Pandora's flash player"
+HOMEPAGE="http://6xq.net/projects/pianobar/"
+SRC_URI=""
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS=""
+IUSE="aac +mp3"
+
+DEPEND="media-libs/libao
+       net-libs/gnutls
+       aac? ( media-libs/faad2 )
+       mp3? ( media-libs/libmad )"
+RDEPEND="${DEPEND}"
+
+REQUIRED_USE="|| ( mp3 aac )"
+
+# Only releases are tested since patches required for testing often break
+RESTRICT="test"
+
+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_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
+}