summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 419bd9ab0b008bbd7178a3be06c9377f9931655f (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
# Maintainer: Nico <d3sox at protonmail dot com>
pkgname=pipewire-full
pkgver=0.3.43
pkgrel=1
pkgdesc="PipeWire is a server and user space API to deal with multimedia pipelines"
arch=('x86_64')
replaces=("pipewire" "pipewire-bin" "libpipewire-0.3-0" "libpipewire-0.3-modules" "libpipewire-0.3-dev" "libspa-0.2-modules" "libspa-0.2-dev")
provides=("pipewire=$pkgver" "pipewire-bin=$pkgver" "libpipewire-0.3-0=$pkgver" "libpipewire-0.3-modules=$pkgver" "libpipewire-0.3-dev=$pkgver" "libspa-0.2-modules=$pkgver" "libspa-0.2-dev=$pkgver")
url="https://pipewire.org"
license=('MIT')
makedepends=('meson>=0.54.0' 'ninja-build' 'libdbus-1-dev' 'libasound2-dev' 'libudev-dev')
source=("https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/$pkgver/pipewire-$pkgver.zip")
sha256sums=('d2e4fae773d2c1137d2f277d7fd5aed395361f26bef474f5d7c1e2b60dd8d187')

prepare() {
  cd "$srcdir/pipewire-$pkgver"
  meson setup builddir
}

build() {
  cd "$srcdir/pipewire-$pkgver"
  meson configure builddir -Dprefix=/usr
  ninja -C builddir
}

package() {
  cd "$srcdir/pipewire-$pkgver/builddir"
  DESTDIR="$pkgdir" meson install
}