aboutsummaryrefslogtreecommitdiffstats
path: root/community/pipewire/APKBUILD
blob: 80d3575e67c2fd13291f01b85d5b65f2816ae6a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=pipewire
pkgver=0.3.1
pkgrel=2
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 gstreamer-dev gst-plugins-base-dev sbc-dev doxygen xmltoman graphviz
	bluez-dev jack-dev vulkan-loader-dev pulseaudio-dev"
options="!check" # no tests
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/PipeWire/pipewire/archive/$pkgver.tar.gz
	fix-s390x.patch
	set-rpath.patch
	"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=plain \
		-Ddocs=true \
		-Dman=true \
		-Dgstreamer=true \
		-Dexamples=true \
		-Dffmpeg=true \
		-Dsystemd=false \
		. output
	ninja -C output
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="3b4a7a76a6dc9c72a454c21ac38d6bda858bf447d6e4844dbf53a977777038e439aa2a9d5c07a296c52bc7cdbd5e913e0fde12dcf974b69a9d2473b3eb1584ce  pipewire-0.3.1.tar.gz
576a6fbb7d457bda70822a175a188b6f9dbf3b5cf9efa660e458f6d54ff6b88376821164534ec073f20b929d81c2232783f63612fc9ec5803bfe23356449f314  fix-s390x.patch
197aeff89b88b28c82fad23fb404be95ca1bf1ddfff12778940d78be06aa0c59aa650d339094beaf1d3eb4b88dca4f8eabe40bf1820a683619e7d6fec8472357  set-rpath.patch"