1 |
commit: 635494d3788266cc16df11d7512a27bedac1db22 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 3 22:34:33 2018 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 4 09:16:07 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=635494d3 |
7 |
|
8 |
x11-plugins/gkrellm-volume: Eclass update |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
.../gkrellm-volume/gkrellm-volume-2.1.13-r2.ebuild | 23 +++++++++++----------- |
13 |
1 file changed, 11 insertions(+), 12 deletions(-) |
14 |
|
15 |
diff --git a/x11-plugins/gkrellm-volume/gkrellm-volume-2.1.13-r2.ebuild b/x11-plugins/gkrellm-volume/gkrellm-volume-2.1.13-r2.ebuild |
16 |
index db88433d0fe..208a9d80056 100644 |
17 |
--- a/x11-plugins/gkrellm-volume/gkrellm-volume-2.1.13-r2.ebuild |
18 |
+++ b/x11-plugins/gkrellm-volume/gkrellm-volume-2.1.13-r2.ebuild |
19 |
@@ -1,7 +1,8 @@ |
20 |
-# Copyright 1999-2016 Gentoo Foundation |
21 |
+# Copyright 1999-2018 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
EAPI=6 |
25 |
+ |
26 |
inherit gkrellm-plugin toolchain-funcs |
27 |
|
28 |
DESCRIPTION="A mixer control plugin for gkrellm" |
29 |
@@ -13,22 +14,20 @@ SLOT="2" |
30 |
KEYWORDS="~alpha amd64 ~ppc ~sparc x86" |
31 |
IUSE="alsa" |
32 |
|
33 |
-DEPEND="alsa? ( media-libs/alsa-lib )" |
34 |
-RDEPEND="${DEPEND} |
35 |
- app-admin/gkrellm[X] |
36 |
-" |
37 |
- |
38 |
-S="${WORKDIR}/${PN}" |
39 |
- |
40 |
-PLUGIN_SO="volume.so" |
41 |
+RDEPEND=" |
42 |
+ app-admin/gkrellm:2[X] |
43 |
+ alsa? ( media-libs/alsa-lib )" |
44 |
+DEPEND="${RDEPEND}" |
45 |
|
46 |
+S=${WORKDIR}/${PN} |
47 |
PATCHES=( |
48 |
"${FILESDIR}/${P}-reenable.patch" |
49 |
"${FILESDIR}/${P}-makefile.patch" |
50 |
) |
51 |
|
52 |
+PLUGIN_SO=( volume$(get_modname) ) |
53 |
+ |
54 |
src_compile() { |
55 |
- local myconf="" |
56 |
- use alsa && myconf="${myconf} enable_alsa=1" |
57 |
- emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" "${myconf}" |
58 |
+ use alsa && local myconf="enable_alsa=1" |
59 |
+ emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" ${myconf} |
60 |
} |