commit:     9d6f88e10e942ae8e3a475e1e842ce1c423d70ec
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 24 18:08:30 2021 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Fri Sep 24 18:15:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d6f88e1

media-sound/pulseaudio: Add metapackage for pulseaudio split packages

Bug: https://bugs.gentoo.org/536780
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>

 media-sound/pulseaudio/pulseaudio-15.0-r100.ebuild | 40 ++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/media-sound/pulseaudio/pulseaudio-15.0-r100.ebuild 
b/media-sound/pulseaudio/pulseaudio-15.0-r100.ebuild
new file mode 100644
index 00000000000..bc04ffed9af
--- /dev/null
+++ b/media-sound/pulseaudio/pulseaudio-15.0-r100.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit multilib-minimal
+
+DESCRIPTION="A networked sound server with an advanced plugin system"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/";
+SRC_URI=""
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
+
+LICENSE="metapackage"
+
+SLOT="0"
+
+IUSE="+alsa +alsa-plugin bluetooth +daemon +glib jack zeroconf"
+
+# TODO: Get rid of the REQUIRED_USE by adapting the consumers to the splits 
with correct USE deps and dropping IUSE here
+REQUIRED_USE="
+       !daemon? (
+               !alsa
+               !alsa-plugin
+               !bluetooth
+               !jack
+               !zeroconf
+       )
+"
+
+RDEPEND="
+       >=media-libs/libpulse-${PV}[glib?,${MULTILIB_USEDEP}]
+       daemon? ( 
>=media-sound/pulseaudio-daemon-${PV}[alsa?,bluetooth?,jack?,zeroconf?] )
+"
+DEPEND="${RDEPEND}"
+# TODO: Figure out alsa-plugin handling, where pulseaudio-daemon isn't a 
multilib-minimal package
+PDEPEND="alsa? ( alsa-plugin? ( 
>=media-plugins/alsa-plugins-1.0.27-r1[pulseaudio,${MULTILIB_USEDEP}] ) )"
+BDEPEND=""
+
+S="${WORKDIR}"

Reply via email to