mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
scripts: build_freebsd_engine: remove building SDL2, as it will be installed from ports, use /bin/sh as interpreter
This commit is contained in:
parent
cd715178d2
commit
cf35943f51
@ -1,5 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
|
|
||||||
if [ "$1" = "dedicated" ]; then
|
if [ "$1" = "dedicated" ]; then
|
||||||
APP=xashds
|
APP=xashds
|
||||||
@ -7,20 +6,6 @@ else # elif [ "$1" = "full" ]; then
|
|||||||
APP=xash3d-fwgs
|
APP=xash3d-fwgs
|
||||||
fi
|
fi
|
||||||
|
|
||||||
build_sdl2()
|
|
||||||
{
|
|
||||||
cd "$CIRRUS_WORKING_DIR"/SDL2_src || die
|
|
||||||
./configure --disable-render --disable-haptic --disable-power --disable-filesystem \
|
|
||||||
--disable-file --disable-libudev --disable-dbus --disable-ibus \
|
|
||||||
--disable-ime --disable-fcitx \
|
|
||||||
--enable-alsa-shared --enable-pulseaudio-shared \
|
|
||||||
--enable-wayland-shared --enable-x11-shared \
|
|
||||||
--prefix / || die # get rid of /usr/local stuff
|
|
||||||
make -j2 || die
|
|
||||||
mkdir -p "$CIRRUS_WORKING_DIR"/SDL2_bsd
|
|
||||||
make install DESTDIR="$CIRRUS_WORKING_DIR"/SDL2_bsd || die
|
|
||||||
}
|
|
||||||
|
|
||||||
build_engine()
|
build_engine()
|
||||||
{
|
{
|
||||||
# Build engine
|
# Build engine
|
||||||
@ -39,7 +24,4 @@ build_engine()
|
|||||||
|
|
||||||
rm -rf build # clean-up build directory
|
rm -rf build # clean-up build directory
|
||||||
|
|
||||||
if [ $APP != "xashds" ]; then
|
|
||||||
build_sdl2
|
|
||||||
fi
|
|
||||||
build_engine
|
build_engine
|
||||||
|
Loading…
x
Reference in New Issue
Block a user