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

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
}