commit:     6ce17ec758186008eb22a900e4fbb01ae9228534
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon May 29 09:45:08 2023 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon May 29 12:20:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ce17ec7

media-sound/pamix: EAPI 8 bump, switch to media-libs/libpulse

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../{pamix-9999.ebuild => pamix-1.6-r3.ebuild}      | 21 +++++++++++++--------
 media-sound/pamix/pamix-9999.ebuild                 | 12 +++++-------
 2 files changed, 18 insertions(+), 15 deletions(-)

diff --git a/media-sound/pamix/pamix-9999.ebuild 
b/media-sound/pamix/pamix-1.6-r3.ebuild
similarity index 68%
copy from media-sound/pamix/pamix-9999.ebuild
copy to media-sound/pamix/pamix-1.6-r3.ebuild
index a8baa4c57b38..72606c883207 100644
--- a/media-sound/pamix/pamix-9999.ebuild
+++ b/media-sound/pamix/pamix-1.6-r3.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit cmake
 
@@ -10,11 +10,11 @@ if [[ ${PV} == *9999 ]] ; then
        inherit git-r3
 else
        SRC_URI="https://github.com/patroclos/PAmix/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-       KEYWORDS="~amd64 ~x86"
+       KEYWORDS="amd64 x86"
        S="${WORKDIR}/PAmix-${PV}"
 fi
 
-DESCRIPTION="A PulseAudio NCurses mixer"
+DESCRIPTION="PulseAudio NCurses mixer"
 HOMEPAGE="https://github.com/patroclos/PAmix";
 
 LICENSE="MIT"
@@ -22,13 +22,18 @@ SLOT="0"
 IUSE="+unicode"
 
 RDEPEND="
-       media-sound/pulseaudio
+       media-libs/libpulse
        sys-libs/ncurses:=[unicode(+)?]
 "
 DEPEND="${RDEPEND}"
-BDEPEND="
-       virtual/pkgconfig
-"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+       "${FILESDIR}/${P}-ncurses_pkgconfig.patch"
+       "${FILESDIR}/${P}-xdgconfigdir.patch"
+       "${FILESDIR}/${P}-fix-output-scrolling.patch"
+       "${FILESDIR}/${P}-fix-ncurses-freezing.patch"
+)
 
 src_prepare() {
        cmake_src_prepare

diff --git a/media-sound/pamix/pamix-9999.ebuild 
b/media-sound/pamix/pamix-9999.ebuild
index a8baa4c57b38..e1631975ab6e 100644
--- a/media-sound/pamix/pamix-9999.ebuild
+++ b/media-sound/pamix/pamix-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit cmake
 
@@ -14,7 +14,7 @@ else
        S="${WORKDIR}/PAmix-${PV}"
 fi
 
-DESCRIPTION="A PulseAudio NCurses mixer"
+DESCRIPTION="PulseAudio NCurses mixer"
 HOMEPAGE="https://github.com/patroclos/PAmix";
 
 LICENSE="MIT"
@@ -22,13 +22,11 @@ SLOT="0"
 IUSE="+unicode"
 
 RDEPEND="
-       media-sound/pulseaudio
+       media-libs/libpulse
        sys-libs/ncurses:=[unicode(+)?]
 "
 DEPEND="${RDEPEND}"
-BDEPEND="
-       virtual/pkgconfig
-"
+BDEPEND="virtual/pkgconfig"
 
 src_prepare() {
        cmake_src_prepare

Reply via email to