1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
7 [[ "${PV}" == 9999 ]] && SCM="git-r3"
8 inherit cmake-utils ${SCM}
11 DESCRIPTION="A PulseAudio NCurses mixer"
12 HOMEPAGE="https://github.com/patroclos/PAmix"
17 if [[ ${PV} == 9999 ]] ; then
18 EGIT_REPO_URI="https://github.com/patroclos/PAmix.git"
20 SRC_URI="https://github.com/patroclos/PAmix/archive/${PV}.tar.gz -> ${P}.tar.gz"
22 S="${WORKDIR}/PAmix-${PV}"
25 RDEPEND="media-sound/pulseaudio
26 sys-libs/ncurses:0=[unicode?]"
27 DEPEND="sys-devel/autoconf-archive
32 "${FILESDIR}/${P}-ncurses_pkgconfig.patch"
37 -DWITH_UNICODE="$(usex unicode)"
39 cmake-utils_src_configure