- Detect multiarch via dpkg-architecture before a compiler exists - Add dpkg-dev, gettext, libgdk-pixbuf-2.0-dev to apt packages - Skip a step when the installed version is >= the pin (>= semantics) - Use the real libxkbcommon-xkbcommon-1.8.1 extract directory - Build wlroots with -Dbackends= -Dsession=disabled so no libxcb-*-dev is needed
11 lines
430 B
Bash
Executable file
11 lines
430 B
Bash
Executable file
#!/bin/sh
|
|
set -e
|
|
|
|
dir="$(CDPATH= cd -- "$(dirname "$0")" && pwd)"
|
|
multiarch="$(dpkg-architecture -qDEB_HOST_MULTIARCH 2>/dev/null || cc -print-multiarch 2>/dev/null || echo x86_64-linux-gnu)"
|
|
libdir="$HOME/.local/lib/$multiarch"
|
|
|
|
export GI_TYPELIB_PATH="$libdir/girepository-1.0${GI_TYPELIB_PATH:+:$GI_TYPELIB_PATH}"
|
|
export LD_LIBRARY_PATH="$libdir${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
|
|
|
|
exec uv run "$dir/tabbed_casilda.py" "$@"
|