pkgbase = pulseaudio
	pkgdesc = A featureful, general-purpose sound server
	pkgver = 17.0
	pkgrel = 3.1
	url = https://www.freedesktop.org/wiki/Software/PulseAudio/
	arch = x86_64
	arch = powerpc64le
	arch = powerpc64
	arch = powerpc
	arch = riscv64
	license = LGPL-2.1-or-later
	makedepends = alsa-lib
	makedepends = attr
	makedepends = avahi
	makedepends = bluez
	makedepends = bluez-libs
	makedepends = check
	makedepends = dbus
	makedepends = doxygen
	makedepends = fftw
	makedepends = git
	makedepends = gst-plugins-base-libs
	makedepends = gtk3
	makedepends = jack2
	makedepends = libasyncns
	makedepends = libcap
	makedepends = libsm
	makedepends = libsndfile
	makedepends = libsoxr
	makedepends = libxtst
	makedepends = lirc
	makedepends = meson
	makedepends = openssl
	makedepends = orc
	makedepends = rtkit
	makedepends = sbc
	makedepends = speexdsp
	makedepends = systemd
	makedepends = tdb
	makedepends = valgrind
	makedepends = webrtc-audio-processing-1
	makedepends = xmltoman
	source = git+https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git#commit=1f020889c9aa44ea0f63d7222e8c2b62c3f45f68
	b2sums = SKIP

pkgname = pulseaudio
	install = pulseaudio.install
	depends = alsa-lib
	depends = fftw
	depends = libcap
	depends = libltdl
	depends = libpulse=17.0-3.1
	depends = libsm
	depends = libsoxr
	depends = libxtst
	depends = orc
	depends = rtkit
	depends = speexdsp
	depends = tdb
	depends = webrtc-audio-processing-1
	optdepends = pulseaudio-alsa: ALSA configuration (recommended)
	optdepends = pulseaudio-bluetooth: Bluetooth support
	optdepends = pulseaudio-equalizer: Graphical equalizer
	optdepends = pulseaudio-jack: Jack support
	optdepends = pulseaudio-lirc: IR (lirc) support
	optdepends = pulseaudio-rtp: RTP and RAOP support
	optdepends = pulseaudio-zeroconf: Zeroconf support
	provides = pulse-native-provider
	conflicts = pipewire-pulse
	replaces = pulseaudio-gconf<=11.1
	replaces = pulseaudio-xen<=9.0
	backup = etc/pulse/daemon.conf
	backup = etc/pulse/default.pa
	backup = etc/pulse/system.pa

pkgname = libpulse
	pkgdesc = A featureful, general-purpose sound server (client library)
	license = LGPL
	depends = dbus
	depends = libasyncns
	depends = libsndfile
	depends = libxcb
	depends = systemd
	optdepends = glib2: mainloop integration
	optdepends = pulse-native-provider: PulseAudio backend
	provides = libpulse-mainloop-glib.so
	provides = libpulse-simple.so
	provides = libpulse.so
	backup = etc/pulse/client.conf

pkgname = pulseaudio-zeroconf
	pkgdesc = Zeroconf support for PulseAudio
	depends = avahi
	depends = pulseaudio=17.0-3.1

pkgname = pulseaudio-lirc
	pkgdesc = IR (lirc) support for PulseAudio
	depends = lirc
	depends = pulseaudio=17.0-3.1

pkgname = pulseaudio-jack
	pkgdesc = Jack support for PulseAudio
	depends = jack
	depends = pulseaudio=17.0-3.1

pkgname = pulseaudio-bluetooth
	pkgdesc = Bluetooth support for PulseAudio
	depends = bluez
	depends = bluez-libs
	depends = gst-plugins-base-libs
	depends = pulseaudio=17.0-3.1
	depends = sbc
	optdepends = gst-plugins-bad: AptX and LDAC support

pkgname = pulseaudio-equalizer
	pkgdesc = Graphical equalizer for PulseAudio
	depends = pulseaudio=17.0-3.1
	depends = python-dbus
	depends = python-pyqt5

pkgname = pulseaudio-rtp
	pkgdesc = RTP and RAOP support for PulseAudio
	depends = gst-plugins-base
	depends = gst-plugins-base-libs
	depends = gst-plugins-good
	depends = openssl
	depends = pulseaudio=17.0-3.1
