summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@posteo.de>2017-03-02 23:50:23 +0100
committerMichael Palimaka <kensington@gentoo.org>2017-03-04 11:45:55 +1100
commit186a0830b77a03e94a40f4e8fc216946c48f2914 (patch)
treede883065e9a630619e726fb96d8f2e27878edd40 /media-sound
parentmedia-sound/pnmixer: update upstream maintainer (diff)
downloadgentoo-186a0830b77a03e94a40f4e8fc216946c48f2914.tar.gz
gentoo-186a0830b77a03e94a40f4e8fc216946c48f2914.tar.bz2
gentoo-186a0830b77a03e94a40f4e8fc216946c48f2914.zip
media-sound/pnmixer: fix live ebuild
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/pnmixer/pnmixer-9999.ebuild26
1 files 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() {