From 186a0830b77a03e94a40f4e8fc216946c48f2914 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Thu, 2 Mar 2017 23:50:23 +0100 Subject: [PATCH] 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 472ca5758042..9abf5137754d 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() { -- 2.26.2