Package-Manager: Portage-2.3.19, Repoman-2.3.6
SCM=""
[[ "${PV}" == 9999 ]] && SCM="git-r3"
-inherit autotools ${SCM}
+inherit cmake-utils ${SCM}
unset SCM
DESCRIPTION="A PulseAudio NCurses mixer"
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
}