Fix submodules
This commit is contained in:
parent
90e3e237e4
commit
c309cd0f27
2 changed files with 5 additions and 10 deletions
4
.SRCINFO
4
.SRCINFO
|
@ -1,7 +1,7 @@
|
|||
pkgbase = suyu-git
|
||||
pkgdesc = suyu is the afterlife the world's most popular, open-source, Nintendo Switch emulator (master branch)
|
||||
pkgver = r27264.fec573fd6a
|
||||
pkgrel = 2
|
||||
pkgrel = 3
|
||||
url = https://git.suyu.dev/suyu/suyu
|
||||
install = suyu-git.install
|
||||
arch = x86_64
|
||||
|
@ -62,7 +62,6 @@ pkgbase = suyu-git
|
|||
source = git+https://github.com/libsdl-org/SDL.git
|
||||
source = git+https://github.com/yhirose/cpp-httplib.git
|
||||
source = ffmpeg::git+https://github.com/FFmpeg/FFmpeg.git
|
||||
source = git+https://github.com/microsoft/vcpkg.git
|
||||
source = git+https://github.com/arun11299/cpp-jwt.git
|
||||
source = git+https://github.com/bylaws/libadrenotools.git
|
||||
source = git+https://github.com/lat9nq/tzdb_to_nx.git
|
||||
|
@ -103,6 +102,5 @@ pkgbase = suyu-git
|
|||
b2sums = SKIP
|
||||
b2sums = SKIP
|
||||
b2sums = SKIP
|
||||
b2sums = SKIP
|
||||
|
||||
pkgname = suyu-git
|
||||
|
|
11
PKGBUILD
11
PKGBUILD
|
@ -5,7 +5,7 @@ _pkgname=suyu
|
|||
_branch=master
|
||||
pkgname=suyu-git
|
||||
pkgver=r27264.fec573fd6a
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="suyu is the afterlife the world's most popular, open-source, Nintendo Switch emulator (master branch)"
|
||||
arch=(x86_64)
|
||||
url=https://git.suyu.dev/suyu/suyu
|
||||
|
@ -71,7 +71,6 @@ source=(
|
|||
git+https://github.com/libsdl-org/SDL.git
|
||||
git+https://github.com/yhirose/cpp-httplib.git
|
||||
ffmpeg::git+https://github.com/FFmpeg/FFmpeg.git
|
||||
git+https://github.com/microsoft/vcpkg.git
|
||||
git+https://github.com/arun11299/cpp-jwt.git
|
||||
git+https://github.com/bylaws/libadrenotools.git
|
||||
git+https://github.com/lat9nq/tzdb_to_nx.git
|
||||
|
@ -113,7 +112,6 @@ b2sums=('SKIP'
|
|||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP')
|
||||
|
||||
pkgver() {
|
||||
|
@ -124,12 +122,11 @@ pkgver() {
|
|||
prepare() {
|
||||
cd "$srcdir/$_pkgname"
|
||||
sed -i -e '70,135d' .gitmodules
|
||||
git submodule init
|
||||
for submodule in {enet,cubeb,dynarmic,libusb,discord-rpc,Vulkan-Headers,sirit,mbedtls,xbyak,opus,SDL,cpp-httplib,ffmpeg,vcpkg,cpp-jwt,libadrenotools,tzdb_to_nx,VulkanMemoryAllocator,breakpad,simpleini,oaknut,Vulkan-Utility-Libraries};
|
||||
for submodule in {enet,cubeb,dynarmic,libusb,discord-rpc,Vulkan-Headers,sirit,mbedtls,xbyak,opus,SDL,cpp-httplib,ffmpeg,cpp-jwt,libadrenotools,tzdb_to_nx,VulkanMemoryAllocator,breakpad,simpleini,oaknut,Vulkan-Utility-Libraries};
|
||||
do
|
||||
git config submodule.$submodule.url "${srcdir}"/$submodule
|
||||
git config --file=.gitmodules submodule.$submodule.url "${srcdir}"/$submodule
|
||||
done
|
||||
git -c protocol.file.allow=always submodule update
|
||||
git -c protocol.file.allow=always submodule update --init
|
||||
|
||||
pushd externals/cubeb
|
||||
git config submodule.cmake/sanitizers-cmake.url "${srcdir}"/sanitizers-cmake
|
||||
|
|
Reference in a new issue