mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2026-02-05 01:30:13 +01:00
Updating hyprwire build order
On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: install-scripts/hyprland.sh
This commit is contained in:
parent
2357e80e00
commit
f3725662ba
@ -91,11 +91,23 @@ USE_SYSTEM=${USE_SYSTEM_HYPRLIBS:-1}
|
|||||||
if [ "$USE_SYSTEM" = "1" ]; then
|
if [ "$USE_SYSTEM" = "1" ]; then
|
||||||
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:${PKG_CONFIG_PATH:-}"
|
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:${PKG_CONFIG_PATH:-}"
|
||||||
export CMAKE_PREFIX_PATH="/usr/local:${CMAKE_PREFIX_PATH:-}"
|
export CMAKE_PREFIX_PATH="/usr/local:${CMAKE_PREFIX_PATH:-}"
|
||||||
SYSTEM_FLAGS=("-DUSE_SYSTEM_HYPRUTILS=ON" "-DUSE_SYSTEM_HYPRLANG=ON")
|
SYSTEM_FLAGS=(
|
||||||
|
"-DUSE_SYSTEM_HYPRUTILS=ON"
|
||||||
|
"-DUSE_SYSTEM_HYPRLANG=ON"
|
||||||
|
"-DUSE_SYSTEM_HYPRWIRE=ON"
|
||||||
|
)
|
||||||
|
# Optional preflight: verify hyprwire is discoverable by CMake/pkg-config
|
||||||
|
if [ ! -e "/usr/local/lib/cmake/Hyprwire/HyprwireConfig.cmake" ] && ! pkg-config --exists hyprwire 2>/dev/null; then
|
||||||
|
echo "${NOTE} hyprwire not detected in /usr/local yet. Ensure install-scripts/hyprwire.sh ran successfully or set USE_SYSTEM_HYPRLIBS=0 to use subprojects."
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
# Ensure we do not accidentally pick up mismatched system headers
|
# Ensure we do not accidentally pick up mismatched system headers
|
||||||
unset PKG_CONFIG_PATH || true
|
unset PKG_CONFIG_PATH || true
|
||||||
SYSTEM_FLAGS=("-DUSE_SYSTEM_HYPRUTILS=OFF" "-DUSE_SYSTEM_HYPRLANG=OFF")
|
SYSTEM_FLAGS=(
|
||||||
|
"-DUSE_SYSTEM_HYPRUTILS=OFF"
|
||||||
|
"-DUSE_SYSTEM_HYPRLANG=OFF"
|
||||||
|
"-DUSE_SYSTEM_HYPRWIRE=OFF"
|
||||||
|
)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Make sure submodules are present when building bundled deps
|
# Make sure submodules are present when building bundled deps
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user