testing/libpipewire02: new aport

parent e3fca97e
Pipeline #20054 passed with stages
in 1 minute and 58 seconds
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
_pkgname=pipewire
pkgname=libpipewire02
pkgver=0.2.7
pkgrel=0
pkgdesc="Multimedia processing graphs"
url="https://pipewire.org/"
arch="all"
license="LGPL-2.1-or-later"
makedepends="meson alsa-lib-dev libx11-dev sdl2-dev ffmpeg-dev eudev-dev dbus-dev
glib-dev sbc-dev bluez-dev jack-dev vulkan-loader-dev pulseaudio-dev"
depends="pipewire" # <- 0.3 daemon is compatible with legacy 0.2 version
options="!check" # no tests
subpackages="$pkgname-dev"
source="$_pkgname-$pkgver.tar.gz::https://github.com/PipeWire/pipewire/archive/$pkgver.tar.gz
fix-s390x.patch
"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
abuild-meson \
-Ddocs=false \
-Dman=false \
-Dgstreamer=disabled \
-Dexamples=false \
-Dffmpeg=false \
-Dsystemd=false \
. output
ninja -C output
}
package() {
DESTDIR="$pkgdir" ninja -C output install
# We only need to provide the legacy libraries and headers, as the daemon
# of pipewire 0.3 is compatible with the legacy libs
rm -rf "${pkgdir:?}/etc"
rm -rf "${pkgdir:?}/usr/bin"
}
sha512sums="10d3e20cc3d233fbcd1fc39702ae3043a656ebcd9cd3c39c77f0cc2bf42ff4956fc03e7933c7b397bca446c63f45ddacea948d5ec7e4a3300499fa2794f14334 pipewire-0.2.7.tar.gz
576a6fbb7d457bda70822a175a188b6f9dbf3b5cf9efa660e458f6d54ff6b88376821164534ec073f20b929d81c2232783f63612fc9ec5803bfe23356449f314 fix-s390x.patch"
diff --git a/src/modules/module-protocol-native.c b/src/modules/module-protocol-native.c
index 131657f..7b56863 100644
--- a/src/modules/module-protocol-native.c
+++ b/src/modules/module-protocol-native.c
@@ -58,6 +58,11 @@
#define UNIX_PATH_MAX 108
#endif
+/* Required for s390x */
+#ifndef SO_PEERSEC
+#define SO_PEERSEC 31
+#endif
+
static bool debug_messages = 0;
#define LOCK_SUFFIX ".lock"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment