From 093a427b1117737c8ff71d91e0e38af8687cedce Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Tue, 27 Apr 2021 20:05:29 +0300 Subject: [PATCH] cirrus: build media session on FreeBSD FreeBSD ports tree does not have alsa-lib >=1.1.7 yet, build the newer one locally in CI until a newer version of alsa-lib lands to the FreeBSD ports tree. --- .cirrus.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index e58594468..33b7bdcc8 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -11,14 +11,20 @@ task: CXXFLAGS: $CFLAGS LDFLAGS: -L$LOCALBASE/lib deps_script: + # alsa-lib >=1.1.7 is not in the FreeBSD ports tree yet (see FreeBSD PR/245321) + - fetch 'https://codeberg.org/ei/misc/raw/branch/main/alsa-lib-122-standalone-on-bb7b892.tar.xz' + - sha256 -c '9855f082e17d95c44785e8576e7460601a1746538f05253432bc271cd4deded6' alsa-lib-122-standalone-on-bb7b892.tar.xz + - tar -C / -xf alsa-lib-122-standalone-on-bb7b892.tar.xz + - cd /usr/ports/audio/alsa-lib + - make BATCH=yes install - 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 + - pkg install -y meson pkgconf dbus glib libepoll-shim libudev-devd vulkan-loader vulkan-headers gstreamer1 gstreamer1-plugins libinotify gettext libsndfile sdl2 - sysrc dbus_enable=YES - service dbus restart build_script: - mkdir build - cd build - - meson setup -Dalsa=disabled -Dpipewire-alsa=disabled -Dbluez5=disabled -Djack=disabled -Dpipewire-jack=disabled -Dpipewire-pulseaudio=disabled -Dv4l2=disabled -Dsystemd=disabled .. + - 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