diff options
author | Tim Harder <radhermit@gentoo.org> | 2019-07-03 13:55:05 -0600 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2019-07-03 14:08:48 -0600 |
commit | bc8780b4cb8c406f32dfbcf57b596ad3eb57948c (patch) | |
tree | 5c5fd8b668480cdd6a4660e0bdaa6d67087d8085 /media-sound | |
parent | media-libs/exiftool: version bump to 11.54 (diff) | |
download | gentoo-bc8780b4cb8c406f32dfbcf57b596ad3eb57948c.tar.gz gentoo-bc8780b4cb8c406f32dfbcf57b596ad3eb57948c.tar.bz2 gentoo-bc8780b4cb8c406f32dfbcf57b596ad3eb57948c.zip |
media-sound/pianobar: version bump to 2019.02.14
Signed-off-by: Tim Harder <radhermit@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/pianobar/Manifest | 1 | ||||
-rw-r--r-- | media-sound/pianobar/pianobar-2019.02.14.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/media-sound/pianobar/Manifest b/media-sound/pianobar/Manifest index 50a1020834dd..723fa0349018 100644 --- a/media-sound/pianobar/Manifest +++ b/media-sound/pianobar/Manifest @@ -1 +1,2 @@ DIST pianobar-2019.01.25.tar.bz2 48340 BLAKE2B 09078b0fdf43baab99c343a86d5f1c1e0ee7ab39e2af20e7cdde6c21320a74d82ed9bc02e821b02ab045329944aa7d273d637c80bcb0ce96692281dc2e1a0568 SHA512 bfcec235ff01e40a2f650166a29020276b43b241008fd5eb8b84944744b1ce6262cf3be140354404c9410b88d6910e4bcf77b4de787742a7898bbc8511fef0f6 +DIST pianobar-2019.02.14.tar.bz2 48396 BLAKE2B 3b25cdbd086efdb4c5f3239b9c47af6c6f647929573dd8fda93a569252dcace34654fc9460bc0cc9925057bb56a10912788a9aedaba8f217dfc2f9eae9718275 SHA512 00491118ed46df4871e8d019e7139d0779d07d03ab4c8a2312f024613a8b849430bb7c23339a021604023f2c5234015fdbd5d7078caf8cf6d690d03e7c648755 diff --git a/media-sound/pianobar/pianobar-2019.02.14.ebuild b/media-sound/pianobar/pianobar-2019.02.14.ebuild new file mode 100644 index 000000000000..dff31a20e216 --- /dev/null +++ b/media-sound/pianobar/pianobar-2019.02.14.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit toolchain-funcs flag-o-matic + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/PromyLOPh/pianobar.git" +else + SRC_URI="https://6xq.net/${PN}/${P}.tar.bz2" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="A console-based replacement for Pandora's flash player" +HOMEPAGE="https://6xq.net/pianobar/" + +LICENSE="MIT" +SLOT="0" +IUSE="libav static-libs" + +RDEPEND="media-libs/libao + net-misc/curl + dev-libs/libgcrypt:0= + dev-libs/json-c:= + libav? ( >=media-video/libav-12:0= ) + !libav? ( >=media-video/ffmpeg-3.1:0= ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_compile() { + append-cflags -std=c99 + tc-export AR 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 +} |