pkgbase = pipewire
	pkgdesc = Low-latency audio/video router and processor
	pkgver = 1.2.7
	pkgrel = 1
	epoch = 1
	url = https://pipewire.org
	arch = x86_64
	arch = powerpc64le
	arch = powerpc64
	arch = powerpc
	arch = riscv64
	license = MIT
	checkdepends = desktop-file-utils
	checkdepends = openal
	makedepends = alsa-lib
	makedepends = avahi
	makedepends = bluez-libs
	makedepends = dbus
	makedepends = doxygen
	makedepends = git
	makedepends = glib2
	makedepends = glib2-devel
	makedepends = graphviz
	makedepends = gst-plugins-base
	makedepends = jack2
	makedepends = libcamera
	makedepends = libcanberra
	makedepends = libfdk-aac
	makedepends = libffado
	makedepends = libfreeaptx
	makedepends = liblc3
	makedepends = libldac
	makedepends = libmysofa
	makedepends = libpulse
	makedepends = libsndfile
	makedepends = libusb
	makedepends = libx11
	makedepends = libxfixes
	makedepends = lilv
	makedepends = meson
	makedepends = ncurses
	makedepends = opus
	makedepends = python-docutils
	makedepends = readline
	makedepends = roc-toolkit
	makedepends = rtkit
	makedepends = sbc
	makedepends = sdl2
	makedepends = systemd
	makedepends = valgrind
	makedepends = webrtc-audio-processing-1
	source = git+https://gitlab.freedesktop.org/pipewire/pipewire.git#tag=1.2.7
	b2sums = c2941d8400e5299da86239967179f15ed69cc0142d5cf5adc510585ce85ff2e49b975c7adc39146a16a9bd130b3f4a9db51c6c470c9cc6a05913a5c38f214635

pkgname = pipewire
	install = pipewire.install
	license = MIT
	license = LGPL-2.1-or-later
	depends = libpipewire=1:1.2.7-1
	depends = gcc-libs
	depends = glibc
	depends = libpipewire-0.3.so
	depends = libdbus-1.so
	depends = libglib-2.0.so
	depends = libncursesw.so
	depends = libreadline.so
	depends = libsystemd.so
	depends = libudev.so
	optdepends = gst-plugin-pipewire: GStreamer plugin
	optdepends = pipewire-alsa: ALSA configuration
	optdepends = pipewire-audio: Audio support
	optdepends = pipewire-docs: Documentation
	optdepends = pipewire-ffado: FireWire support
	optdepends = pipewire-jack-client: PipeWire as JACK client
	optdepends = pipewire-jack: JACK replacement
	optdepends = pipewire-libcamera: Libcamera support
	optdepends = pipewire-pulse: PulseAudio replacement
	optdepends = pipewire-roc: ROC streaming
	optdepends = pipewire-session-manager: Session manager
	optdepends = pipewire-v4l2: V4L2 interceptor
	optdepends = pipewire-x11-bell: X11 bell
	optdepends = pipewire-zeroconf: Zeroconf support
	optdepends = realtime-privileges: realtime privileges with rt module
	optdepends = rtkit: realtime privileges with rtkit module

pkgname = libpipewire
	pkgdesc = Low-latency audio/video router and processor - client library
	depends = glibc
	depends = gcc-libs
	provides = libpipewire-0.3.so

pkgname = alsa-card-profiles
	pkgdesc = Low-latency audio/video router and processor - ALSA card profiles
	license = LGPL-2.1-or-later

pkgname = pipewire-docs
	pkgdesc = Low-latency audio/video router and processor - documentation

pkgname = pipewire-libcamera
	pkgdesc = Low-latency audio/video router and processor - Libcamera support
	depends = gcc-libs
	depends = glibc
	depends = libcamera-base.so
	depends = libcamera.so
	depends = pipewire

pkgname = pipewire-audio
	pkgdesc = Low-latency audio/video router and processor - Audio support
	depends = alsa-card-profiles
	depends = dbus
	depends = gcc-libs
	depends = glib2
	depends = glibc
	depends = libpipewire-0.3.so
	depends = libasound.so
	depends = libbluetooth.so
	depends = libfdk-aac.so
	depends = libfreeaptx.so
	depends = liblc3.so
	depends = libldacBT_enc.so
	depends = liblilv-0.so
	depends = libmysofa.so
	depends = libopus.so
	depends = libsbc.so
	depends = libsndfile.so
	depends = libusb-1.0.so
	depends = libwebrtc-audio-processing-1.so
	depends = pipewire
	depends = systemd-libs

pkgname = pipewire-alsa
	pkgdesc = Low-latency audio/video router and processor - ALSA configuration
	depends = pipewire
	depends = pipewire-audio
	depends = pipewire-session-manager

pkgname = pipewire-ffado
	pkgdesc = Low-latency audio/video router and processor - FireWire support
	depends = glibc
	depends = libffado.so
	depends = libpipewire-0.3.so
	depends = pipewire
	depends = pipewire-audio

pkgname = pipewire-jack-client
	pkgdesc = Low-latency audio/video router and processor - PipeWire as JACK client
	depends = gcc-libs
	depends = glibc
	depends = libpipewire-0.3.so
	depends = libdbus-1.so
	depends = libjack.so
	depends = pipewire
	depends = pipewire-audio
	conflicts = pipewire-jack

pkgname = pipewire-jack
	pkgdesc = Low-latency audio/video router and processor - JACK replacement
	license = MIT
	license = GPL-2.0-only
	license = LGPL-2.1-or-later
	depends = glibc
	depends = libpipewire-0.3.so
	depends = pipewire
	depends = pipewire-audio
	depends = pipewire-session-manager
	depends = sh
	optdepends = jack-example-tools: for official JACK example-clients and tools
	provides = jack
	provides = libjack.so
	provides = libjacknet.so
	provides = libjackserver.so
	conflicts = jack
	conflicts = jack2
	conflicts = pipewire-jack-client

pkgname = pipewire-pulse
	pkgdesc = Low-latency audio/video router and processor - PulseAudio replacement
	install = pipewire-pulse.install
	depends = dbus
	depends = dconf
	depends = gcc-libs
	depends = glibc
	depends = libpipewire-0.3.so
	depends = libavahi-client.so
	depends = libavahi-common.so
	depends = libglib-2.0.so
	depends = libpulse.so
	depends = pipewire
	depends = pipewire-audio
	depends = pipewire-session-manager
	depends = systemd-libs
	provides = pulse-native-provider
	conflicts = pulseaudio

pkgname = pipewire-roc
	pkgdesc = Low-latency audio/video router and processor - ROC streaming support
	depends = gcc-libs
	depends = glibc
	depends = libpipewire-0.3.so
	depends = libroc.so
	depends = pipewire
	depends = pipewire-audio
	depends = roc-toolkit

pkgname = gst-plugin-pipewire
	pkgdesc = Multimedia graph framework - pipewire plugin
	depends = gcc-libs
	depends = glib2
	depends = glibc
	depends = gst-plugins-base-libs
	depends = gstreamer
	depends = libpipewire-0.3.so
	depends = pipewire
	depends = pipewire-session-manager

pkgname = pipewire-zeroconf
	pkgdesc = Low-latency audio/video router and processor - Zeroconf support
	depends = gcc-libs
	depends = glibc
	depends = libpipewire-0.3.so
	depends = libavahi-client.so
	depends = libavahi-common.so
	depends = openssl
	depends = opus
	depends = pipewire
	depends = pipewire-audio

pkgname = pipewire-v4l2
	pkgdesc = Low-latency audio/video router and processor - V4L2 interceptor
	depends = glibc
	depends = libpipewire-0.3.so
	depends = pipewire
	depends = pipewire-session-manager
	depends = sh

pkgname = pipewire-x11-bell
	pkgdesc = Low-latency audio/video router and processor - X11 bell
	depends = glibc
	depends = libpipewire-0.3.so
	depends = libcanberra.so
	depends = libx11
	depends = libxfixes
	depends = pipewire
	depends = pipewire-audio

pkgname = pipewire-session-manager
	pkgdesc = Session manager for PipeWire (default provider)
	license = CC0-1.0
	depends = wireplumber

pkgname = pulse-native-provider
	pkgdesc = PulseAudio sound server (default provider)
	license = CC0-1.0
	depends = pipewire-pulse
