Gentoo Archives: gentoo-commits

From: Bernard Cafarelli <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmamixer/
Date: Tue, 30 Jul 2019 20:48:12
Message-Id: 1564519624.1dd944fb6ef06ade266522f8d01e812029e4adbf.voyageur@gentoo
1 commit: 1dd944fb6ef06ade266522f8d01e812029e4adbf
2 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 30 20:36:43 2019 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 30 20:47:04 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dd944fb
7
8 x11-plugins/wmamixer: add missing alsa-lib dependency
9
10 Closes: https://bugs.gentoo.org/690358
11 Package-Manager: Portage-2.3.69, Repoman-2.3.16
12 Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>
13
14 x11-plugins/wmamixer/wmamixer-1.0-r1.ebuild | 33 +++++++++++++++++++++++++++++
15 1 file changed, 33 insertions(+)
16
17 diff --git a/x11-plugins/wmamixer/wmamixer-1.0-r1.ebuild b/x11-plugins/wmamixer/wmamixer-1.0-r1.ebuild
18 new file mode 100644
19 index 00000000000..a73c156da7f
20 --- /dev/null
21 +++ b/x11-plugins/wmamixer/wmamixer-1.0-r1.ebuild
22 @@ -0,0 +1,33 @@
23 +# Copyright 1999-2019 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=7
27 +inherit toolchain-funcs
28 +
29 +DESCRIPTION="ALSA mixer dockapp, fork of wmsmixer"
30 +HOMEPAGE="https://github.com/gryf/wmamixer"
31 +SRC_URI="https://github.com/gryf/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
32 +
33 +LICENSE="GPL-2"
34 +SLOT="0"
35 +KEYWORDS="~amd64 ~x86"
36 +IUSE=""
37 +
38 +RDEPEND="media-libs/alsa-lib
39 + x11-libs/libXpm
40 + x11-libs/libXext
41 + x11-libs/libX11"
42 +DEPEND="${RDEPEND}
43 + x11-base/xorg-proto"
44 +
45 +DOCS=( README.rst )
46 +
47 +src_compile() {
48 + $(tc-getCC) ${CFLAGS} -c -o wmamixer.o wmamixer.c
49 + $(tc-getCC) ${LDFLAGS} -o wmamixer wmamixer.o -lm -lXpm -lXext -lX11 -lasound
50 +}
51 +
52 +src_install() {
53 + dobin wmamixer
54 + einstalldocs
55 +}