1 |
commit: 186a0830b77a03e94a40f4e8fc216946c48f2914 |
2 |
Author: Julian Ospald <hasufell <AT> posteo <DOT> de> |
3 |
AuthorDate: Thu Mar 2 22:50:23 2017 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 4 00:45:55 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=186a0830 |
7 |
|
8 |
media-sound/pnmixer: fix live ebuild |
9 |
|
10 |
media-sound/pnmixer/pnmixer-9999.ebuild | 26 +++++++++++--------------- |
11 |
1 file changed, 11 insertions(+), 15 deletions(-) |
12 |
|
13 |
diff --git a/media-sound/pnmixer/pnmixer-9999.ebuild b/media-sound/pnmixer/pnmixer-9999.ebuild |
14 |
index 472ca575804..9abf5137754 100644 |
15 |
--- a/media-sound/pnmixer/pnmixer-9999.ebuild |
16 |
+++ b/media-sound/pnmixer/pnmixer-9999.ebuild |
17 |
@@ -1,10 +1,10 @@ |
18 |
-# Copyright 1999-2015 Gentoo Foundation |
19 |
+# Copyright 1999-2017 Gentoo Foundation |
20 |
# Distributed under the terms of the GNU General Public License v2 |
21 |
|
22 |
-EAPI=5 |
23 |
+EAPI=6 |
24 |
|
25 |
WANT_LIBTOOL=none |
26 |
-inherit autotools eutils gnome2-utils git-r3 |
27 |
+inherit cmake-utils gnome2-utils git-r3 |
28 |
|
29 |
DESCRIPTION="Volume mixer for the system tray" |
30 |
HOMEPAGE="https://github.com/nicklan/pnmixer" |
31 |
@@ -15,27 +15,23 @@ EGIT_BRANCH="master" |
32 |
LICENSE="GPL-3" |
33 |
SLOT="0" |
34 |
KEYWORDS="" |
35 |
-IUSE="debug libnotify" |
36 |
+IUSE="libnotify" |
37 |
|
38 |
RDEPEND="dev-libs/glib:2 |
39 |
media-libs/alsa-lib |
40 |
- >=x11-libs/gtk+-3.6:3 |
41 |
+ >=x11-libs/gtk+-3.12:3 |
42 |
x11-libs/libX11 |
43 |
libnotify? ( x11-libs/libnotify )" |
44 |
DEPEND="${RDEPEND} |
45 |
- dev-util/intltool |
46 |
+ sys-devel/gettext |
47 |
virtual/pkgconfig" |
48 |
|
49 |
-src_prepare() { |
50 |
- eautoreconf |
51 |
-} |
52 |
- |
53 |
src_configure() { |
54 |
- econf \ |
55 |
- $(use_with libnotify) \ |
56 |
- $(use_enable debug) \ |
57 |
- --enable-minimal-flags \ |
58 |
- --with-gtk3 |
59 |
+ local mycmakeargs=( |
60 |
+ -DWITH_LIBNOTIFY="$(usex libnotify)" |
61 |
+ ) |
62 |
+ |
63 |
+ cmake-utils_src_configure |
64 |
} |
65 |
|
66 |
pkg_preinst() { |