From: Lars Wendler Date: Sat, 30 Dec 2017 23:12:28 +0000 (+0100) Subject: media-sound/pamix: Upstream now uses cmake instead of autotools. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f22a8107e9fab131ce3bc4bdaff7f2886312595b;p=gentoo.git media-sound/pamix: Upstream now uses cmake instead of autotools. Package-Manager: Portage-2.3.19, Repoman-2.3.6 --- diff --git a/media-sound/pamix/pamix-9999.ebuild b/media-sound/pamix/pamix-9999.ebuild index 05816380caad..acdf22771d05 100644 --- a/media-sound/pamix/pamix-9999.ebuild +++ b/media-sound/pamix/pamix-9999.ebuild @@ -5,7 +5,7 @@ EAPI=6 SCM="" [[ "${PV}" == 9999 ]] && SCM="git-r3" -inherit autotools ${SCM} +inherit cmake-utils ${SCM} unset SCM DESCRIPTION="A PulseAudio NCurses mixer" @@ -30,9 +30,15 @@ DEPEND="sys-devel/autoconf-archive src_prepare() { default - eautoreconf + + # ugly hackaround for split tinfo ncurses libs + sed '/link_libraries.*ncurses/s@\(")\)@" "tinfo\1@' \ + -i CMakeLists.txt || die } src_configure() { - econf $(use_enable unicode) + local mycmakeargs=( + -DWITH_UNICODE="$(usex unicode)" + ) + cmake-utils_src_configure }