simplification of parallel plugin setup

This commit is contained in:
Nicholas Ricciuti 2023-06-14 11:51:38 -04:00
parent 746f13cc63
commit e8f4eb9da7
No known key found for this signature in database
GPG key ID: 079A5AB9E5CAFE2D
6 changed files with 17 additions and 16 deletions

View file

@ -50,7 +50,7 @@ makeinstall_target() {
cp ${PKG_BUILD}/data/* ${INSTALL}/usr/local/share/mupen64plus
chmod 0644 ${INSTALL}/usr/local/share/mupen64plus/*
mkdir -p ${SYSROOT_PREFIX}/usr/local/include/mupen64plus
find ${PKG_BUILD}/src -name "*.h" -exec cp \{} ${SYSROOT_PREFIX}/usr/local/include/mupen64plus/ \;
rsync -avm --include='*.h' -f 'hide,! */' ${PKG_BUILD}/src/ ${SYSROOT_PREFIX}/usr/local/include/mupen64plus/
chmod 0644 ${SYSROOT_PREFIX}/usr/local/include/mupen64plus/*
if [ -e "${PKG_DIR}/config/${DEVICE}/mupen64plus.cfg" ]

View file

@ -2,14 +2,14 @@
# Copyright (C) 2023-present RiShooty (https://github.com/rishooty)
PKG_NAME="mupen64plus-sa-rsp-parallel"
PKG_VERSION="a3b2ef90939d06c1b0b4568fcaa89ea269081033"
PKG_VERSION="6b5b15da67da79b845dd5f7a914ab70ea280edaf"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/simple64/parallel-rsp"
PKG_SITE="https://github.com/Jj0YzL5nvJ/parallel-rsp"
PKG_URL="${PKG_SITE}.git"
PKG_DEPENDS_TARGET="toolchain mupen64plus-sa-core mupen64plus-sa-simplecore"
PKG_LONGDESC="Mupen64Plus Standalone Parallel64 Rsp Driver"
PKG_TOOLCHAIN="manual"
PKG_GIT_CLONE_BRANCH="simple64"
PKG_GIT_CLONE_BRANCH="ci-m64p"
make_target() {
case ${ARCH} in

View file

@ -1,11 +1,12 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9c5bfcf..ef27c0e 100644
index d3fe222..95ee881 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,6 +6,9 @@ set(LIGHTNING_VERSION "2.2.2")
set(NAME_PLUGIN_SIMPLE64 "simple64-rsp-parallel")
@@ -5,7 +5,9 @@ set(CMAKE_C_STANDARD 99)
project(parallel-rsp LANGUAGES CXX C)
set(NAME_PLUGIN_M64P "mupen64plus-rsp-parallel")
-
+if(DEFINED APIDIR)
+ include_directories("${APIDIR}")
+endif()

View file

@ -48,6 +48,6 @@ makeinstall_target() {
chmod 644 ${INSTALL}/usr/local/lib/libsimple64.so.2.0.0
cp ${PKG_BUILD}/projects/unix/libsimple64.so.2 ${INSTALL}/usr/local/lib
mkdir -p ${SYSROOT_PREFIX}/usr/local/include/simple64
find ${PKG_BUILD}/src -name "*.h" -exec cp \{} ${SYSROOT_PREFIX}/usr/local/include/simple64/ \;
rsync -avm --include='*.h' -f 'hide,! */' ${PKG_BUILD}/src/ ${SYSROOT_PREFIX}/usr/local/include/simple64/
chmod 0644 ${SYSROOT_PREFIX}/usr/local/include/simple64/*
}

View file

@ -2,14 +2,14 @@
# Copyright (C) 2023-present RiShooty (https://github.com/rishooty)
PKG_NAME="mupen64plus-sa-video-parallel"
PKG_VERSION="b86a14e794e5db59ef59a952a3a0ec08ceb558e3"
PKG_VERSION="900f1e58ea32ccc1d56046609eb24f8093740634"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/simple64/parallel-rdp-standalone"
PKG_SITE="https://github.com/Jj0YzL5nvJ/parallel-rdp-standalone"
PKG_URL="${PKG_SITE}.git"
PKG_DEPENDS_TARGET="toolchain mupen64plus-sa-core mupen64plus-sa-simplecore"
PKG_LONGDESC="Mupen64Plus Standalone Parallel64 Video Driver"
PKG_TOOLCHAIN="manual"
PKG_GIT_CLONE_BRANCH="simple64"
PKG_GIT_CLONE_BRANCH="ci-m64p"
if [ "${VULKAN_SUPPORT}" = "yes" ]
then

View file

@ -1,11 +1,11 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 01d32ed..f61bec9 100644
index ce2dd4a..87d8c5e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,6 +4,9 @@ set(CMAKE_OSX_DEPLOYMENT_TARGET "11.0")
project(parallel-rdp LANGUAGES CXX C)
@@ -5,6 +5,9 @@ project(parallel-rdp LANGUAGES CXX C)
set(OpenGL_GL_PREFERENCE GLVND)
set(NAME_PLUGIN_SIMPLE64 "simple64-video-parallel")
set(NAME_PLUGIN_M64P "mupen64plus-video-parallel")
+if(DEFINED APIDIR)
+ include_directories("${APIDIR}")
+endif()