diff options
author | Tim Harder <radhermit@gentoo.org> | 2018-06-25 02:01:36 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2018-06-25 02:01:36 -0400 |
commit | cf7e26747252d31f5ace57917e39dc68b5ddeebc (patch) | |
tree | 20b62d808fc32a17b6546d49ae4900a279b1eda9 /media-sound | |
parent | media-libs/exiftool: version bump to 11.03 (diff) | |
download | gentoo-cf7e26747252d31f5ace57917e39dc68b5ddeebc.tar.gz gentoo-cf7e26747252d31f5ace57917e39dc68b5ddeebc.tar.bz2 gentoo-cf7e26747252d31f5ace57917e39dc68b5ddeebc.zip |
media-sound/pianobar: version bump to 2018.06.22
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/pianobar/Manifest | 1 | ||||
-rw-r--r-- | media-sound/pianobar/pianobar-2018.06.22.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/media-sound/pianobar/Manifest b/media-sound/pianobar/Manifest index d3f95e2fb90e..0f13136b90b1 100644 --- a/media-sound/pianobar/Manifest +++ b/media-sound/pianobar/Manifest @@ -1,2 +1,3 @@ DIST pianobar-2016.06.02.tar.bz2 46262 BLAKE2B 1e466dc438630c090e78cec5a54488ae6c0595695a6e97c164ecd3a0bb630d73663c4955bb795a0c9c89b79aa9c384d228c0ac28200d1f8ab9edcbe02b43ae85 SHA512 943e4b7bdfa5690f73378c6454666ec972f4d33faa0549ec087fb0ffeb5584e7ec26cef39dfd0134eefe2723638cc41f29c76eecb306c295c067996443958027 DIST pianobar-2017.08.30.tar.bz2 46664 BLAKE2B 2ab90efab273e2af707924072252b1de77f41629407b0cb65850fad2ff32fd2a56480f4074d30aa68bb2add3fa9350d9d3e2fd1c3e19db420d1caf4a07291090 SHA512 35019bd387a323c85928e8979c075c7b2a8d88115066a55068dd62279760200fcadf022f7000a40e198bebc3cfc5507913da7c9c06ae220cba6fe3910a6bca54 +DIST pianobar-2018.06.22.tar.bz2 47455 BLAKE2B f1d61709f7c95438352f29a075120c4794c666d9406fb9e6dea47930f2715a0538588d29510097487c5bc06d77ccc44f393fff1561545e21bb71f739151a712a SHA512 0fc2d90324da576266f063573549399e4354b8e83678632fadb80864e82c432a1a90a3092085f0155fc136b726ba59eabb26586a1ba11c5ce668c3a89a218133 diff --git a/media-sound/pianobar/pianobar-2018.06.22.ebuild b/media-sound/pianobar/pianobar-2018.06.22.ebuild new file mode 100644 index 000000000000..21d92b644c49 --- /dev/null +++ b/media-sound/pianobar/pianobar-2018.06.22.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +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 +} |