Skip to content

Commit

Permalink
media-sound/pianobar: version bump to 2019.01.25
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Harder <[email protected]>
  • Loading branch information
radhermit committed Feb 10, 2019
1 parent 6347343 commit 17585de
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 2 deletions.
1 change: 1 addition & 0 deletions media-sound/pianobar/Manifest
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
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
DIST pianobar-2019.01.25.tar.bz2 48340 BLAKE2B 09078b0fdf43baab99c343a86d5f1c1e0ee7ab39e2af20e7cdde6c21320a74d82ed9bc02e821b02ab045329944aa7d273d637c80bcb0ce96692281dc2e1a0568 SHA512 bfcec235ff01e40a2f650166a29020276b43b241008fd5eb8b84944744b1ce6262cf3be140354404c9410b88d6910e4bcf77b4de787742a7898bbc8511fef0f6
47 changes: 47 additions & 0 deletions media-sound/pianobar/pianobar-2019.01.25.ebuild
Original file line number Diff line number Diff line change
@@ -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
}
4 changes: 2 additions & 2 deletions media-sound/pianobar/pianobar-9999.ebuild
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
EAPI=7
inherit toolchain-funcs flag-o-matic

if [[ ${PV} == 9999 ]]; then
Expand Down

0 comments on commit 17585de

Please sign in to comment.