vita3k-git: add submodules properly

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2021-08-17 20:36:55 +02:00
parent 6d6477e729
commit 6dba163726
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
2 changed files with 125 additions and 1 deletions

View file

@ -16,6 +16,66 @@ pkgbase = vita3k-git
provides = vita3k
conflicts = vita3k
source = vita3k-git::git+https://github.com/vita3k/vita3k.git
source = vita3k-git-better-enums::git+https://github.com/aantron/better-enums.git
source = vita3k-git-boost::git+https://github.com/Vita3K/ext-boost.git
source = vita3k-git-capstone::git+https://github.com/aquynh/capstone.git
source = vita3k-git-crypto-algorithms::git+https://github.com/KorewaWatchful/crypto-algorithms.git
source = vita3k-git-dirent::git+https://github.com/tronkko/dirent.git
source = vita3k-git-dlmalloc::git+https://github.com/Vita3K/dlmalloc.git
source = vita3k-git-elfio::git+https://github.com/serge1/ELFIO.git
source = vita3k-git-ffmpeg::git+https://github.com/Vita3K/ffmpeg-core.git
source = vita3k-git-glslang::git+https://github.com/KhronosGroup/glslang.git
source = vita3k-git-googletest::git+https://github.com/google/googletest.git
source = vita3k-git-imgui::git+https://github.com/ocornut/imgui.git
source = vita3k-git-imgui_club::git+https://github.com/ocornut/imgui_club.git
source = vita3k-git-libfat16::git+https://github.com/Vita3K/libfat16.git
source = vita3k-git-microprofile::git+https://github.com/jonasmr/microprofile.git
source = vita3k-git-nativefiledialog-cmake::git+https://github.com/Vita3K/nativefiledialog-cmake.git
source = vita3k-git-printf::git+https://github.com/Vita3K/printf.git
source = vita3k-git-pugixml::git+https://github.com/zeux/pugixml.git
source = vita3k-git-sdl::git+https://github.com/Vita3K/sdl.git
source = vita3k-git-sdl2-cmake-scripts::git+https://github.com/tcbrindle/sdl2-cmake-scripts.git
source = vita3k-git-spdlog::git+https://github.com/gabime/spdlog.git
source = vita3k-git-SPIRV-Cross::git+https://github.com/KhronosGroup/SPIRV-Cross.git
source = vita3k-git-stb::git+https://github.com/nothings/stb.git
source = vita3k-git-unicorn::git+https://github.com/Vita3K/unicorn.git
source = vita3k-git-vita-toolchain::git+https://github.com/vitasdk/vita-toolchain.git
source = vita3k-git-VulkanMemoryAllocator::git+https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
source = vita3k-git-yaml-cpp::git+https://github.com/jbeder/yaml-cpp.git
source = vita3k-git-psvpfstools::git+https://github.com/Vita3K/psvpfstools.git
source = vita3k-git-xxHash::git+https://github.com/Cyan4973/xxHash.git
source = vita3k-git-dynarmic::git+https://github.com/Vita3K/dynarmic.git
source = vita3k-git-fmt::git+https://github.com/fmtlib/fmt.git
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
pkgname = vita3k-git

View file

@ -23,9 +23,69 @@ provides=('vita3k')
conflicts=('vita3k')
source=(
"${pkgname}::git+https://github.com/vita3k/vita3k.git"
"${pkgname}-better-enums::git+https://github.com/aantron/better-enums.git"
"${pkgname}-boost::git+https://github.com/Vita3K/ext-boost.git"
"${pkgname}-capstone::git+https://github.com/aquynh/capstone.git"
"${pkgname}-crypto-algorithms::git+https://github.com/KorewaWatchful/crypto-algorithms.git"
"${pkgname}-dirent::git+https://github.com/tronkko/dirent.git"
"${pkgname}-dlmalloc::git+https://github.com/Vita3K/dlmalloc.git"
"${pkgname}-elfio::git+https://github.com/serge1/ELFIO.git"
"${pkgname}-ffmpeg::git+https://github.com/Vita3K/ffmpeg-core.git"
"${pkgname}-glslang::git+https://github.com/KhronosGroup/glslang.git"
"${pkgname}-googletest::git+https://github.com/google/googletest.git"
"${pkgname}-imgui::git+https://github.com/ocornut/imgui.git"
"${pkgname}-imgui_club::git+https://github.com/ocornut/imgui_club.git"
"${pkgname}-libfat16::git+https://github.com/Vita3K/libfat16.git"
"${pkgname}-microprofile::git+https://github.com/jonasmr/microprofile.git"
"${pkgname}-nativefiledialog-cmake::git+https://github.com/Vita3K/nativefiledialog-cmake.git"
"${pkgname}-printf::git+https://github.com/Vita3K/printf.git"
"${pkgname}-pugixml::git+https://github.com/zeux/pugixml.git"
"${pkgname}-sdl::git+https://github.com/Vita3K/sdl.git"
"${pkgname}-sdl2-cmake-scripts::git+https://github.com/tcbrindle/sdl2-cmake-scripts.git"
"${pkgname}-spdlog::git+https://github.com/gabime/spdlog.git"
"${pkgname}-SPIRV-Cross::git+https://github.com/KhronosGroup/SPIRV-Cross.git"
"${pkgname}-stb::git+https://github.com/nothings/stb.git"
"${pkgname}-unicorn::git+https://github.com/Vita3K/unicorn.git"
"${pkgname}-vita-toolchain::git+https://github.com/vitasdk/vita-toolchain.git"
"${pkgname}-VulkanMemoryAllocator::git+https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git"
"${pkgname}-yaml-cpp::git+https://github.com/jbeder/yaml-cpp.git"
"${pkgname}-psvpfstools::git+https://github.com/Vita3K/psvpfstools.git"
"${pkgname}-xxHash::git+https://github.com/Cyan4973/xxHash.git"
"${pkgname}-dynarmic::git+https://github.com/Vita3K/dynarmic.git"
"${pkgname}-fmt::git+https://github.com/fmtlib/fmt.git"
)
md5sums=(
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
)
pkgver() {
@ -35,7 +95,11 @@ pkgver() {
prepare() {
cd "${pkgname}"
git submodule update --init --recursive
git submodule init
# Use the submodules declared in the sources array
git submodule foreach 'git config submodule.${name}.url ${srcdir}/${pkgname}-$(cut -d "/" -f 2 <<< "${name}")'
git submodule update --recursive --init
}
build() {