commit:     186a0830b77a03e94a40f4e8fc216946c48f2914
Author:     Julian Ospald <hasufell <AT> posteo <DOT> de>
AuthorDate: Thu Mar  2 22:50:23 2017 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sat Mar  4 00:45:55 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=186a0830

media-sound/pnmixer: fix live ebuild

 media-sound/pnmixer/pnmixer-9999.ebuild | 26 +++++++++++---------------
 1 file changed, 11 insertions(+), 15 deletions(-)

diff --git a/media-sound/pnmixer/pnmixer-9999.ebuild 
b/media-sound/pnmixer/pnmixer-9999.ebuild
index 472ca575804..9abf5137754 100644
--- a/media-sound/pnmixer/pnmixer-9999.ebuild
+++ b/media-sound/pnmixer/pnmixer-9999.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
 WANT_LIBTOOL=none
-inherit autotools eutils gnome2-utils git-r3
+inherit cmake-utils gnome2-utils git-r3
 
 DESCRIPTION="Volume mixer for the system tray"
 HOMEPAGE="https://github.com/nicklan/pnmixer";
@@ -15,27 +15,23 @@ EGIT_BRANCH="master"
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS=""
-IUSE="debug libnotify"
+IUSE="libnotify"
 
 RDEPEND="dev-libs/glib:2
        media-libs/alsa-lib
-       >=x11-libs/gtk+-3.6:3
+       >=x11-libs/gtk+-3.12:3
        x11-libs/libX11
        libnotify? ( x11-libs/libnotify )"
 DEPEND="${RDEPEND}
-       dev-util/intltool
+       sys-devel/gettext
        virtual/pkgconfig"
 
-src_prepare() {
-       eautoreconf
-}
-
 src_configure() {
-       econf \
-               $(use_with libnotify) \
-               $(use_enable debug) \
-               --enable-minimal-flags \
-               --with-gtk3
+       local mycmakeargs=(
+               -DWITH_LIBNOTIFY="$(usex libnotify)"
+       )
+
+       cmake-utils_src_configure
 }
 
 pkg_preinst() {

Reply via email to