summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2014-10-08 02:18:46 +0000
committerTim Harder <radhermit@gentoo.org>2014-10-08 02:18:46 +0000
commit3518035d428935bb1f8a60f2104322dd42248946 (patch)
treea4e1b3728fa86865d5f71810da5b82de22b5b6d3
parentRemove old. (diff)
downloadgentoo-2-3518035d428935bb1f8a60f2104322dd42248946.tar.gz
gentoo-2-3518035d428935bb1f8a60f2104322dd42248946.tar.bz2
gentoo-2-3518035d428935bb1f8a60f2104322dd42248946.zip
Version bump.
(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
-rw-r--r--media-sound/pianobar/ChangeLog7
-rw-r--r--media-sound/pianobar/pianobar-2014.09.28.ebuild52
2 files changed, 58 insertions, 1 deletions
diff --git a/media-sound/pianobar/ChangeLog b/media-sound/pianobar/ChangeLog
index 15e432ebcacf..7f6431edf82b 100644
--- a/media-sound/pianobar/ChangeLog
+++ b/media-sound/pianobar/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/pianobar
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/pianobar/ChangeLog,v 1.35 2014/06/22 13:08:28 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pianobar/ChangeLog,v 1.36 2014/10/08 02:18:46 radhermit Exp $
+
+*pianobar-2014.09.28 (08 Oct 2014)
+
+ 08 Oct 2014; Tim Harder <radhermit@gentoo.org> +pianobar-2014.09.28.ebuild:
+ Version bump.
22 Jun 2014; Tim Harder <radhermit@gentoo.org>
-pianobar-2012.12.01-r1.ebuild, -pianobar-2013.05.19.ebuild,
diff --git a/media-sound/pianobar/pianobar-2014.09.28.ebuild b/media-sound/pianobar/pianobar-2014.09.28.ebuild
new file mode 100644
index 000000000000..f76207c739c2
--- /dev/null
+++ b/media-sound/pianobar/pianobar-2014.09.28.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pianobar/pianobar-2014.09.28.ebuild,v 1.1 2014/10/08 02:18:46 radhermit Exp $
+
+EAPI="5"
+inherit toolchain-funcs flag-o-matic multilib
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="git://github.com/PromyLOPh/pianobar.git"
+else
+ SRC_URI="http://6xq.net/projects/${PN}/${P}.tar.bz2"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="A console-based replacement for Pandora's flash player"
+HOMEPAGE="http://6xq.net/projects/pianobar/"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="static-libs"
+
+RDEPEND="media-libs/libao
+ net-libs/gnutls
+ dev-libs/libgcrypt:0=
+ dev-libs/json-c
+ >=virtual/ffmpeg-9"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ sed -e '/@echo /d' \
+ -e 's/@${CC}/${CC}/' \
+ -i Makefile || die
+}
+
+src_compile() {
+ append-cflags -std=c99
+ tc-export CC
+ emake DYNLINK=1
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr LIBDIR=/usr/$(get_libdir) DYNLINK=1 install
+ dodoc ChangeLog README
+
+ use static-libs || { rm "${D}"/usr/lib*/*.a || die; }
+
+ docinto contrib
+ dodoc -r contrib/{config-example,*.sh,eventcmd-examples}
+ docompress -x /usr/share/doc/${PF}/contrib
+}