media-sound/pulseaudio-ctl: New package
authorMichał Górny <mgorny@gentoo.org>
Sat, 3 Aug 2019 07:18:26 +0000 (09:18 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sat, 3 Aug 2019 07:20:16 +0000 (09:20 +0200)
CLI tool to control volume in pulseaudio.  Very handy for keybindings.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
media-sound/pulseaudio-ctl/Manifest [new file with mode: 0644]
media-sound/pulseaudio-ctl/metadata.xml [new file with mode: 0644]
media-sound/pulseaudio-ctl/pulseaudio-ctl-1.66.ebuild [new file with mode: 0644]

diff --git a/media-sound/pulseaudio-ctl/Manifest b/media-sound/pulseaudio-ctl/Manifest
new file mode 100644 (file)
index 0000000..bda1f3c
--- /dev/null
@@ -0,0 +1 @@
+DIST pulseaudio-ctl-1.66.tar.gz 6633 BLAKE2B ec197571563f8503a0b35a4a3269984e8f53ae0df9a2bcc6a8dcf9a88df8d927634a5c8570a4bb69cc0d36289adfe73ac5b7f2d904790476be83fad3b93e2b05 SHA512 cadcb09781cf370e5280c1fa20bc9d10cc8e8162859a53f0b3cf3d94a50267638f9a454716c07cb4d300de9a3cb1bf6e6950763c2d97a48ba6cb5ac8ec72e8f7
diff --git a/media-sound/pulseaudio-ctl/metadata.xml b/media-sound/pulseaudio-ctl/metadata.xml
new file mode 100644 (file)
index 0000000..0319eec
--- /dev/null
@@ -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>mgorny@gentoo.org</email>
+               <name>Michał Górny</name>
+       </maintainer>
+</pkgmetadata>
diff --git a/media-sound/pulseaudio-ctl/pulseaudio-ctl-1.66.ebuild b/media-sound/pulseaudio-ctl/pulseaudio-ctl-1.66.ebuild
new file mode 100644 (file)
index 0000000..56d2816
--- /dev/null
@@ -0,0 +1,23 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="CLI utility to control PulseAudio volume"
+HOMEPAGE="https://github.com/graysky2/pulseaudio-ctl"
+SRC_URI="https://github.com/graysky2/pulseaudio-ctl/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# Optional runtime deps: dbus-send for KDE OSD, notify-send for libnotify
+# in both cases they should be already present if DE supports them
+RDEPEND="media-sound/pulseaudio"
+
+src_install() {
+       # install-man target compresses manpage
+       emake install-bin PREFIX="${EPREFIX}/usr" DESTDIR="${D}"
+       doman doc/pulseaudio-ctl.1
+}