extra/pipewire to 0.3.19-1

This commit is contained in:
Kevin Mihelich 2021-01-05 14:55:55 +00:00
parent f758610097
commit 27455025f5

View file

@ -7,16 +7,17 @@
pkgbase=pipewire
pkgname=(pipewire pipewire-docs pipewire-jack pipewire-pulse pipewire-alsa
gst-plugin-pipewire)
pkgver=0.3.18
pkgver=0.3.19
pkgrel=1
pkgdesc="Server and user space API to deal with multimedia pipelines"
url="https://pipewire.org"
license=(LGPL2.1)
arch=(x86_64)
makedepends=(git meson doxygen graphviz xmltoman jack2 libpulse
alsa-lib gst-plugins-base sbc rtkit vulkan-icd-loader dbus
libsndfile bluez-libs vulkan-headers libopenaptx libldac)
_commit=e7dffd64ebff76e2388d6e694de96d6693a6ed7d # tags/0.3.18
alsa-lib gst-plugins-base sbc rtkit vulkan-icd-loader dbus sdl2
ncurses libsndfile bluez-libs vulkan-headers libldac libopenaptx
libfdk-aac)
_commit=b2b45abe0198354ff43e5bf1bc0324b060dde97a # tags/0.3.19
source=("git+https://github.com/PipeWire/pipewire#commit=$_commit")
sha256sums=('SKIP')
@ -27,9 +28,6 @@ pkgver() {
prepare() {
cd $pkgbase
# fix kwin
git cherry-pick -n fc2b0b20ad4271b0c6f258451a82311b792b7a57
}
build() {
@ -57,13 +55,14 @@ _ver=${pkgver:0:3}
package_pipewire() {
depends=(sbc rtkit vulkan-icd-loader bluez-libs alsa-card-profiles
libdbus-1.so libsndfile.so libudev.so libasound.so libsystemd.so
libldacBT_enc.so libopenaptx.so)
libdbus-1.so libncursesw.so libsndfile.so libudev.so libasound.so
libsystemd.so libldacBT_enc.so libopenaptx.so libfdk-aac.so)
optdepends=('pipewire-docs: Documentation'
'pipewire-jack: JACK support'
'pipewire-pulse: PulseAudio support')
provides=(libpipewire-$_ver.so)
backup=(etc/pipewire/pipewire.conf)
backup=(etc/pipewire/pipewire.conf
etc/pipewire/media-session.d/{alsa-monitor,media-session}.conf)
install=pipewire.install
DESTDIR="$pkgdir" meson install -C build
@ -113,8 +112,9 @@ package_pipewire-alsa() {
depends=(pipewire libpipewire-$_ver.so)
provides=(pulseaudio-alsa)
mkdir -p "$pkgdir/etc/alsa/conf.d"
mkdir -p "$pkgdir"/etc/{alsa/conf.d,pipewire/media-session.d}
ln -st "$pkgdir/etc/alsa/conf.d" /usr/share/alsa/alsa.conf.d/99-pipewire-default.conf
touch "$pkgdir/etc/pipewire/media-session.d/with-alsa"
}
package_gst-plugin-pipewire() {