summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 97064d7afacd0d444d2dfcd0b1b8a1ed05470f31 (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
44
45
46
47
# Maintainer: Christopher Snowhill <kode54@gmail.com>
# Contributor: katt <magunasu.b97@gmail.com>
# Contributor: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>

pkgname=gst-plugin-pipewire-git
_pkgbase=pipewire
pkgver=0.3.23.62.g22f6e8e3
_ver=${pkgver:0:3}
pkgrel=1
pkgdesc='Multimedia graph framework - pipewire plugin (git)'
depends=(pipewire libpipewire-$_ver.so gst-plugins-base-libs)
provides=(gst-plugin-pipewire)
conflicts=(gst-plugin-pipewire)
url=https://pipewire.org
license=(LGPL2.1)
arch=(x86_64)
makedepends=(git meson ninja valgrind gst-plugins-base)
source=(git+https://gitlab.freedesktop.org/pipewire/pipewire.git)
md5sums=('SKIP')

pkgver() {
    git -C ${_pkgbase} describe --long --tags | tr - .
}

build() {
    arch-meson ${_pkgbase} build \
        -D docs=disabled \
        -D man=disabled \
        -D systemd-system-service=disabled \
        -D audiotestsrc=disabled \
        -D videotestsrc=disabled \
        -D bluez5=disabled \
        -D ffmpeg=disabled \
        -D libcamera=disabled \
        -D jack=disabled -D pipewire-jack=disabled \
        -D sdl2=disabled \
        -D volume=disabled \
        -D vulkan=disabled \
        -D udevrulesdir=/usr/lib/udev/rules.d
    ninja -C build src/gst/libgstpipewire.so
}


package() {
    install -Dm755 build/src/gst/libgstpipewire.so "$pkgdir"/usr/lib/gstreamer-1.0/libgstpipewire.so
}