media-sound/pnmixer: fix live ebuild
authorJulian Ospald <hasufell@posteo.de>
Thu, 2 Mar 2017 22:50:23 +0000 (23:50 +0100)
committerMichael Palimaka <kensington@gentoo.org>
Sat, 4 Mar 2017 00:45:55 +0000 (11:45 +1100)
media-sound/pnmixer/pnmixer-9999.ebuild

index 472ca57580426b99863fac6b1f7771fad95dba5f..9abf5137754dc1828f3a24595706a37f36b50fcf 100644 (file)
@@ -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() {