summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2024-12-13 09:06:31 -0800
committerPatrick McLean <chutzpah@gentoo.org>2024-12-13 09:06:31 -0800
commit7141c6e4df2f27a7bbb6e50955c9e1deb306e8c2 (patch)
tree1952cf1b489bcebd5f9b801780b11a591857e8be /media-sound
parentapp-emacs/org-mode: Stabilize 9.7.15 ALLARCHES, #946381 (diff)
downloadgentoo-7141c6e4df2f27a7bbb6e50955c9e1deb306e8c2.tar.gz
gentoo-7141c6e4df2f27a7bbb6e50955c9e1deb306e8c2.tar.bz2
gentoo-7141c6e4df2f27a7bbb6e50955c9e1deb306e8c2.zip
media-sound/pavucontrol: add 6.1
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/pavucontrol/Manifest1
-rw-r--r--media-sound/pavucontrol/files/pavucontrol-6.1-docdir.patch13
-rw-r--r--media-sound/pavucontrol/pavucontrol-6.1.ebuild41
3 files changed, 55 insertions, 0 deletions
diff --git a/media-sound/pavucontrol/Manifest b/media-sound/pavucontrol/Manifest
index 33ea38be36bb..2efaa217b7c5 100644
--- a/media-sound/pavucontrol/Manifest
+++ b/media-sound/pavucontrol/Manifest
@@ -1 +1,2 @@
DIST pavucontrol-5.0.tar.xz 194248 BLAKE2B 9e6b9b7d94be51a4ad8b5310e031c4fed0f5299e67c770c9a573c0647edf27345014fb6504892fad29b9b5e79ce43ed312217dbed8e2b31b805f291531062903 SHA512 5673d783c2c819a68b49025c051bedd39f4caba446a479797b06569e24a96acc0924ba680d2416baff8c3211cfc7c94760d503900207fbe7c89c5cb2adaebec1
+DIST pavucontrol-6.1.tar.xz 169488 BLAKE2B 888fbe404482e5da5b59d10f913f174daa128029babbb9493df5df5d6d3c0b95e22d03a3ec2629fbcd4f33c6267f6e2173428d7eb9be8b7f4c7f012d3e777e92 SHA512 90a0d85916010f624928f6aa68524f776b0a529d84e75287739a07db48e4084767ca0caf75503e44e04d8add84b1d668ee9ed5b822b8f8f945cd902cdf78413a
diff --git a/media-sound/pavucontrol/files/pavucontrol-6.1-docdir.patch b/media-sound/pavucontrol/files/pavucontrol-6.1-docdir.patch
new file mode 100644
index 000000000000..55dd41921a37
--- /dev/null
+++ b/media-sound/pavucontrol/files/pavucontrol-6.1-docdir.patch
@@ -0,0 +1,13 @@
+diff --git a/meson.build b/meson.build
+index bc1a300..553abc1 100644
+--- a/meson.build
++++ b/meson.build
+@@ -28,7 +28,7 @@ configinc = include_directories('.')
+
+ prefix = get_option('prefix')
+ datadir = join_paths(prefix, get_option('datadir'))
+-docdir = join_paths(datadir, 'doc', 'pavucontrol')
++docdir = join_paths(datadir, 'doc', 'pavucontrol-' + meson.project_version())
+ localedir = join_paths(prefix, get_option('localedir'))
+
+ cdata = configuration_data()
diff --git a/media-sound/pavucontrol/pavucontrol-6.1.ebuild b/media-sound/pavucontrol/pavucontrol-6.1.ebuild
new file mode 100644
index 000000000000..8cc8143ff6a2
--- /dev/null
+++ b/media-sound/pavucontrol/pavucontrol-6.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Pulseaudio Volume Control, GTK based mixer for Pulseaudio"
+HOMEPAGE="https://freedesktop.org/software/pulseaudio/pavucontrol/"
+SRC_URI="https://freedesktop.org/software/pulseaudio/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="X"
+
+inherit meson
+
+RDEPEND="
+ dev-libs/json-glib
+ dev-cpp/gtkmm:4.0
+ X? ( media-libs/libcanberra-gtk3 )
+ dev-libs/libsigc++:3
+ >=media-libs/libpulse-15.0[glib]
+ virtual/freedesktop-icon-theme
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ sys-devel/gettext
+"
+
+PATCHES=(
+ "${FILESDIR}/pavucontrol-6.1-docdir.patch"
+)
+
+src_configure() {
+ local emesonargs=(
+ -Dlynx=false
+ )
+
+ meson_src_configure
+}