diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-05-16 00:11:32 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-05-16 00:30:01 +0200 |
commit | 2f5fdbdc73cfbea4394f2404b4750a63a01527b9 (patch) | |
tree | 9a766238581e3ca47e40c3e5695fc284d0446456 /media-sound/pianobar | |
parent | dev-util/pkgdiff: QA Fix wrong tag (diff) | |
download | gentoo-2f5fdbdc73cfbea4394f2404b4750a63a01527b9.tar.gz gentoo-2f5fdbdc73cfbea4394f2404b4750a63a01527b9.tar.bz2 gentoo-2f5fdbdc73cfbea4394f2404b4750a63a01527b9.zip |
media-sound/pianobar: Improve EAPI-7, sorting
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-sound/pianobar')
-rw-r--r-- | media-sound/pianobar/pianobar-9999.ebuild | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/media-sound/pianobar/pianobar-9999.ebuild b/media-sound/pianobar/pianobar-9999.ebuild index 5a3320ef9da6..603adde3fbfb 100644 --- a/media-sound/pianobar/pianobar-9999.ebuild +++ b/media-sound/pianobar/pianobar-9999.ebuild @@ -2,6 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 + inherit toolchain-funcs flag-o-matic if [[ ${PV} == 9999 ]]; then @@ -19,14 +20,15 @@ LICENSE="MIT" SLOT="0" IUSE="static-libs" -RDEPEND="media-libs/libao - net-misc/curl - dev-libs/libgcrypt:0= +BDEPEND="virtual/pkgconfig" +RDEPEND=" dev-libs/json-c:= - >=media-video/ffmpeg-3.1:0= + dev-libs/libgcrypt:0= + media-libs/libao + >=media-video/ffmpeg-3.3:0= + net-misc/curl " -DEPEND="${RDEPEND} - virtual/pkgconfig" +DEPEND="${RDEPEND}" src_compile() { append-cflags -std=c99 @@ -38,7 +40,9 @@ 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; } + if ! use static-libs; then + rm "${D}"/usr/lib*/*.a || die + fi docinto contrib dodoc -r contrib/{config-example,*.sh,eventcmd-examples} |