diff options
Diffstat (limited to 'media-sound/aumix')
-rw-r--r-- | media-sound/aumix/Manifest | 6 | ||||
-rw-r--r-- | media-sound/aumix/aumix-2.9.1.ebuild | 46 | ||||
-rw-r--r-- | media-sound/aumix/files/aumix.rc6 | 41 | ||||
-rw-r--r-- | media-sound/aumix/metadata.xml | 8 |
4 files changed, 101 insertions, 0 deletions
diff --git a/media-sound/aumix/Manifest b/media-sound/aumix/Manifest new file mode 100644 index 000000000000..3dc4e1df5058 --- /dev/null +++ b/media-sound/aumix/Manifest @@ -0,0 +1,6 @@ +AUX aumix.rc6 1037 SHA256 ba8734c5980b12b724dcd12900bf945d741f00e85e4cba8764333ded7cce42c3 SHA512 8960c6c5e61e15e981bfafff7b03aded627971c11d6c21ce9e0d953737f440885fb5dda6a9f942112697c344b4f3ad9f222e2a7cfa493a504dc75a8f4c8cf1c9 WHIRLPOOL a1d9eed275ac45a584235da2ef5418be121db72ee98875d708b77eb345be969b315835a652055c90d6e8c91b96fc557cab3ba989a4bb17fc418383ff82088344 +DIST aumix-2.9.1.tar.bz2 231622 SHA256 d2ce43d532ef75072c8d4e7922e3bc06be6d97765a508d9ceb0d1766bbe70e29 SHA512 bd063dc9dab8455f467fbe9e4ea1baa5cef914923e66ab5a8fca1e6964cac7851e3755f054bfe41657371e221920fe9a52f9807457996244f4bcd5db4659b21d WHIRLPOOL 7a78d8eeb0da49be924c6a71ac5ae6480380f2a6cf6244920dcd260f8605cf0d5a319eb300ab54d71afcdecfd1c197b53b0be8e8b3c2df63161137bc9fbdddd0 +EBUILD aumix-2.9.1.ebuild 995 SHA256 509e6c7370213cba88b0474f01ae7eca7ab94717266e1b16a64e761e2c534a39 SHA512 fa10366e6e09a6c6da69786417a6661f222bc99772033c12050343aba5fb07d26d5882ff03c5512037e5f982f0c417478aaecc63886203d621b70619e666ac86 WHIRLPOOL dd2471d4020310f6fd0e016c73c68fffede725740394ffbb7bac0948e9372dbbff37a6b6f0517418602b32bc0284f4beb21e4e45aa45ec9b67ac41ec1477f3b8 +MISC ChangeLog 2568 SHA256 722e24d5c87bee97aad1e150498516a85c354f62be6f076cac11155970fc4271 SHA512 e7cea1cf77693c4f2da494b218fc18e26dc67ce9ad3c9c3623a5a21c9e9402d3cf1bb67f23bcc36b6c4859d0b8dcb67e310dbf8773b92bc990f679a5a4e3724c WHIRLPOOL 24274a889cf4c0e51fc44705a7ca5a612f17218cd9b8a138bf4fa2f50f4b44ba454ed7bb0bcd83d8d4fed8fab23d3ad813d37576d27f40a9099858f46d1b3de8 +MISC ChangeLog-2015 9089 SHA256 7515429507b2aa6772b06c8c767dff23e82a19c88566d2a4727e9865838f808a SHA512 8c6f44e95df38c31af694548463a6403bfccba41bf3e8fdadf9634639c9bd9910cdf690093be1b696f133b672f4392a45675f2d80ccb988bfb84e9a5b419da91 WHIRLPOOL 1cc6d5af093300b6d20b42dd755194878440c5a12e56063efbd96ffd1af225eb173696ba1530e612e1a5d607ff18eb6ff8c20f8f2ea112793cd2f32b84d80335 +MISC metadata.xml 249 SHA256 a591aa91a9c413e7f7e24fd25b924ce2dfef686da8b4ce38bebb088ebfdba9db SHA512 9a100fb26586365eda99724330a03a512f4d0be18d39c3a195ba02c2fc841edeee99d22512acf5a058a3b978d3a74f4d963a5aff9aa343b6cb4086cdfefe6343 WHIRLPOOL ae5b0c583f3a07ed1ccf651b5b9c8d6c8c637fba2d505fc4b028ea60239fc0a84e37a169b5114f879712ae74f7f41960a2cc6b59e67cacc7f964b105b5fb8723 diff --git a/media-sound/aumix/aumix-2.9.1.ebuild b/media-sound/aumix/aumix-2.9.1.ebuild new file mode 100644 index 000000000000..08f14da30e30 --- /dev/null +++ b/media-sound/aumix/aumix-2.9.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=2 +inherit eutils + +DESCRIPTION="Aumix volume/mixer control program" +HOMEPAGE="http://jpj.net/~trevor/aumix.html" +SRC_URI="http://jpj.net/~trevor/aumix/releases/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86" +IUSE="gpm gtk nls" + +RDEPEND="sys-libs/ncurses + gpm? ( sys-libs/gpm ) + gtk? ( x11-libs/gtk+:2 ) + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +src_configure() { + local myconf + + use gtk || myconf="${myconf} --without-gtk" + use gpm || myconf="${myconf} --without-gpm" + + econf \ + $(use_enable nls) \ + --disable-dependency-tracking \ + ${myconf} +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS BUGS ChangeLog NEWS README TODO + + newinitd "${FILESDIR}"/aumix.rc6 aumix + + if use gtk; then + doicon data/aumix.xpm + make_desktop_entry aumix Aumix + fi +} diff --git a/media-sound/aumix/files/aumix.rc6 b/media-sound/aumix/files/aumix.rc6 new file mode 100644 index 000000000000..26634b6dff26 --- /dev/null +++ b/media-sound/aumix/files/aumix.rc6 @@ -0,0 +1,41 @@ +#!/sbin/openrc-run +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +depend() { + use modules hotplug coldplug alsasound +} + +checkconfig() { + if ! grep -q -E 'sound|OSS|sparcaudio' /proc/devices && [ ! -d /proc/asound ] ; then + eerror "Sound support has not been compiled into the kernel," + eerror "or is disabled. Please check that the correct modules" + eerror "is loaded." + return 1 + fi + # /dev/mixer can be a symlink + if [ ! -e /dev/mixer ] ; then + eerror "/dev/mixer does not exist, please create it, or load the" + eerror "correct modules to enable your card's mixer" + return 1 + fi +} + +start() { + checkconfig || return 1 + if [ -f /etc/aumixrc ] ; then + ebegin "Loading Mixer settings" + /usr/bin/aumix -f /etc/aumixrc -L >/dev/null 2>&1 + else + ebegin "Setting Mixer settings" + /usr/bin/aumix -v75 -c75 -w75 >/dev/null 2>&1 + fi + eend $? +} + +stop() { + checkconfig || return 1 + ebegin "Saving Mixer settings" + /usr/bin/aumix -f /etc/aumixrc -S >/dev/null 2>&1 + eend $? +} diff --git a/media-sound/aumix/metadata.xml b/media-sound/aumix/metadata.xml new file mode 100644 index 000000000000..c870d0eef0ab --- /dev/null +++ b/media-sound/aumix/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="project"> + <email>sound@gentoo.org</email> + <name>Gentoo Sound project</name> +</maintainer> +</pkgmetadata> |