Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/pamix/
Date: Sat, 30 Dec 2017 23:16:28
Message-Id: 1514675548.f22a8107e9fab131ce3bc4bdaff7f2886312595b.polynomial-c@gentoo
1 commit: f22a8107e9fab131ce3bc4bdaff7f2886312595b
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 30 23:12:28 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 30 23:12:28 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f22a8107
7
8 media-sound/pamix: Upstream now uses cmake instead of autotools.
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 media-sound/pamix/pamix-9999.ebuild | 12 +++++++++---
13 1 file changed, 9 insertions(+), 3 deletions(-)
14
15 diff --git a/media-sound/pamix/pamix-9999.ebuild b/media-sound/pamix/pamix-9999.ebuild
16 index 05816380caa..acdf22771d0 100644
17 --- a/media-sound/pamix/pamix-9999.ebuild
18 +++ b/media-sound/pamix/pamix-9999.ebuild
19 @@ -5,7 +5,7 @@ EAPI=6
20
21 SCM=""
22 [[ "${PV}" == 9999 ]] && SCM="git-r3"
23 -inherit autotools ${SCM}
24 +inherit cmake-utils ${SCM}
25 unset SCM
26
27 DESCRIPTION="A PulseAudio NCurses mixer"
28 @@ -30,9 +30,15 @@ DEPEND="sys-devel/autoconf-archive
29
30 src_prepare() {
31 default
32 - eautoreconf
33 +
34 + # ugly hackaround for split tinfo ncurses libs
35 + sed '/link_libraries.*ncurses/s@\(")\)@" "tinfo\1@' \
36 + -i CMakeLists.txt || die
37 }
38
39 src_configure() {
40 - econf $(use_enable unicode)
41 + local mycmakeargs=(
42 + -DWITH_UNICODE="$(usex unicode)"
43 + )
44 + cmake-utils_src_configure
45 }