diff options
author | Tim Harder <radhermit@gentoo.org> | 2016-08-02 11:51:20 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2016-08-02 11:51:20 -0400 |
commit | 45a4e59508bdae9938c2047389d563935990ed76 (patch) | |
tree | 3ef3b62ea27c883aa7e87268f7c76df7bfdda40c /media-sound/pianobar/pianobar-2016.06.02.ebuild | |
parent | sci-libs/fftw: Fix missing .so files due to incomplete autotools-utils.eclass... (diff) | |
download | gentoo-45a4e59508bdae9938c2047389d563935990ed76.tar.gz gentoo-45a4e59508bdae9938c2047389d563935990ed76.tar.bz2 gentoo-45a4e59508bdae9938c2047389d563935990ed76.zip |
media-sound/pianobar: version bump to 2016.06.02
Diffstat (limited to 'media-sound/pianobar/pianobar-2016.06.02.ebuild')
-rw-r--r-- | media-sound/pianobar/pianobar-2016.06.02.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/media-sound/pianobar/pianobar-2016.06.02.ebuild b/media-sound/pianobar/pianobar-2016.06.02.ebuild new file mode 100644 index 000000000000..e9e761994c64 --- /dev/null +++ b/media-sound/pianobar/pianobar-2016.06.02.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +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-misc/curl + dev-libs/libgcrypt:0= + dev-libs/json-c:= + >=virtual/ffmpeg-9" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_compile() { + append-cflags -std=c99 + tc-export CC + emake V=1 DYNLINK=1 +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr LIBDIR=/usr/$(get_libdir) DYNLINK=1 install + dodoc ChangeLog README.md + + 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 +} |