1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs flag-o-matic
8 if [[ ${PV} == 9999 ]]; then
10 EGIT_REPO_URI="https://github.com/PromyLOPh/pianobar.git"
12 SRC_URI="https://6xq.net/${PN}/${P}.tar.bz2"
13 KEYWORDS="~amd64 ~x86"
16 DESCRIPTION="A console-based replacement for Pandora's flash player"
17 HOMEPAGE="https://6xq.net/pianobar/"
23 BDEPEND="virtual/pkgconfig"
28 >=media-video/ffmpeg-3.3:0=
34 append-cflags -std=c99
40 emake DESTDIR="${D}" PREFIX=/usr LIBDIR=/usr/$(get_libdir) DYNLINK=1 install
41 dodoc ChangeLog README.md
43 rm "${D}"/usr/lib*/*.a || die
46 dodoc -r contrib/{config-example,*.sh,eventcmd-examples}
47 docompress -x /usr/share/doc/${PF}/contrib