summaryrefslogtreecommitdiff
path: root/repo/media/pipewire.xibuild
blob: 56f2eb1c84404177fca05358c35142a806a15ba1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

MAKEDEPS=(make)
DEPS=(bluez ffmpeg gstreamer gst-plugins-base libva pulseaudio sbc sdl2 v4l-utils)

DESC="Low-latency audio/video router and processor"

PKG_VER=0.3.47
SOURCE=https://github.com/PipeWire/pipewire/archive/$PLG_VER/pipewire-$PKG_VER.tar.gz

build () {
    mkdir build &&
    cd    build &&

    meson --prefix=/usr --buildtype=release -Dsession-managers= .. &&
    ninja
}

package () {
    DESTDIR=$PKG_DEST ninja install
}