update RetroArch and libretro cores

- update RetroArch to 1.18.0 (will need to be updated later)
- update cores to latest
- update assets, info, shaders, overlays, database
- leave kronos only for Generic.x86_64 and x11.x86_64
- putt back some RetroArch changes (shutdown/restart, path)
- get_git: use PKG_ var for skipping submodules
This commit is contained in:
Tomáš Kelemen (vudiq) 2024-04-16 11:54:21 +02:00
parent afaeeacb8a
commit 8833effeff
No known key found for this signature in database
GPG Key ID: 5CE55E600E0B3B22
92 changed files with 194 additions and 184 deletions

View File

@ -418,6 +418,14 @@
if [ "${PROJECT}" != "L4T" -a "${DEVICE}" != "Switch" ]; then
EXCLUDE_LIBRETRO_CORES+=" lr_moonlight"
fi
# kronos currently builds only for gbm and x11 x86_64 arch (does not work on GLES)
if [ "${PROJECT}" != "Generic" ]; then
EXCLUDE_LIBRETRO_CORES+=" kronos"
elif [ "${ARCH}" != "x86_64" ]; then
EXCLUDE_LIBRETRO_CORES+=" kronos"
elif [ "${DEVICE}" != "Generic" -a "${DEVICE}" != "x11" ]; then
EXCLUDE_LIBRETRO_CORES+=" kronos"
fi
# lr_moonlight does not currently build for Switch because of newer OpenSSL package (older package is not compatible with ffmpeg)
if [ "${DEVICE}" = "Switch" ]; then

View File

@ -1,5 +1,5 @@
PKG_NAME="81"
PKG_VERSION="6d1b4d26aa9870133616fcfb5a763ca138ae25d1"
PKG_VERSION="525d5c18f1ff3fc54c37e083a475225d9179d59d"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/libretro/81-libretro"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="atari800"
PKG_VERSION="20d59afb3f19065749549732f20845c3be82e68c"
PKG_VERSION="410d7bf0c215f3444793a9cec51c129e7b67c400"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/libretro/libretro-atari800"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="beetle_lynx"
PKG_VERSION="fab3ac02d5622eb53a707bd392cc037282e9d8b4"
PKG_VERSION="48909ddd1aba4de034d9c1da70c460b1724daa3b"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/beetle-lynx-libretro"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="beetle_ngp"
PKG_VERSION="65460e3a9ad529f6901caf669abbda11f437ab55"
PKG_VERSION="673c3d924ff33d71c6a342b170eff5359244df1f"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/beetle-ngp-libretro"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="beetle_pce"
PKG_VERSION="40210e91808561178f5439f83413cec14a8d30ba"
PKG_VERSION="20b86372b5f490394099ee0ad06e0eb3a4fd5c2e"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/beetle-pce-libretro"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="beetle_pce_fast"
PKG_VERSION="d7c1553d90eddab574fab7c315ce748d7ace1eed"
PKG_VERSION="6210d0f8c262dcdaa5b76c28057cca6077f488fe"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/beetle-pce-fast-libretro"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="beetle_psx"
PKG_VERSION="798449cfc060d8a180ede2660c21bfbef6acf1a9"
PKG_VERSION="9c9b44a7b9b373f2d8f9a3f16bc8373d6469cf98"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/beetle-psx-libretro"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="beetle_saturn"
PKG_VERSION="cd395e9e3ee407608450ebc565e871b24e7ffed6"
PKG_VERSION="8192ecca34d44f8f85175fa7b7fab6ec2ffb31c2"
PKG_ARCH="x86_64"
if [ "${PROJECT}" = "RPi" ] && [ "${DEVICE}" = "RPi5" ]; then
PKG_ARCH+=" aarch64"

View File

@ -1,5 +1,5 @@
PKG_NAME="beetle_supergrafx"
PKG_VERSION="b9cb84001a8b89aa8f4f4602f83d7bf1f1a356b4"
PKG_VERSION="e41f864c0abb36aef20f8e37cd9d9a92c00a9221"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/beetle-supergrafx-libretro"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="beetle_vb"
PKG_VERSION="732a8f701e671bf032165730fdf8bd96fb5ca7bb"
PKG_VERSION="9d1bd03f21dac7897f65269e1095496331efce8b"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/beetle-vb-libretro"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="beetle_wswan"
PKG_VERSION="a0ddcd3f084f5b4eb06acb6e03b8c4707a2f6123"
PKG_VERSION="32bf70a3032a138baa969c22445f4b7821632c30"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/beetle-wswan-libretro"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="bluemsx"
PKG_VERSION="e21bf74bddb79ad1bbe20b4d964e7515269c669b"
PKG_VERSION="e8a4280bcbd149d1e020adcd9469ad9d8bd67412"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/blueMSX-libretro"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="bsnes2014"
PKG_VERSION="78dc66f8c09dc0117d55ee4249186674385386e5"
PKG_VERSION="a9c12bad40ad9a7a5fa0139a25a10f1c24d56bb2"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/libretro/bsnes2014"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="bsnes_mercury"
PKG_VERSION="fb9a41fe9bc230a07c4506cad3cbf21d3fa635b4"
PKG_VERSION="60c204ca17941704110885a815a65c740572326f"
PKG_ARCH="x86_64 i386"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/libretro/bsnes-mercury"

View File

@ -1,5 +1,5 @@
PKG_NAME="cannonball"
PKG_VERSION="93ca14d7074b400fc3ed9ba8cefe0622f8d76176"
PKG_VERSION="c5487ee342ec2596f733a211b812e338cdba8ad8"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/libretro/cannonball"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="cap32"
PKG_VERSION="4a071f2c004273abf0f9fa0640b36f6664d8381a"
PKG_VERSION="1569dac2674512fa503dbb95eb32bccbe2908063"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/libretro-cap32"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="craft"
PKG_VERSION="f511c567089f2eada95bceb604c203c1292c98e8"
PKG_VERSION="34c1341caa094ff4fe4f06e8ceb6ec316062b1fa"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/libretro/Craft"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="desmume"
PKG_VERSION="cf0fcc6ea4a85b7491bdf9adc7bf09748b4be7da"
PKG_VERSION="b518fec54b79f2f71a7536715efcdcd7f60638a8"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/desmume"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="dirksimple"
PKG_VERSION="9c370ef73d11917d7252019f28541eb558a58857"
PKG_VERSION="28ea51d4ab39ffc57218f481a9876bd26f2d15a3"
PKG_LICENSE="Zlib"
PKG_SITE="https://github.com/icculus/DirkSimple"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="dosbox_core"
PKG_VERSION="3acbd34955a4fa04b829ca827b79672426bfdd16"
PKG_VERSION="27b6dbe8608ff63aaf8d5b7257a2b08c7d1a7a90"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/realnc/dosbox-core"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="ecwolf"
PKG_VERSION="18eca17c2d634b154824e0782c6cbbe0a2c9ea76"
PKG_VERSION="71ec64cf98ba0a2a94e2fede560f1b435761b36d"
PKG_LICENSE="Unknown"
PKG_SITE="https://github.com/libretro/ecwolf"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="ep128emu"
PKG_VERSION="9eca2e7b3703679909e769f4b5dd74d52f087e41"
PKG_VERSION="0747110b5a98b4c36dc8784780f5ae436a94a1bd"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/ep128emu-core"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="fake_08"
PKG_VERSION="29d7996aabaf7268037fd95688be6cd227e93f98"
PKG_VERSION="5a480cbf1f8ab1ef435f14d1206009f5fd56e588"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/jtothebell/fake-08"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="fbalpha2012"
PKG_VERSION="7f8860543a81ba79c0e1ce1aa219af44568c628a"
PKG_VERSION="b7ac554c53561d41640372f23dab15cd6fc4f0c4"
PKG_LICENSE="Non-commercial"
PKG_SITE="https://github.com/libretro/fbalpha2012"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="fbneo"
PKG_VERSION="925fe1e34894e521dde3bf029876f660d4d758c3"
PKG_VERSION="cb370363935458e723e0594fb03380c04e7f455b"
PKG_LICENSE="Non-commercial"
PKG_SITE="https://github.com/libretro/fbneo"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="fceumm"
PKG_VERSION="7fad08e5522e5396a1196055fc106be9b5d5de77"
PKG_VERSION="aebea8783652bc75b21b9d2dcb28cedf1fa78e8a"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/libretro-fceumm"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="flycast"
PKG_VERSION="966ff3767dc6c7a8c84b123fcaa94b4bddced48a"
PKG_VERSION="7438094d7cdf191e6eb2a39e73cb0f512ea2a714"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/flyinghead/flycast"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,52 +0,0 @@
From 236b747db826b6b111c83664c970e4abda1bc735 Mon Sep 17 00:00:00 2001
From: Flyinghead <raphael.jean@gmail.com>
Date: Thu, 28 Mar 2024 17:48:39 +0100
Subject: [PATCH] gl: fix GLES2 build
Issue #1470
---
core/rend/gles/gles.h | 6 ++++++
core/rend/gles/gltex.cpp | 4 ----
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/core/rend/gles/gles.h b/core/rend/gles/gles.h
index cf4084cfa..9f3f0c076 100755
--- a/core/rend/gles/gles.h
+++ b/core/rend/gles/gles.h
@@ -22,6 +22,12 @@
#ifndef GL_PRIMITIVE_RESTART_FIXED_INDEX
#define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69
#endif
+#ifndef GL_RGBA8
+#define GL_RGBA8 0x8058
+#endif
+#ifndef GL_R8
+#define GL_R8 0x8229
+#endif
#define glCheck() do { if (unlikely(config::OpenGlChecks)) { verify(glGetError()==GL_NO_ERROR); } } while(0)
diff --git a/core/rend/gles/gltex.cpp b/core/rend/gles/gltex.cpp
index fa4f83887..18af7462b 100644
--- a/core/rend/gles/gltex.cpp
+++ b/core/rend/gles/gltex.cpp
@@ -374,9 +374,7 @@ GlFramebuffer::GlFramebuffer(int width, int height, bool withDepth, GLuint textu
// Use a renderbuffer and glBlitFramebuffer
glGenRenderbuffers(1, &colorBuffer);
glBindRenderbuffer(GL_RENDERBUFFER, colorBuffer);
-#ifdef GL_RGBA8
glRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA8, width, height);
-#endif
}
}
makeFramebuffer(withDepth);
@@ -454,9 +452,7 @@ GlFramebuffer::GlFramebuffer(int width, int height, bool withDepth, bool withTex
// Use a renderbuffer and glBlitFramebuffer
glGenRenderbuffers(1, &colorBuffer);
glBindRenderbuffer(GL_RENDERBUFFER, colorBuffer);
-#ifdef GL_RGBA8
glRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA8, width, height);
-#endif
}
makeFramebuffer(withDepth);

View File

@ -1,5 +1,5 @@
PKG_NAME="fmsx"
PKG_VERSION="1806eed4376fbe2fad82fa19271ea298cfbb7795"
PKG_VERSION="9b5cf868825a629cc4c7086768338165d3bbf706"
PKG_LICENSE="Non-commercial"
PKG_SITE="https://github.com/libretro/fmsx-libretro"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="freechaf"
PKG_VERSION="4d1d5cb83b93728a63f03454e472a23055d9bbfc"
PKG_VERSION="782739dd6988b0148f9c26ddc6ff414e76e54d7b"
PKG_LICENSE="GPL3"
PKG_SITE="https://github.com/libretro/FreeChaF"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="gambatte"
PKG_VERSION="40d0d7ac4e11b5c2d1feac2ce96e4d824c248985"
PKG_VERSION="cbda5ea9fd81d1be0220dfc690d05240655602e4"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/gambatte-libretro"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="gearboy"
PKG_VERSION="06e9636c368c50fdde89cacce0e3539976ab9b7c"
PKG_VERSION="3b94ce2c425833f0bdf10f933e9e7c9db1621963"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/drhelius/Gearboy"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="gearsystem"
PKG_VERSION="c58a865a727e6f7b83123a1a261c13bcc1b0f0dc"
PKG_VERSION="3390eb07bdee8b39eebc7822b36d5901dd3fb077"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/drhelius/Gearsystem"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="genesis_plus_gx"
PKG_VERSION="e8a6086c894016b6730b95bdc83587072e7cd467"
PKG_VERSION="25a90c634d834ecdbd46620edfd42de8a2f6180c"
PKG_LICENSE="Non-commercial"
PKG_SITE="https://github.com/ekeeke/Genesis-Plus-GX"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="genesis_plus_gx_wide"
PKG_VERSION="f73cf1b0769127cee137a559f1c132b24c147923"
PKG_VERSION="3c4dccdc2a60db50bb8c37090e3d3d2134a51295"
PKG_LICENSE="Non-commercial"
PKG_SITE="https://github.com/libretro/Genesis-Plus-GX-Wide"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="gpsp"
PKG_VERSION="c0d8ffaa384f724e1a0743e18cb042c29dd48f7f"
PKG_VERSION="4caf7a167d159866479ea94d6b2d13c26ceb3e72"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/gpsp"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="handy"
PKG_VERSION="0559d3397f689ea453b986311aeac8dbd33afb0b"
PKG_VERSION="65d6b865544cd441ef2bd18cde7bd834c23d0e48"
PKG_LICENSE="Zlib"
PKG_SITE="https://github.com/libretro/libretro-handy"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="imame4all"
PKG_VERSION="0208517404e841fce0c094f1a2776a0e1c6c101d"
PKG_VERSION="1472da3a39ab14fff8325b1f51a1dfdb8eabb5c8"
PKG_LICENSE="MAME"
PKG_SITE="https://github.com/libretro/imame4all-libretro"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="jaxe"
PKG_VERSION="e03ea87f37b33d89ce9c9bd71bd71fd0158cc68d"
PKG_VERSION="ef1b1870265dc4adfe2de07b82d7335e60ee6929"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/kurtjd/jaxe"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="jumpnbump"
PKG_VERSION="8b5341f82163a2196adae1dae78082698aca366f"
PKG_VERSION="4e68831f5576075c45c147f86865812afb816139"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/jumpnbump-libretro"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="kronos"
PKG_VERSION="fec6e18cc6f00933f6303a983935a44302f3075f"
PKG_VERSION="3646a3fc9e414d9474b7a21a39bc2734bb805932"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/yabause"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="mame"
PKG_VERSION="b31bb5175ac5a2cf739c4e5284dc863b8416d848"
PKG_VERSION="170929e08e13fef6f5284efb0a5ec781a2af08ed"
PKG_ARCH="aarch64 x86_64"
PKG_LICENSE="MAME"
PKG_SITE="https://github.com/libretro/mame"

View File

@ -1,5 +1,5 @@
PKG_NAME="mame2000"
PKG_VERSION="0208517404e841fce0c094f1a2776a0e1c6c101d"
PKG_VERSION="1472da3a39ab14fff8325b1f51a1dfdb8eabb5c8"
PKG_LICENSE="MAME"
PKG_SITE="https://github.com/libretro/mame2000-libretro"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="mame2003_plus"
PKG_VERSION="debcb547ea7ae197433142810e99e1313c58cb14"
PKG_VERSION="7ca870c4168e69819923f73ae0289c38d57b01dc"
PKG_LICENSE="MAME"
PKG_SITE="https://github.com/libretro/mame2003-plus-libretro"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="mame2015"
PKG_VERSION="2599c8aeaf84f62fe16ea00daa460a19298c121c"
PKG_VERSION="316cd06349f2b34b4719f04f7c0d07569a74c764"
PKG_ARCH="x86_64 aarch64 arm"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/mame2015-libretro"

View File

@ -1,5 +1,5 @@
PKG_NAME="mesen"
PKG_VERSION="d25d60fc190f3f7603a1113ef1e11d9da65b7583"
PKG_VERSION="d6f2f1797694f87e698c737b068f621889e96fa9"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/libretro/Mesen"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="mgba"
PKG_VERSION="1c61b54208ca6266129d0f2394c04bd8c44f98c5"
PKG_VERSION="a999a8760733cd226741d5e9cc05557aeda3eee3"
PKG_LICENSE="MPLv2.0"
PKG_SITE="https://github.com/mgba-emu/mgba"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="mojozork"
PKG_VERSION="89832e31d9d05c4e81908286b99db21924f3ba1a"
PKG_VERSION="5c8d81f8db53c206ace6952472e7a7e68bd8e752"
PKG_LICENSE="zlib"
PKG_SITE="https://github.com/icculus/mojozork"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="mrboom"
PKG_VERSION="06ab71e8ceeca06f30b77626a21b58b1e7d9a686"
PKG_VERSION="3d5a840e424df30beaf2746c98f538ea1b44bd31"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/libretro/mrboom-libretro"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="mu"
PKG_VERSION="15bb26daa562e2907eb30b6cebba68a7e825b9b9"
PKG_VERSION="865acf3a2889dfe02863bbfb9c5b3cfee8620c22"
PKG_LICENSE="Non-commercial"
PKG_SITE="https://github.com/libretro/Mu"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,9 +1,10 @@
PKG_NAME="mupen64plus_next"
PKG_VERSION="26fd1edd640ff3db49dd5ebb7e54f0de6600fc45"
PKG_VERSION="3f794eec4dc4af2f22ecce507f2da324381d3d92"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/mupen64plus-libretro-nx"
PKG_URL="${PKG_SITE}.git"
PKG_GIT_CLONE_BRANCH="develop"
PKG_GIT_SKIP_SUBMODULE="yes"
PKG_DEPENDS_TARGET="toolchain nasm:host"
PKG_LONGDESC="mupen64plus_next + RSP-HLE + GLideN64 + libretro"

View File

@ -1,5 +1,5 @@
PKG_NAME="neocd"
PKG_VERSION="2070f5258c9d3feee15962f9db8c8ef20072ece8"
PKG_VERSION="71ebe5044639b825e5bd1bd590fef3e918133b80"
PKG_LICENSE="LGPLv3"
PKG_SITE="https://github.com/libretro/neocd_libretro"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="nestopia"
PKG_VERSION="3dcbec4682e079312d6943e1357487645ec608c7"
PKG_VERSION="b99ede358b2219602443e7f414eabf81e17da244"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/nestopia"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="np2kai"
PKG_VERSION="6089943a80a45b6c18d765765f7f31d7a5c0d9c6"
PKG_VERSION="c2ca4046860264cb307e768f529f180caee5e224"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/AZO234/NP2kai"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="o2em"
PKG_VERSION="a2a12472fde910b6089ac3ca6de805bd58a9c999"
PKG_VERSION="44fe5f306033242f7d74144105e19a7d4939477e"
PKG_LICENSE="Artistic License"
PKG_SITE="https://github.com/libretro/libretro-o2em"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="opera"
PKG_VERSION="100ae1e7decefe1f17d98cfcb9f2af4ff8452691"
PKG_VERSION="35e16483be900ea8aa20e87d2710b677437f73ce"
PKG_LICENSE="LGPL with additional notes"
PKG_SITE="https://github.com/libretro/opera-libretro"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="parallel_n64"
PKG_VERSION="49eadb4da85f7e3bd59b60f61e8fd5dbfb9f07d5"
PKG_VERSION="1b57f9199b1f8a4510f7f89f14afa9cabf9b3bdd"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/parallel-n64"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="pcsx_rearmed"
PKG_VERSION="016c6e93f6db684211f5c8b05433cb500715ba50"
PKG_VERSION="4cc48a6b324ff1d025768bb5436279831e4bf319"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/pcsx_rearmed"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="picodrive"
PKG_VERSION="d907d65692a45e126d0c7d6685cc8792b52bc577"
PKG_VERSION="ad93670449a28825d4b2cebf2eeff72cf03377a9"
PKG_LICENSE="MAME"
PKG_SITE="https://github.com/libretro/picodrive"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="play"
PKG_VERSION="34c4c74fbd0ca2223c203bffc23f57157769074b"
PKG_VERSION="5c8f4a818be5c1e4df568abfec169c2b08df6674"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/jpd002/Play-"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="pocketcdg"
PKG_VERSION="67d9095c97f32b07a40c1044ae7b2cd9f3a69837"
PKG_VERSION="34913f755c92aa7c98668f291631c23e21d88bdc"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/libretro/libretro-pocketcdg"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="puae"
PKG_VERSION="7bdd798ef14dccafe283588cbf8eb303832a1858"
PKG_VERSION="3c4f02622bd9ab4bbfc5e90cea9c7e60cf410073"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/libretro/libretro-uae"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="puae2021"
PKG_VERSION="99ae6a9d129fcf8fdc11ac7c59d818034832f55c"
PKG_VERSION="d8971ae920f53b528afa4f368eae1b845b6aebc3"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/libretro/libretro-uae"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="quasi88"
PKG_VERSION="7980f2484997055a9665837bb4c325d562acb04e"
PKG_VERSION="e3d06c4f34c3643d3ea9248a47cdc6cf60c1e0b1"
PKG_LICENSE="GPL3"
PKG_SITE="https://github.com/libretro/quasi88-libretro"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="quicknes"
PKG_VERSION="058d66516ed3f1260b69e5b71cd454eb7e9234a3"
PKG_VERSION="cd73f021be7dd5b1a21b71155a320364c02de4ac"
PKG_LICENSE="LGPLv2.1+"
PKG_SITE="https://github.com/libretro/QuickNES_Core"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="reminiscence"
PKG_VERSION="c2624c7565bbae441835db80f24902fc40f83dd1"
PKG_VERSION="e21856941dcedee23026da8b2ca94708c14dae7f"
PKG_SITE="https://github.com/libretro/REminiscence"
PKG_URL="${PKG_SITE}.git"
PKG_DEPENDS_TARGET="toolchain"

View File

@ -1,5 +1,5 @@
PKG_NAME="retro8"
PKG_VERSION="bc388ec7d217a08265d116aaa74afc0ca3f204f5"
PKG_VERSION="95b40e58c29b829d96f37c85833f9e51730c5534"
PKG_LICENSE="GPL3"
PKG_SITE="https://github.com/libretro/retro8"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="sameduck"
PKG_VERSION="5cc014b23af963f9e9a77091a1e6ff7a7852e8a7"
PKG_VERSION="5619abdb01cee6bedb47599cdb5532c318443b52"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/LIJI32/SameBoy"
PKG_GIT_CLONE_BRANCH="SameDuck"

View File

@ -1,5 +1,5 @@
PKG_NAME="scummvm"
PKG_VERSION="0f6773217c670368de73348e201495cc4456023f"
PKG_VERSION="ce9974133edc270fa92d55465b7551505cc2ef51"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/libretro/scummvm"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="stella"
PKG_VERSION="85f23044437a5da35d68f96045d363d0e339f872"
PKG_VERSION="09be43c5060b7f23eeb413aa3d7a7021e9a6566c"
PKG_LICENSE="GPL2"
PKG_SITE="https://github.com/stella-emu/stella"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="tyrquake"
PKG_VERSION="77217664a09afe893a06be8e3e8f9611184636f8"
PKG_VERSION="df0d3afb623b143beb76a5b1adf2d377953bfdf2"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/tyrquake"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="vbam"
PKG_VERSION="32bc9c9dc790be1f0e87512503b79c1017e55b11"
PKG_VERSION="8eae2e5b9078c61d5534d51e523a2524a9d9d396"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/visualboyadvance-m/visualboyadvance-m"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="vecx"
PKG_VERSION="a401c268e425dc8ae6a301e7fdb9a9e96f39b8ea"
PKG_VERSION="3a5655ff67e161ef33f66b0f6c26aaf2e59ceda8"
PKG_LICENSE="GPLv2|LGPLv2.1"
PKG_SITE="https://github.com/libretro/libretro-vecx"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="vice"
PKG_VERSION="761728ebbf35e63262e5ee30a6f9b0b578903647"
PKG_VERSION="d2cbb9ff1d808dda0332d2fd68383b5e0974d302"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/vice-libretro"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,43 +0,0 @@
diff --git a/Makefile b/Makefile
index fc2830e..c29d524 100644
--- a/Makefile
+++ b/Makefile
@@ -438,10 +438,11 @@ ifeq ($(platform), theos_ios)
include $(THEOS_MAKE_PATH)/library.mk
else
-default:
+default: info all
+
+info:
$(info CFLAGS: $(PLATFLAGS) $(COMMONFLAGS))
$(info -------)
- $(MAKE) $(TARGET)
all: $(TARGET)
@@ -461,21 +462,21 @@ endif
$(OBJDIR)/%.o: %.c
@mkdir -p $(dir $@)
- @if [[ $(SILENT) -ne 1 ]]; then\
+ @if [ $(SILENT) -ne 1 ]; then\
$(if $@, $(shell echo echo CC $<),);\
fi
$(CC) $(CFLAGS) -c -o $@ $<
$(OBJDIR)/%.o: %.cpp
@mkdir -p $(dir $@)
- @if [[ $(SILENT) -ne 1 ]]; then\
+ @if [ $(SILENT) -ne 1 ]; then\
$(if $@, $(shell echo echo CXX $<),);\
fi
$(CXX) $(CXXFLAGS) -c -o $@ $<
$(OBJDIR)/%.o: %.cc
@mkdir -p $(dir $@)
- @if [[ $(SILENT) -ne 1 ]]; then\
+ @if [ $(SILENT) -ne 1 ]; then\
$(if $@, $(shell echo echo CXX $<),);\
fi
$(CXX) $(CXXFLAGS) -c -o $@ $<

View File

@ -1,5 +1,5 @@
PKG_NAME="vircon32"
PKG_VERSION="56c429aa001c9f76c7a96e656f82d7e60c34bc81"
PKG_VERSION="293d0b2b0e3b996b991b7a667ec31a64d8865450"
PKG_LICENSE="BSD"
PKG_SITE="https://github.com/vircon32/vircon32-libretro"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="wasm4"
PKG_VERSION="700c2929d1fc9512cf7705ceebb130fb72a29892"
PKG_VERSION="b874b419d5171c194f889407262d88f4b4f796bb"
PKG_LICENSE="ISC"
PKG_SITE="https://github.com/aduros/wasm4"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="xmil"
PKG_VERSION="4cb1e4eaab37321904144d1f1a23b2830268e8df"
PKG_VERSION="04b3c90af710b66b31df3c9621fa8da13b24e123"
PKG_LICENSE="GPL3"
PKG_SITE="https://github.com/libretro/xmil-libretro"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="xrick"
PKG_VERSION="c433c1080409fefcfb69d66dc6416967ff5f6735"
PKG_VERSION="58e544ee8de08ca8421e97c064d52ef6cdd73bd2"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/libretro/xrick-libretro"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="core_info"
PKG_VERSION="a59bb4dfe97502d5547ee3a242f1ac01b550bfa4"
PKG_VERSION="a14d7eb60908def60fc422f689f34b0c2f63c58e"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/libretro/libretro-core-info"
PKG_URL="${PKG_SITE}.git"
@ -10,5 +10,5 @@ makeinstall_target() {
make -C ${PKG_BUILD} install INSTALLDIR="${INSTALL}/usr/lib/libretro"
# ScummVM package provides own core info file
rm -f ${INSTALL}/usr/lib/libretro/scummvm_libretro.info
rm -v ${INSTALL}/usr/lib/libretro/scummvm_libretro.info
}

View File

@ -1,5 +1,5 @@
PKG_NAME="glsl_shaders"
PKG_VERSION="2f54f07b10b0fd1ec861d2da2de1b6925d56c030"
PKG_VERSION="cdf84f65f6a7e678d0cbee0eb4d6f4c282cc24b4"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/libretro/glsl-shaders"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="libretro_database"
PKG_VERSION="7b8991bc1fbb8f007977b35174aef7be6369e027"
PKG_VERSION="ca9a9e0530382a4c3c204dca5c6c5b8e5e4fa790"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/libretro/libretro-database"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="retroarch"
PKG_VERSION="ad8975cb5a0fe45be43438bdbd6c3d745653dd02"
PKG_VERSION="06fa5325f8b3cd42e6fba3d57835d5924c9ea2e7"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/libretro/RetroArch"
PKG_URL="${PKG_SITE}.git"
@ -31,9 +31,12 @@ PKG_MAKE_OPTS_TARGET="V=1 \
if [ "${OPENGLES_SUPPORT}" = yes ]; then
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
PKG_CONFIGURE_OPTS_TARGET+=" --enable-opengles"
if [[ ${DEVICE} =~ ^RPi4.* ]] || [ ${DEVICE} = "RK3288" ] || [ "${DEVICE}" = "RK3399" ] || [ "${DEVICE}" = "Odin" ] || [ "${DEVICE}" = "RPi5" ]; then
if [ ${DEVICE:0:4} = "RPi4" ] || [ ${DEVICE} = "RK3288" ] || [ "${DEVICE}" = "RK3399" ] || [ "${PROJECT}" = "Generic" ] || [ "${DEVICE}" = "Odin" ] || [ "${DEVICE}" = "RPi5" ]; then
PKG_CONFIGURE_OPTS_TARGET+=" --enable-opengles3 \
--enable-opengles3_1"
if [ "${PROJECT}" = "Generic" ]; then
PKG_CONFIGURE_OPTS_TARGET+=" --enable-opengles3_2"
fi
fi
else
PKG_CONFIGURE_OPTS_TARGET+=" --disable-opengles"
@ -128,7 +131,9 @@ fi
if [ "${LAKKA_NIGHTLY}" = yes ]; then
PKG_MAKE_OPTS_TARGET+=" HAVE_LAKKA_NIGHTLY=1"
elif [ ! "${LAKKA_CANARY_PATH}" = "" ]; then
elif [ "${LAKKA_DEVBUILD}" = yes ]; then
PKG_MAKE_OPTS_TARGET+=" HAVE_LAKKA_DEVBUILD=1"
elif [ -n "${LAKKA_CANARY_PATH}" ]; then
PKG_MAKE_OPTS_TARGET+=" HAVE_LAKKA_CANARY=\"${LAKKA_CANARY_PATH}\""
fi
@ -155,6 +160,7 @@ make_target() {
makeinstall_target() {
mkdir -p ${INSTALL}/usr/bin
cp -v ${PKG_BUILD}/retroarch ${INSTALL}/usr/bin
cp -v ${PKG_DIR}/scripts/lakka-*.sh ${INSTALL}/usr/bin
mkdir -p ${INSTALL}/usr/share/video_filters
cp -v ${PKG_BUILD}/gfx/video_filters/*.so ${INSTALL}/usr/share/video_filters
cp -v ${PKG_BUILD}/gfx/video_filters/*.filt ${INSTALL}/usr/share/video_filters
@ -213,7 +219,7 @@ makeinstall_target() {
echo 'video_smooth = "false"' >> ${INSTALL}/etc/retroarch.cfg
echo 'video_aspect_ratio_auto = "true"' >> ${INSTALL}/etc/retroarch.cfg
echo 'video_threaded = "true"' >> ${INSTALL}/etc/retroarch.cfg
echo 'video_font_path = "/usr/share/retroarch/assets/xmb/monochrome/font.ttf"' >> ${INSTALL}/etc/retroarch.cfg
echo 'video_font_path = "/tmp/assets/xmb/monochrome/font.ttf"' >> ${INSTALL}/etc/retroarch.cfg
echo 'video_font_size = "32"' >> ${INSTALL}/etc/retroarch.cfg
echo 'video_filter_dir = "/usr/share/video_filters"' >> ${INSTALL}/etc/retroarch.cfg
echo 'video_gpu_screenshot = "false"' >> ${INSTALL}/etc/retroarch.cfg

View File

@ -0,0 +1,31 @@
diff --git a/Makefile.common b/Makefile.common
index 3277ff0..a4b3686 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -1070,6 +1070,10 @@ ifneq ($(HAVE_LAKKA_CANARY), "")
DEFINES += -DHAVE_LAKKA_CANARY=\"${HAVE_LAKKA_CANARY}\"
endif
+ifeq ($(HAVE_LAKKA_DEVBUILD), 1)
+ DEFINES += -DHAVE_LAKKA_DEVBUILD
+endif
+
ifeq ($(HAVE_MENU_COMMON), 1)
OBJ += menu/menu_setting.o \
menu/menu_driver.o \
diff --git a/file_path_special.h b/file_path_special.h
index a80c0b6..cd01bdc 100644
--- a/file_path_special.h
+++ b/file_path_special.h
@@ -78,8 +78,10 @@ RETRO_BEGIN_DECLS
#define FILE_PATH_CORE_THUMBNAILPACKS_URL "http://thumbnailpacks.libretro.com"
#ifdef HAVE_LAKKA_CANARY
#define FILE_PATH_LAKKA_URL HAVE_LAKKA_CANARY
-#elif HAVE_LAKKA_NIGHTLY
+#elif defined (HAVE_LAKKA_NIGHTLY)
#define FILE_PATH_LAKKA_URL "http://nightly.builds.lakka.tv/.updater"
+#elif defined (HAVE_LAKKA_DEVBUILD)
+#define FILE_PATH_LAKKA_URL "http://nightly.builds.lakka.tv/.devbuild"
#else
#define FILE_PATH_LAKKA_URL "http://le.builds.lakka.tv"
#endif

View File

@ -0,0 +1,45 @@
diff --git a/menu/cbs/menu_cbs_ok.c b/menu/cbs/menu_cbs_ok.c
index 1b42f798f9..89770a496e 100644
--- a/menu/cbs/menu_cbs_ok.c
+++ b/menu/cbs/menu_cbs_ok.c
@@ -2922,7 +2922,7 @@ static int action_ok_eject_disc(const char *path,
const char *label, unsigned type, size_t idx, size_t entry_idx)
{
#ifdef HAVE_CDROM
- system("eject & disown");
+ system("nohup eject 2>&1 >/dev/null & exit");
#endif /* HAVE_CDROM */
return 0;
}
diff --git a/retroarch.c b/retroarch.c
index 6533c8f824..5b35ef2f33 100644
--- a/retroarch.c
+++ b/retroarch.c
@@ -3197,11 +3197,11 @@ bool command_event(enum event_command cmd, void *data)
#if defined(__linux__) && !defined(ANDROID)
if (settings->bools.config_save_on_exit)
{
- runloop_msg_queue_push(msg_hash_to_str(MSG_VALUE_SHUTTING_DOWN), 1, 180, true, NULL, MESSAGE_QUEUE_ICON_DEFAULT, MESSAGE_QUEUE_CATEGORY_INFO);
command_event(CMD_EVENT_MENU_SAVE_CURRENT_CONFIG, NULL);
+ runloop_msg_queue_push(msg_hash_to_str(MSG_VALUE_SHUTTING_DOWN), 1, 180, true, NULL, MESSAGE_QUEUE_ICON_DEFAULT, MESSAGE_QUEUE_CATEGORY_INFO);
}
#ifdef HAVE_LAKKA
- system("(sleep 1 && shutdown -P now) & disown");
+ system("nohup /usr/bin/lakka-shutdown.sh 2>&1 >/dev/null & exit");
#else
command_event(CMD_EVENT_QUIT, NULL);
system("shutdown -P now");
@@ -3212,11 +3212,11 @@ bool command_event(enum event_command cmd, void *data)
#if defined(__linux__) && !defined(ANDROID)
if (settings->bools.config_save_on_exit)
{
- runloop_msg_queue_push(msg_hash_to_str(MSG_VALUE_REBOOTING), 1, 180, true, NULL, MESSAGE_QUEUE_ICON_DEFAULT, MESSAGE_QUEUE_CATEGORY_INFO);
command_event(CMD_EVENT_MENU_SAVE_CURRENT_CONFIG, NULL);
+ runloop_msg_queue_push(msg_hash_to_str(MSG_VALUE_REBOOTING), 1, 180, true, NULL, MESSAGE_QUEUE_ICON_DEFAULT, MESSAGE_QUEUE_CATEGORY_INFO);
}
#ifdef HAVE_LAKKA
- system("(sleep 1 && shutdown -r now) & disown");
+ system("nohup /usr/bin/lakka-reboot.sh 2>&1 >/dev/null & exit");
#else
command_event(CMD_EVENT_QUIT, NULL);
system("shutdown -r now");

View File

@ -0,0 +1,6 @@
#!/bin/bash
sleep 3
systemctl stop retroarch
sleep 1
shutdown -r now

View File

@ -0,0 +1,6 @@
#!/bin/bash
sleep 3
systemctl stop retroarch
sleep 1
shutdown -P now

View File

@ -1,5 +1,5 @@
PKG_NAME="retroarch_assets"
PKG_VERSION="7b735ef18bcc6508b1c9a626eb237779ff787179"
PKG_VERSION="923b711dc6772a168d83dc8915e9260730fcf3a1"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/libretro/retroarch-assets"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="retroarch_overlays"
PKG_VERSION="115d8670c2e032e4a41ba45f766f5cfd9dae28b8"
PKG_VERSION="c266abf4d7f9286fb6fbcfb57647cd9c80c45530"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/libretro/common-overlays"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,5 +1,5 @@
PKG_NAME="slang_shaders"
PKG_VERSION="3645faa915f968ea9f582b9b5a12c52db957bd7a"
PKG_VERSION="341aac7b7f0bf2de31f29d28e2c68c7cfe5a16b5"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/libretro/slang-shaders"
PKG_URL="${PKG_SITE}.git"

View File

@ -6,9 +6,11 @@
# PKG_URL (mandatory) must point to a git repository (git://... or https://example.com/repo.git)
# PKG_VERSION (mandatory) must point to a full commit SHA
# PKG_GIT_CLONE_BRANCH (optional) clone specific branch (used here only for stamp, but can be used by other scripts to update the PKG_VERSION)
# PKG_GIT_SKIP_SUBMODULE (optional) do not pull submodules
GIT_STAMP="${PKG_URL}|${PKG_VERSION}"
[ -n "${PKG_GIT_CLONE_BRANCH}" ] && GIT_STAMP+="|${PKG_GIT_CLONE_BRANCH}"
[ -n "${PKG_GIT_SKIP_SUBMODULE}" ] && GIT_STAMP+="|${PKG_GIT_SKIP_SUBMODULE}"
GIT_TARBALL="${PACKAGE}.tar.xz"
GIT_STAMP_FILE="${GIT_TARBALL}.gitstamp"
@ -45,7 +47,7 @@ build_msg "CLR_GET" "GIT FETCH" "${1}"
git -C "${PACKAGE}" fetch --depth 1 origin ${PKG_VERSION}
git -C "${PACKAGE}" checkout FETCH_HEAD
if [ "${GET_SKIP_SUBMODULE}" != "yes" ]; then
if [ "${PKG_GIT_SKIP_SUBMODULE}" != "yes" ]; then
build_msg "CLR_GET" "GIT SUBMODULE" "${1}"
git -C "${PACKAGE}" submodule update --init --recursive --depth 1
fi