From aa3411e241a201d53a2689766fe419f2756819f3 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 24 Mar 2019 17:22:19 +0000 Subject: gentoo resync : 24.03.2019 --- media-sound/aumix/aumix-2.9.1.ebuild | 35 ++++++++++++++++++++++------------- 1 file changed, 22 insertions(+), 13 deletions(-) (limited to 'media-sound/aumix/aumix-2.9.1.ebuild') diff --git a/media-sound/aumix/aumix-2.9.1.ebuild b/media-sound/aumix/aumix-2.9.1.ebuild index fc6bf40487e4..deffad3e7208 100644 --- a/media-sound/aumix/aumix-2.9.1.ebuild +++ b/media-sound/aumix/aumix-2.9.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit desktop +inherit autotools desktop DESCRIPTION="Aumix volume/mixer control program" HOMEPAGE="http://jpj.net/~trevor/aumix.html" @@ -14,24 +14,33 @@ SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86" IUSE="gpm gtk nls" -RDEPEND="sys-libs/ncurses:0 +RDEPEND="sys-libs/ncurses:0= gpm? ( sys-libs/gpm ) gtk? ( x11-libs/gtk+:2 ) nls? ( virtual/libintl )" -DEPEND="${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" virtual/pkgconfig - nls? ( sys-devel/gettext )" + nls? ( sys-devel/gettext ) +" -src_configure() { - local myconf +PATCHES=( + "${FILESDIR}/${P}-tinfo.patch" #578722 +) - use gtk || myconf="${myconf} --without-gtk" - use gpm || myconf="${myconf} --without-gpm" +src_prepare() { + default + eautoreconf #578722 +} + +src_configure() { + local myeconfargs=( + $(use_enable nls) + $(usex gtk '' --without-gtk) + $(usex gpm '' --without-gpm) + ) - econf \ - $(use_enable nls) \ - --disable-dependency-tracking \ - ${myconf} + econf "${myeconfargs[@]}" } src_install() { -- cgit v1.2.3