summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2021-09-24 23:32:51 +0300
committerMart Raudsepp <leio@gentoo.org>2021-09-24 23:33:10 +0300
commitaf91ed24e9307789c9b1946568f740426ff1df6d (patch)
tree559b9c596f509cdb25ffcf1b209cb8f451ffcd43 /media-sound
parentmedia-libs/libpulse: Process systemd USE flag (diff)
downloadgentoo-af91ed24e9307789c9b1946568f740426ff1df6d.tar.gz
gentoo-af91ed24e9307789c9b1946568f740426ff1df6d.tar.bz2
gentoo-af91ed24e9307789c9b1946568f740426ff1df6d.zip
media-sound/pulseaudio-daemon: Install manpages
Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/pulseaudio-daemon/files/15.0-daemon-only.patch25
-rw-r--r--media-sound/pulseaudio-daemon/pulseaudio-daemon-15.0.ebuild24
2 files changed, 35 insertions, 14 deletions
diff --git a/media-sound/pulseaudio-daemon/files/15.0-daemon-only.patch b/media-sound/pulseaudio-daemon/files/15.0-daemon-only.patch
index 9b18310f9e24..4d99c1ebe639 100644
--- a/media-sound/pulseaudio-daemon/files/15.0-daemon-only.patch
+++ b/media-sound/pulseaudio-daemon/files/15.0-daemon-only.patch
@@ -1,9 +1,10 @@
-From 5bcbd2ba656ac38ba500dc110cc13dbaa0d77853 Mon Sep 17 00:00:00 2001
+From f4f28cc436a506d1dfbd514968b2976ab31cdf5f Mon Sep 17 00:00:00 2001
From: Mart Raudsepp <mart@leio.tech>
Date: Fri, 24 Sep 2021 15:19:05 +0300
Subject: [PATCH] build-sys: meson: Allow building the daemon only
---
+ man/meson.build | 2 ++
meson.build | 23 ++++++++++++++++++++---
meson_options.txt | 3 +++
po/meson.build | 3 ---
@@ -13,8 +14,28 @@ Subject: [PATCH] build-sys: meson: Allow building the daemon only
src/modules/gsettings/meson.build | 3 +--
src/tests/meson.build | 9 +++++++--
src/utils/meson.build | 10 ++++++----
- 9 files changed, 52 insertions(+), 16 deletions(-)
+ 10 files changed, 54 insertions(+), 16 deletions(-)
+diff --git a/man/meson.build b/man/meson.build
+index 31c581a8f..c12ad5e6a 100644
+--- a/man/meson.build
++++ b/man/meson.build
+@@ -14,6 +14,7 @@ if get_option('daemon')
+ ]
+ endif
+
++if not get_option('daemon-only')
+ manpages += [
+ ['pacat', '1', ['paplay', 'parec', 'parecord', 'pamon']],
+ ['pactl', '1'],
+@@ -31,6 +32,7 @@ if x11_dep.found()
+ ['pax11publish', '1'],
+ ]
+ endif
++endif
+
+ # FIXME: Add esdcompat if HAVE_ESOUND
+ #manpages += ['esdcompat', '1'],
diff --git a/meson.build b/meson.build
index 63ed62342..420cc6fac 100644
--- a/meson.build
diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.0.ebuild b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.0.ebuild
index e0d3851c2149..73a2602a4bff 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.0.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.0.ebuild
@@ -53,17 +53,6 @@ REQUIRED_USE="
zeroconf? ( dbus )
"
-BDEPEND="
- dev-lang/perl
- dev-perl/XML-Parser
- sys-devel/gettext
- virtual/libiconv
- virtual/libintl
- virtual/pkgconfig
- orc? ( >=dev-lang/orc-0.4.15 )
- system-wide? ( dev-util/unifdef )
-"
-
# NOTE:
# - libpcre needed in some cases, bug #472228
# - media-libs/speexdsp is providing echo canceller implementation and used in resampler
@@ -145,6 +134,17 @@ PDEPEND="
alsa? ( alsa-plugin? ( >=media-plugins/alsa-plugins-1.0.27-r1[pulseaudio] ) )
"
+BDEPEND="
+ dev-lang/perl
+ dev-perl/XML-Parser
+ sys-devel/gettext
+ virtual/libiconv
+ virtual/libintl
+ virtual/pkgconfig
+ orc? ( >=dev-lang/orc-0.4.15 )
+ system-wide? ( dev-util/unifdef )
+"
+
DOCS=( NEWS README )
S="${WORKDIR}/${MY_P}"
@@ -168,7 +168,7 @@ src_configure() {
-Ddaemon-only=true
-Ddoxygen=false
-Dgcov=false
- -Dman=false
+ -Dman=true
# tests involve random modules, so just do them for the native # TODO: tests should run always
$(meson_use test tests)
-Ddatabase=$(usex gdbm gdbm simple) # tdb is also an option but no one cares about it