summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-05-14 09:36:54 +0000
committerTim Harder <radhermit@gentoo.org>2012-05-14 09:36:54 +0000
commit03dbd30785e7fd49c87e2b9b6c2ecd408ea795dd (patch)
tree3e3020b0d0f3f8f141f63d960c3571345bdc30a8 /media-sound/pianobar
parentRemove old. (diff)
downloadgentoo-2-03dbd30785e7fd49c87e2b9b6c2ecd408ea795dd.tar.gz
gentoo-2-03dbd30785e7fd49c87e2b9b6c2ecd408ea795dd.tar.bz2
gentoo-2-03dbd30785e7fd49c87e2b9b6c2ecd408ea795dd.zip
Update live ebuild.
(Portage version: 2.2.0_alpha104/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/pianobar')
-rw-r--r--media-sound/pianobar/ChangeLog5
-rw-r--r--media-sound/pianobar/pianobar-9999.ebuild19
2 files changed, 16 insertions, 8 deletions
diff --git a/media-sound/pianobar/ChangeLog b/media-sound/pianobar/ChangeLog
index 17bac8ba440c..d454dbdabd64 100644
--- a/media-sound/pianobar/ChangeLog
+++ b/media-sound/pianobar/ChangeLog
@@ -1,6 +1,9 @@
# 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.19 2012/05/14 09:35:44 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pianobar/ChangeLog,v 1.20 2012/05/14 09:36:54 radhermit Exp $
+
+ 14 May 2012; Tim Harder <radhermit@gentoo.org> pianobar-9999.ebuild:
+ Update live ebuild.
14 May 2012; Tim Harder <radhermit@gentoo.org> -pianobar-2012.04.24.ebuild:
Remove old.
diff --git a/media-sound/pianobar/pianobar-9999.ebuild b/media-sound/pianobar/pianobar-9999.ebuild
index 58ae1c3f91b0..0d908f7effd0 100644
--- a/media-sound/pianobar/pianobar-9999.ebuild
+++ b/media-sound/pianobar/pianobar-9999.ebuild
@@ -1,10 +1,10 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pianobar/pianobar-9999.ebuild,v 1.2 2012/05/14 09:36:54 radhermit Exp $
EAPI="4"
-inherit toolchain-funcs flag-o-matic eutils git-2
+inherit toolchain-funcs flag-o-matic eutils multilib git-2
EGIT_REPO_URI="git://github.com/PromyLOPh/pianobar.git"
@@ -15,13 +15,16 @@ SRC_URI=""
LICENSE="as-is"
SLOT="0"
KEYWORDS=""
-IUSE="aac +mp3"
+IUSE="aac +mp3 static-libs"
-DEPEND="media-libs/libao
+RDEPEND="media-libs/libao
net-libs/gnutls
+ dev-libs/libgcrypt
+ dev-libs/json-c
aac? ( media-libs/faad2 )
mp3? ( media-libs/libmad )"
-RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
REQUIRED_USE="|| ( mp3 aac )"
@@ -29,7 +32,7 @@ REQUIRED_USE="|| ( mp3 aac )"
RESTRICT="test"
src_compile() {
- local myconf
+ local myconf="DYNLINK=1"
! use aac && myconf+=" DISABLE_FAAD=1"
! use mp3 && myconf+=" DISABLE_MAD=1"
@@ -39,9 +42,11 @@ src_compile() {
}
src_install() {
- emake DESTDIR="${D}" PREFIX=/usr install
+ emake DESTDIR="${D}" PREFIX=/usr LIBDIR=/usr/$(get_libdir) DYNLINK=1 install
dodoc ChangeLog README
+ use static-libs || rm -f "${D}"/usr/lib*/*.a
+
docinto contrib
dodoc -r contrib/{config-example,*.sh,eventcmd-examples}
docompress -x /usr/share/doc/${PF}/contrib