iglunix/gui/pipewire/build.sh

72 lines
1.3 KiB
Bash
Raw Normal View History

2021-05-16 14:13:21 +00:00
pkgname=pipewire
2021-12-26 12:40:14 +00:00
pkgver=0.3.42
2021-05-16 14:13:21 +00:00
fetch() {
2021-12-26 12:40:14 +00:00
curl "https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/$pkgver/pipewire-$pkgver.tar.bz2" -o $pkgname-$pkgver.tar.bz2
tar -xf $pkgname-$pkgver.tar.bz2
2021-05-16 14:13:21 +00:00
mkdir $pkgname-$pkgver/build
}
build() {
cd $pkgname-$pkgver
cd build
meson .. \
--buildtype=release \
--prefix=/usr \
--libexecdir=lib \
2021-12-26 12:40:14 +00:00
-Ddocs=disabled \
2021-05-16 14:13:21 +00:00
-Dexamples=disabled \
2021-12-26 12:40:14 +00:00
-Dman=disabled \
-Dinstalled_tests=disabled \
2021-05-16 14:13:21 +00:00
-Dgstreamer=disabled \
2021-12-26 12:40:14 +00:00
-Dsystemd=disabled \
-Dpipewire-jack=disabled \
-Dpipewire-alsa=enabled \
-Dpipewire-v4l2=disabled \
-Dspa-plugins=enabled \
-Dalsa=enabled \
-Daudiomixer=enabled \
-Dbluez5=disabled \
-Dcontrol=enabled \
-Daudiotestsrc=enabled \
-Dffmpeg=disabled \
-Djack=disabled \
-Dsupport=enabled \
-Devl=disabled \
-Dv4l2=disabled \
-Ddbus=enabled \
-Dlibcamera=disabled \
-Dvideoconvert=disabled \
-Dvideotestsrc=disabled \
-Dvolume=enabled \
-Dvulkan=disabled \
-Dpw-cat=disabled \
-Dudev=disabled \
-Dsdl2=disabled \
-Dsndfile=disabled \
2021-05-21 09:36:32 +00:00
-Dlibpulse=disabled \
2021-12-26 12:40:14 +00:00
-Droc=disabled \
-Davahi=disabled \
-Dlibusb=disabled \
-Draop=disabled \
-Dlv2=disabled \
-Dsession-managers="[]"
2021-05-16 14:13:21 +00:00
samu
}
package() {
cd $pkgname-$pkgver
cd build
DESTDIR=$pkgdir samu install
}
2021-12-26 12:40:14 +00:00
backup() {
return
}
2021-05-16 14:13:21 +00:00
license() {
cd $pkgname-$pkgver
cat COPYING
}