Skip to content

Meson Build

Hi I've swapped my build over to meson then when running my build script wlr-protocols aren't being found. Yet I cloned from gitlab to include the protocols dir to make my build archive. The meson build script is looking for them with pkgconfig/cmake but they are part of the source? And not globally installed on the system. Any advice or help be much appreciated. Below the meson section of my build script.

mkdir build
cd build
  CFLAGS="$SLKCFLAGS" \
  CXXFLAGS="$SLKCFLAGS" \
meson setup \
    --prefix=/usr \
    --libdir=lib${LIBDIRSUFFIX} \
    --mandir=/usr/man \
    --sysconfdir=/etc \
    --localstatedir=/var \
    -Dx11=enabled \
    -Dwayland=enabled \
    --buildtype=release \
    .. || exit 1
  "${NINJA:=ninja}" $NUMJOBS || exit 1
  DESTDIR=$PKG $NINJA install || exit 1
  cd ..
Edited by Brian Tarricone
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information