diff options
author | haarp <main.haarp@gmail.com> | 2021-11-30 15:23:05 +0100 |
---|---|---|
committer | haarp <main.haarp@gmail.com> | 2021-11-30 15:23:05 +0100 |
commit | 244f840db8d6f6fc17e88d6f8ac9f105e71a7123 (patch) | |
tree | 53b272255cb006e688e9fa4640f5937ef852d838 /media-sound | |
parent | Add missing dependency to purple-signal, #824450 (diff) | |
download | haarp-244f840db8d6f6fc17e88d6f8ac9f105e71a7123.tar.gz haarp-244f840db8d6f6fc17e88d6f8ac9f105e71a7123.tar.bz2 haarp-244f840db8d6f6fc17e88d6f8ac9f105e71a7123.zip |
Add newer pianobar
Signed-off-by: haarp <main.haarp@gmail.com>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/pianobar/Manifest | 3 | ||||
-rw-r--r-- | media-sound/pianobar/metadata.xml | 8 | ||||
-rw-r--r-- | media-sound/pianobar/pianobar-2020.11.28.ebuild | 48 |
3 files changed, 59 insertions, 0 deletions
diff --git a/media-sound/pianobar/Manifest b/media-sound/pianobar/Manifest new file mode 100644 index 0000000..700aa98 --- /dev/null +++ b/media-sound/pianobar/Manifest @@ -0,0 +1,3 @@ +DIST pianobar-2020.11.28.tar.bz2 50580 BLAKE2B e79a1068df9d205d8c682678098ad7e9f4e0fe6f18cd9ff07059200f67f274598b9bd14b9f0c460f7b4708e54faf81110c6de611e269346fc3286ba3f97873cb SHA512 50bb15fd82a7594a5f6729f3bc9791c58f39c334782908576fd54892db938f194004cf84d4ac4d3622c219603453dbf2fdb5698dc7f06e592a7f979a0bd46e47 +EBUILD pianobar-2020.11.28.ebuild 992 BLAKE2B 16aaba26aa09d2ebeff2544644f34e85c6bd1bb2e2ad3a9e4695d5c2c20dadef1dfb88455491be301c21339d191e090d7bbce73d5b9b70d3b61db1467360e5fa SHA512 39a998c14439899b6d3c9856d6f6f4af593c3a3add50b5ff2c55b9fc57f20937e2009e52fc756141772a0cfac2c35ffb1f60af09cda81a628399b57803b4030c +MISC metadata.xml 254 BLAKE2B 7f76152858fde96b9de5250e4cba30bfe0c5f2aa6ec7c84316072d84e4b664ecd6485642d3d184b1f2ddde8d9e03a94dd47dd00c5b8d82f80c5c0993d5627593 SHA512 7ed31d18221f55928f798dbf095166f535f7c0f5a1c3010b5113fd6b0d275af283f3d2e6839591335ec93bcd50aab5d0f104ad76eefda4d7a6b64d41af183f0b diff --git a/media-sound/pianobar/metadata.xml b/media-sound/pianobar/metadata.xml new file mode 100644 index 0000000..9342321 --- /dev/null +++ b/media-sound/pianobar/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sound@gentoo.org</email> + <name>Gentoo Sound project</name> + </maintainer> +</pkgmetadata> diff --git a/media-sound/pianobar/pianobar-2020.11.28.ebuild b/media-sound/pianobar/pianobar-2020.11.28.ebuild new file mode 100644 index 0000000..7385bc0 --- /dev/null +++ b/media-sound/pianobar/pianobar-2020.11.28.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 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="" + +BDEPEND="virtual/pkgconfig" +RDEPEND=" + dev-libs/json-c:= + dev-libs/libgcrypt:0= + media-libs/libao + >=media-video/ffmpeg-3.3:0= + net-misc/curl +" +DEPEND="${RDEPEND}" + +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 + + rm "${D}"/usr/lib*/*.a || die + + docinto contrib + dodoc -r contrib/{config-example,*.sh,eventcmd-examples} + docompress -x /usr/share/doc/${PF}/contrib +} |