Apply the same guard to gzdoom.

This commit is contained in:
fewtarius 2022-03-30 16:01:20 -04:00
parent c0790fc46f
commit 6ee7f7cb7d
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -34,7 +34,7 @@ PKG_CMAKE_OPTS_HOST=" -DZMUSIC_LIBRARIES=$(get_build_dir zmusic)/build_host/sour
pre_configure_target() {
PKG_CMAKE_OPTS_TARGET=" -DNO_GTK=ON \
-DFORCE_CROSSCOMPILE=ON \
-DIMPORT_EXECUTABLES=$PKG_BUILD/.$HOST_NAME/ImportExecutables.cmake \
-DIMPORT_EXECUTABLES=${PKG_BUILD}/.$HOST_NAME/ImportExecutables.cmake \
-DCMAKE_BUILD_TYPE=Release \
-DHAVE_GLES2=ON \
-DHAVE_VULKAN=OFF \
@ -42,13 +42,16 @@ PKG_CMAKE_OPTS_TARGET=" -DNO_GTK=ON \
}
makeinstall_target() {
mkdir -p $INSTALL/usr/bin
cp $PKG_DIR/gzdoom.sh $INSTALL/usr/bin/
cp $PKG_BUILD/.$TARGET_NAME/gzdoom $INSTALL/usr/bin
mkdir -p ${INSTALL}/usr/bin
cp ${PKG_DIR}/gzdoom.sh ${INSTALL}/usr/bin/
cp ${PKG_BUILD}/.$TARGET_NAME/gzdoom ${INSTALL}/usr/bin
mkdir -p $INSTALL/usr/config/game/gzdoom
cp $PKG_DIR/config/${DEVICE}/* $INSTALL/usr/config/game/gzdoom
cp $PKG_BUILD/.$TARGET_NAME/*.pk3 $INSTALL/usr/config/game/gzdoom
cp -r $PKG_BUILD/.$TARGET_NAME/soundfonts $INSTALL/usr/config/game/gzdoom
cp -r $PKG_BUILD/.$TARGET_NAME/fm_banks $INSTALL/usr/config/game/gzdoom
mkdir -p ${INSTALL}/usr/config/game/gzdoom
if [ -d "${PKG_DIR}/config/${DEVICE}" ]
then
cp ${PKG_DIR}/config/${DEVICE}/* ${INSTALL}/usr/config/game/gzdoom
fi
cp ${PKG_BUILD}/.$TARGET_NAME/*.pk3 ${INSTALL}/usr/config/game/gzdoom
cp -r ${PKG_BUILD}/.$TARGET_NAME/soundfonts ${INSTALL}/usr/config/game/gzdoom
cp -r ${PKG_BUILD}/.$TARGET_NAME/fm_banks ${INSTALL}/usr/config/game/gzdoom
}