mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-09-06 16:56:00 +00:00
![Evgeniy Khramtsov](/assets/img/avatar_default.png)
alsa-lib >= 1.1.7 is now in FreeBSD ports, install it from pkg instead of building locally
26 lines
948 B
YAML
26 lines
948 B
YAML
task:
|
|
freebsd_instance:
|
|
matrix:
|
|
- image_family: freebsd-11-4-snap
|
|
- image_family: freebsd-13-0-snap
|
|
env:
|
|
# /usr/ports/Mk/Uses/localbase.mk localbase:ldflags
|
|
LOCALBASE: /usr/local
|
|
CFLAGS: -isystem $LOCALBASE/include
|
|
CPPFLAGS: $CFLAGS
|
|
CXXFLAGS: $CFLAGS
|
|
LDFLAGS: -L$LOCALBASE/lib
|
|
deps_script:
|
|
- sed -i.bak -e 's/quarterly/latest/' /etc/pkg/FreeBSD.conf
|
|
- pkg install -y meson pkgconf dbus glib libepoll-shim libudev-devd vulkan-loader vulkan-headers gstreamer1 gstreamer1-plugins libinotify gettext libsndfile sdl2 alsa-lib
|
|
- sysrc dbus_enable=YES
|
|
- service dbus restart
|
|
build_script:
|
|
- mkdir build
|
|
- cd build
|
|
- meson setup -Dalsa=enabled -Dpipewire-alsa=enabled -Dbluez5=disabled -Djack=disabled -Dmedia-session=enabled -Dpipewire-jack=disabled -Dpw-cat=enabled -Dv4l2=disabled -Dsdl2=enabled -Dsystemd=disabled ..
|
|
- ninja
|
|
test_script:
|
|
- cd build
|
|
- ninja test
|