From 1e7b61567c0c22c2639d2f0287417c22152738af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Sat, 26 Sep 2020 22:55:42 +0200 Subject: [PATCH] media-sound/ponymix: Added MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcin Woźniak --- media-sound/ponymix/Manifest | 1 + media-sound/ponymix/metadata.xml | 8 +++++++ media-sound/ponymix/ponymix-5.ebuild | 36 ++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 media-sound/ponymix/Manifest create mode 100644 media-sound/ponymix/metadata.xml create mode 100644 media-sound/ponymix/ponymix-5.ebuild diff --git a/media-sound/ponymix/Manifest b/media-sound/ponymix/Manifest new file mode 100644 index 0000000..544e536 --- /dev/null +++ b/media-sound/ponymix/Manifest @@ -0,0 +1 @@ +DIST ponymix-5.tar.gz 16862 BLAKE2B 5518f6d556972b74b2a01216332f920197070ef7b2eedab7e64dcba254c89230cf31d43e3b4a9cb342bfe0a31835c1f1a43688a7b65a4ed9eec18f48c70d72fe SHA512 0676255b3580322b4fd2ea364460b70abde94a2bf94542d3490f43f3c2cfefc11367d886d2250c93058b1712f037a730c29cf6177eed967cee9782cae48eeeee diff --git a/media-sound/ponymix/metadata.xml b/media-sound/ponymix/metadata.xml new file mode 100644 index 0000000..7bb0ff7 --- /dev/null +++ b/media-sound/ponymix/metadata.xml @@ -0,0 +1,8 @@ + + + + + y0rune@aol.com + Marcin Woźniak + + diff --git a/media-sound/ponymix/ponymix-5.ebuild b/media-sound/ponymix/ponymix-5.ebuild new file mode 100644 index 0000000..917dcb5 --- /dev/null +++ b/media-sound/ponymix/ponymix-5.ebuild @@ -0,0 +1,36 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="CLI volume control for PulseAudio" +HOMEPAGE="https://github.com/falconindy/ponymix" +SRC_URI="https://github.com/falconindy/ponymix/archive/${PV}.tar.gz -> ${P}.tar.gz" + +inherit bash-completion-r1 toolchain-funcs + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="bash-completion" + +RDEPEND="media-sound/pulseaudio" +DEPEND="${REDPEND} + virtual/pkgconfig" + +src_prepare() { + sed -i "s/pkg-config/$(tc-getPKG_CONFIG)/g" Makefile || die "sed failed" + + default +} + +src_compile() { + emake CXX="$(tc-getCXX)" +} + +src_install() { + dobin "${PN}" + doman "${PN}.1" + + use bash-completion && newbashcomp bash-completion "${PN}" +}