Merge pull request #1776 from fewtarius/dev

Fix headers issue for mupen64plus-sa-core and mupen64plus-sa-simplecore.
This commit is contained in:
fewtarius 2023-07-20 16:57:08 -04:00 committed by GitHub
commit 3b105e9882
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 5 deletions

View file

@ -7,7 +7,7 @@
name: release-dev name: release-dev
on: on:
schedule: schedule:
- cron: '0 3 * * *' - cron: '0 12 * * *'
workflow_dispatch: workflow_dispatch:
env: env:
BRANCH: dev BRANCH: dev

View file

@ -53,8 +53,14 @@ makeinstall_target() {
chmod 0644 ${INSTALL}/usr/local/share/mupen64plus/* chmod 0644 ${INSTALL}/usr/local/share/mupen64plus/*
rm -rf ${SYSROOT_PREFIX}/usr/local/include/mupen64plus/ rm -rf ${SYSROOT_PREFIX}/usr/local/include/mupen64plus/
mkdir -p ${SYSROOT_PREFIX}/usr/local/include/mupen64plus mkdir -p ${SYSROOT_PREFIX}/usr/local/include/mupen64plus
cp -r ${PKG_BUILD}/src/* ${SYSROOT_PREFIX}/usr/local/include/mupen64plus/ cp -rf ${PKG_BUILD}/src ${SYSROOT_PREFIX}/usr/local/include/mupen64plus/
mv ${PKG_BUILD}/src/api/m64p_*.h ${SYSROOT_PREFIX}/usr/local/include/mupen64plus/ for header in ${SYSROOT_PREFIX}/usr/local/include/mupen64plus/src/api/*h
do
ln -sf ${header} ${SYSROOT_PREFIX}/usr/local/include/mupen64plus/
done
# mv ${PKG_BUILD}/src/api/m64p_*.h ${SYSROOT_PREFIX}/usr/local/include/mupen64plus/
if [ -e "${PKG_DIR}/config/${DEVICE}/mupen64plus.cfg" ] if [ -e "${PKG_DIR}/config/${DEVICE}/mupen64plus.cfg" ]
then then

View file

@ -51,6 +51,10 @@ makeinstall_target() {
chmod 644 ${INSTALL}/usr/local/lib/libsimple64.so.2 chmod 644 ${INSTALL}/usr/local/lib/libsimple64.so.2
rm -rf ${SYSROOT_PREFIX}/usr/local/include/simple64 rm -rf ${SYSROOT_PREFIX}/usr/local/include/simple64
mkdir -p ${SYSROOT_PREFIX}/usr/local/include/simple64 mkdir -p ${SYSROOT_PREFIX}/usr/local/include/simple64
cp -r ${PKG_BUILD}/src/* ${SYSROOT_PREFIX}/usr/local/include/simple64/ cp -rf ${PKG_BUILD}/src ${SYSROOT_PREFIX}/usr/local/include/simple64/
mv ${PKG_BUILD}/src/api/m64p_*.h ${SYSROOT_PREFIX}/usr/local/include/simple64/ for header in ${SYSROOT_PREFIX}/usr/local/include/simple64/src/api/*h
do
ln -sf ${header} ${SYSROOT_PREFIX}/usr/local/include/simple64/
done
#mv ${PKG_BUILD}/src/api/m64p_*.h ${SYSROOT_PREFIX}/usr/local/include/simple64/
} }