summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2017-11-27 12:25:47 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2017-11-27 13:28:50 +0100
commitff565a72c96b1151dec6de4027b1c8395a7958d6 (patch)
treea058a5525fb5138cc395310550825a89a7392785 /x11-plugins/wmamixer
parentx11-plugins/wmsmixer: update homepage and SRC_URI (diff)
downloadgentoo-ff565a72c96b1151dec6de4027b1c8395a7958d6.tar.gz
gentoo-ff565a72c96b1151dec6de4027b1c8395a7958d6.tar.bz2
gentoo-ff565a72c96b1151dec6de4027b1c8395a7958d6.zip
x11-plugins/wmamixer: initial commit
Based on wmsmixer code and ebuild Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'x11-plugins/wmamixer')
-rw-r--r--x11-plugins/wmamixer/Manifest1
-rw-r--r--x11-plugins/wmamixer/metadata.xml14
-rw-r--r--x11-plugins/wmamixer/wmamixer-0.2.ebuild31
3 files changed, 46 insertions, 0 deletions
diff --git a/x11-plugins/wmamixer/Manifest b/x11-plugins/wmamixer/Manifest
new file mode 100644
index 000000000000..3d115b6e420c
--- /dev/null
+++ b/x11-plugins/wmamixer/Manifest
@@ -0,0 +1 @@
+DIST wmamixer-0.2.tar.gz 93067 BLAKE2B 9e888b9b3214eee6c8e59da564e36e8f7c1e55df711ebeaaf73300b27b934840994177d003f2be14f40b5e30321c572e82888e030534ccc7cbe0ff12109231d4 SHA512 94f971ac59134f926b637c6c4ef80be1e082b9b81d2e744b921562140e610e958233645c0ee12310086f1aaa3bbb20622c6c92666dac51df3a963e725374583c
diff --git a/x11-plugins/wmamixer/metadata.xml b/x11-plugins/wmamixer/metadata.xml
new file mode 100644
index 000000000000..c8826bfc6573
--- /dev/null
+++ b/x11-plugins/wmamixer/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>voyageur@gentoo.org</email>
+ <name>Bernard Cafarelli</name>
+</maintainer>
+
+<longdescription>
+Wmamixer is a fork of wmsmixer and is an ALSA mixer dockapp for Window Maker.
+
+The code for the ALSA part was taken and adapted from amixer and alsamixer programs from alsa-utils package.
+</longdescription>
+</pkgmetadata>
diff --git a/x11-plugins/wmamixer/wmamixer-0.2.ebuild b/x11-plugins/wmamixer/wmamixer-0.2.ebuild
new file mode 100644
index 000000000000..a684fbdad792
--- /dev/null
+++ b/x11-plugins/wmamixer/wmamixer-0.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="ALSA mixer dockapp, fork of wmsmixer"
+HOMEPAGE="https://github.com/gryf/wmamixer"
+SRC_URI="https://github.com/gryf/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libXpm
+ x11-libs/libXext
+ x11-libs/libX11"
+DEPEND="${RDEPEND}
+ x11-proto/xproto"
+
+DOCS=( README.rst )
+src_compile() {
+ $(tc-getCC) ${CFLAGS} -c -o wmamixer.o wmamixer.c
+ $(tc-getCC) ${LDFLAGS} -o wmamixer wmamixer.o -lm -lXpm -lXext -lX11 -lasound
+}
+
+src_install() {
+ dobin wmamixer
+ einstalldocs
+}