media-sound/ponymix: Added

Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
Marcin Woźniak 2020-09-26 22:55:42 +02:00
parent 0bc7eae7e3
commit 1e7b61567c
Signed by: y0rune
GPG Key ID: F204C385F57EB348
3 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST ponymix-5.tar.gz 16862 BLAKE2B 5518f6d556972b74b2a01216332f920197070ef7b2eedab7e64dcba254c89230cf31d43e3b4a9cb342bfe0a31835c1f1a43688a7b65a4ed9eec18f48c70d72fe SHA512 0676255b3580322b4fd2ea364460b70abde94a2bf94542d3490f43f3c2cfefc11367d886d2250c93058b1712f037a730c29cf6177eed967cee9782cae48eeeee

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>y0rune@aol.com</email>
<name>Marcin Woźniak</name>
</maintainer>
</pkgmetadata>

View File

@ -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}"
}