summaryrefslogtreecommitdiff
path: root/repo/media/pipewire.xibuild
blob: a3a1cecf9b28515ca410058fc39c27c9635edfb2 (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/$PKG_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
}