Diff pamix-1.6-r3 with a pamix-2.0

/usr/portage/media-sound/pamix/pamix-2.0.ebuild 2025-07-29 16:22:14.908457716 +0300
1
# Copyright 1999-2023 Gentoo Authors
1
# Copyright 1999-2025 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
......
9 9
	EGIT_REPO_URI="https://github.com/patroclos/PAmix.git"
10 10
	inherit git-r3
11 11
else
12
	SRC_URI="https://github.com/patroclos/PAmix/archive/v${PV}.tar.gz -> ${P}.tar.gz"
12
	SRC_URI="https://github.com/patroclos/PAmix/archive/${PV}.tar.gz -> ${P}.tar.gz"
13 13
	KEYWORDS="amd64 x86"
14 14
	S="${WORKDIR}/PAmix-${PV}"
15 15
fi
......
19 19

  
20 20
LICENSE="MIT"
21 21
SLOT="0"
22
IUSE="+unicode"
23 22

  
24 23
RDEPEND="
25 24
	media-libs/libpulse
26
	sys-libs/ncurses:=[unicode(+)?]
25
	sys-libs/ncurses:=[unicode(+)]
27 26
"
28 27
DEPEND="${RDEPEND}"
29 28
BDEPEND="virtual/pkgconfig"
30

  
31
PATCHES=(
32
	"${FILESDIR}/${P}-ncurses_pkgconfig.patch"
33
	"${FILESDIR}/${P}-xdgconfigdir.patch"
34
	"${FILESDIR}/${P}-fix-output-scrolling.patch"
35
	"${FILESDIR}/${P}-fix-ncurses-freezing.patch"
36
)
37

  
38
src_prepare() {
39
	cmake_src_prepare
40
	if [[ ${PV} != 9999 ]] ; then
41
		sed -e "/^include(CMakeGitDefines.cmake)/d" -i CMakeLists.txt || die
42
	fi
43
}
44

  
45
src_configure() {
46
	local mycmakeargs=(
47
		-DWITH_UNICODE="$(usex unicode)"
48
	)
49
	[[ ${PV} != 9999 ]] && mycmakeargs+=( -DGIT_VERSION=${PV} )
50
	cmake_src_configure
51
}
Thank you!