Git has done a security update on submodules. It breaks many AUR packages.
A fix :
diff --git a/PKGBUILD b/PKGBUILD
index c5b7161..dda9ca7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,8 +6,8 @@ _mainpkgname="$_projectname-emu"
_noguipkgname="$_projectname-emu-nogui"
pkgbase="$_mainpkgname-git"
pkgname=("$pkgbase" "$_noguipkgname-git")
-pkgver='5.0.r17354.g1efb5b8800'
-pkgrel='1'
+pkgver=5.0.r17732.gd367b3ec3b
+pkgrel=1
pkgdesc='A Gamecube / Wii emulator'
_pkgdescappend=' - git version'
arch=('x86_64' 'aarch64')
@@ -27,11 +27,13 @@ source=(
"$pkgname-spirvcross::git+https://github.com/KhronosGroup/SPIRV-Cross.git"
"$pkgname-zlibng::git+https://github.com/zlib-ng/zlib-ng.git"
"$pkgname-libspng::git+https://github.com/randy408/libspng.git"
+ "$pkgname-vma::git+https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git"
)
sha512sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
+ 'SKIP'
'SKIP')
_sourcedirectory="$pkgname"
@@ -45,25 +47,31 @@ prepare() {
_mgbapath='Externals/mGBA/mgba'
git submodule init "$_mgbapath"
git config "submodule.$_mgbapath.url" "$srcdir/$pkgname-mgba/"
- git submodule update "$_mgbapath"
+ git -c protocol.file.allow=always submodule update "$_mgbapath"
# Provide SPIRV-Cross submodule
_spirvcrosspath='Externals/spirv_cross/SPIRV-Cross'
git submodule init "$_spirvcrosspath"
git config "submodule.$_spirvcrosspath.url" "$srcdir/$pkgname-spirvcross/"
- git submodule update "$_spirvcrosspath"
+ git -c protocol.file.allow=always submodule update "$_spirvcrosspath"
# Provide zlib-ng submodule
_zlibngpath='Externals/zlib-ng/zlib-ng'
git submodule init "$_zlibngpath"
git config "submodule.$_zlibngpath.url" "$srcdir/$pkgname-zlibng/"
- git submodule update "$_zlibngpath"
+ git -c protocol.file.allow=always submodule update "$_zlibngpath"
# Provide libspng submodule
_libspngpath='Externals/libspng/libspng'
git submodule init "$_libspngpath"
git config "submodule.$_libspngpath.url" "$srcdir/$pkgname-libspng/"
- git submodule update "$_libspngpath"
+ git -c protocol.file.allow=always submodule update "$_libspngpath"
+
+ # Provide vma submodule
+ _vmapath='Externals/VulkanMemoryAllocator'
+ git submodule init "$_vmapath"
+ git config "submodule.$_vmapath.url" "$srcdir/$pkgname-vma/"
+ git -c protocol.file.allow=always submodule update "$_vmapath"
}
pkgver() {
Pinned Comments
dpeukert commented on 2020-04-10 12:34 (UTC) (edited on 2020-09-26 17:48 (UTC) by dpeukert)
The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/dolphin-emu-git