summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-08-03 09:18:26 +0200
committerMichał Górny <mgorny@gentoo.org>2019-08-03 09:20:16 +0200
commit7cb5feb7c8fb905b24264d9ae6ca2f183481c3c7 (patch)
tree5af7f2f9f6fe292a97a45b4d627a8ed4fe569aaf
parentwww-servers/uwsgi: add ruby26 (diff)
downloadgentoo-7cb5feb7c8fb905b24264d9ae6ca2f183481c3c7.tar.gz
gentoo-7cb5feb7c8fb905b24264d9ae6ca2f183481c3c7.tar.bz2
gentoo-7cb5feb7c8fb905b24264d9ae6ca2f183481c3c7.zip
media-sound/pulseaudio-ctl: New package
CLI tool to control volume in pulseaudio. Very handy for keybindings. Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--media-sound/pulseaudio-ctl/Manifest1
-rw-r--r--media-sound/pulseaudio-ctl/metadata.xml8
-rw-r--r--media-sound/pulseaudio-ctl/pulseaudio-ctl-1.66.ebuild23
3 files changed, 32 insertions, 0 deletions
diff --git a/media-sound/pulseaudio-ctl/Manifest b/media-sound/pulseaudio-ctl/Manifest
new file mode 100644
index 00000000000..bda1f3c527c
--- /dev/null
+++ b/media-sound/pulseaudio-ctl/Manifest
@@ -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
index 00000000000..0319eec4c8b
--- /dev/null
+++ b/media-sound/pulseaudio-ctl/metadata.xml
@@ -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
index 00000000000..56d2816a5cb
--- /dev/null
+++ b/media-sound/pulseaudio-ctl/pulseaudio-ctl-1.66.ebuild
@@ -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
+}