Fix boom3-lr build issue.

This commit is contained in:
fewtarius 2023-10-12 01:25:39 +00:00
parent d43f0d55a6
commit 3f957ba4f6
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -6,7 +6,7 @@ PKG_VERSION="0bea79abf5ec8262dfe9af73cb8c54ea6e2aeb98"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/libretro/boom3"
PKG_URL="https://github.com/libretro/boom3/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain boom3-lr:host"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Doom3 - dhewm3 port to libretro."
PKG_TOOLCHAIN="make"
@ -16,14 +16,11 @@ elif [ "${OPENGLES_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
fi
PKG_MAKE_OPTS_HOST=" -C neo BASE=1"
makeinstall_host() {
:
make_target() {
make -C neo BASE=1
make -C neo D3XP=1
}
PKG_MAKE_OPTS_TARGET=" -C neo D3XP=1"
makeinstall_target() {
mkdir -p ${INSTALL}/usr/lib/libretro
cp -v ${PKG_BUILD}/neo/boom3_libretro.so ${INSTALL}/usr/lib/libretro/