x11-plugins/wmamixer: add missing alsa-lib dependency
authorBernard Cafarelli <voyageur@gentoo.org>
Tue, 30 Jul 2019 20:36:43 +0000 (22:36 +0200)
committerBernard Cafarelli <voyageur@gentoo.org>
Tue, 30 Jul 2019 20:47:04 +0000 (22:47 +0200)
Closes: https://bugs.gentoo.org/690358
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
x11-plugins/wmamixer/wmamixer-1.0-r1.ebuild [new file with mode: 0644]

diff --git a/x11-plugins/wmamixer/wmamixer-1.0-r1.ebuild b/x11-plugins/wmamixer/wmamixer-1.0-r1.ebuild
new file mode 100644 (file)
index 0000000..a73c156
--- /dev/null
@@ -0,0 +1,33 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+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="media-libs/alsa-lib
+       x11-libs/libXpm
+       x11-libs/libXext
+       x11-libs/libX11"
+DEPEND="${RDEPEND}
+       x11-base/xorg-proto"
+
+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
+}