commit: af91ed24e9307789c9b1946568f740426ff1df6d Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> AuthorDate: Fri Sep 24 20:32:51 2021 +0000 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> CommitDate: Fri Sep 24 20:33:10 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af91ed24
media-sound/pulseaudio-daemon: Install manpages Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> .../pulseaudio-daemon/files/15.0-daemon-only.patch | 25 ++++++++++++++++++++-- .../pulseaudio-daemon-15.0.ebuild | 24 ++++++++++----------- 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 9b18310f9e2..4d99c1ebe63 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 <m...@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 e0d3851c214..73a2602a4bf 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