iglunix/gui/pipewire/build.sh

41 lines
726 B
Bash
Raw Normal View History

2021-05-16 14:13:21 +00:00
pkgname=pipewire
pkgver=0.3.27
fetch() {
curl "https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/$pkgver/pipewire-$pkgver.tar.bz2" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
mkdir $pkgname-$pkgver/build
cp ../no-dbus.patch .
cd $pkgname-$pkgver
patch -p1 < ../no-dbus.patch
}
build() {
cd $pkgname-$pkgver
cd build
meson .. \
--buildtype=release \
--prefix=/usr \
--libexecdir=lib \
-Dbluez5=disabled \
-Dlibcamera=disabled \
-Dexamples=disabled \
-Dgstreamer=disabled \
2021-05-21 09:36:32 +00:00
-Dlibpulse=disabled \
-Dmedia-session=enabled \
-Dpw-cat=enabled
2021-05-16 14:13:21 +00:00
samu
}
package() {
cd $pkgname-$pkgver
cd build
DESTDIR=$pkgdir samu install
}
license() {
cd $pkgname-$pkgver
cat COPYING
}