Diff pamix-1.6 with a pamix-9999

/usr/portage/media-sound/pamix/pamix-9999.ebuild 2019-12-31 13:39:00.000000000 +0300
1 1
# Copyright 1999-2019 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=6
4
EAPI=7
5 5

  
6
SCM=""
7
[[ "${PV}" == 9999 ]] && SCM="git-r3"
8
inherit cmake-utils ${SCM}
9
unset SCM
6
inherit cmake
7

  
8
if [[ "${PV}" == 9999 ]] ; then
9
	inherit git-r3
10
fi
10 11

  
11 12
DESCRIPTION="A PulseAudio NCurses mixer"
12 13
HOMEPAGE="https://github.com/patroclos/PAmix"
......
17 18
if [[ ${PV} == 9999 ]] ; then
18 19
	EGIT_REPO_URI="https://github.com/patroclos/PAmix.git"
19 20
else
20
	SRC_URI="https://github.com/patroclos/PAmix/archive/${PV}.tar.gz -> ${P}.tar.gz"
21
	KEYWORDS="amd64 x86"
21
	SRC_URI="https://github.com/patroclos/PAmix/archive/v${PV}.tar.gz -> ${P}.tar.gz"
22
	KEYWORDS="~amd64 ~x86"
22 23
	S="${WORKDIR}/PAmix-${PV}"
23 24
fi
24 25

  
25 26
RDEPEND="media-sound/pulseaudio
26 27
	sys-libs/ncurses:0=[unicode?]"
27
DEPEND="sys-devel/autoconf-archive
28
DEPEND="${RDEPEND}"
29
BDEPEND="
28 30
	virtual/pkgconfig
29
	${RDEPEND}"
30

  
31
PATCHES=(
32
	"${FILESDIR}/${P}-ncurses_pkgconfig.patch"
33
)
31
"
34 32

  
35 33
src_configure() {
36 34
	local mycmakeargs=(
37 35
		-DWITH_UNICODE="$(usex unicode)"
38 36
	)
39
	cmake-utils_src_configure
37
	cmake_src_configure
40 38
}
Thank you!