Advertisement
patlefort

libretro-lrps2-git patch

Jan 7th, 2025
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.31 KB | Source Code | 0 0
  1. diff --git a/PKGBUILD b/PKGBUILD
  2. index ff58a1f..10b4ce3 100644
  3. --- a/PKGBUILD
  4. +++ b/PKGBUILD
  5. @@ -1,7 +1,7 @@
  6.  # Maintainer: Alexandre Bouvier <[email protected]>
  7.  _pkgname=libretro-lrps2
  8.  pkgname=$_pkgname-git
  9. -pkgver=r19015.bed6b253c
  10. +pkgver=r19017.780b9ad47
  11.  pkgrel=1
  12.  pkgdesc="Sony PlayStation 2 core (fork of PCSX2)"
  13.  arch=('x86_64')
  14. @@ -20,7 +20,6 @@ makedepends=(
  15.         'git'
  16.         'libgl'
  17.         'libzip'
  18. -       'rapidyaml'
  19.         'xz'
  20.         'zstd'
  21.  )
  22. @@ -34,15 +33,23 @@ source=(
  23.         "parallel-gs::git+https://github.com/Arntzen-Software/parallel-gs.git"
  24.         "volk::git+https://github.com/zeux/volk.git"
  25.         "vulkan-headers::git+https://github.com/KhronosGroup/Vulkan-Headers.git"
  26. +       'git+https://github.com/biojppm/rapidyaml.git'
  27. +       'git+https://github.com/biojppm/c4core.git'
  28. +       'biojppm-cmake::git+https://github.com/biojppm/cmake.git'
  29. +       "git+https://github.com/biojppm/debugbreak"
  30. +       "git+https://github.com/fastfloat/fast_float"
  31.  )
  32. -b2sums=(
  33. -       'SKIP'
  34. -       'SKIP'
  35. -       'SKIP'
  36. -       'SKIP'
  37. -       'SKIP'
  38. -       'SKIP'
  39. -)
  40. +b2sums=('SKIP'
  41. +        'SKIP'
  42. +        'SKIP'
  43. +        'SKIP'
  44. +        'SKIP'
  45. +        'SKIP'
  46. +        'SKIP'
  47. +        'SKIP'
  48. +        'SKIP'
  49. +        'SKIP'
  50. +        'SKIP')
  51.  
  52.  pkgver() {
  53.         cd $_pkgname
  54. @@ -52,18 +59,31 @@ pkgver() {
  55.  prepare() {
  56.         cd $_pkgname
  57.         # shellcheck disable=SC2154
  58. +       git submodule init
  59.         git config submodule.3rdparty/glslang/glslang.url "$srcdir"/glslang
  60.         git config submodule.3rdparty/vulkan-headers.url "$srcdir"/vulkan-headers
  61.         git config submodule.pcsx2/GS/parallel-gs.url "$srcdir"/parallel-gs
  62. +       git config submodule.3rdparty/rapidyaml/rapidyaml.url "$srcdir"/rapidyaml
  63.         git -c protocol.file.allow=always submodule update
  64.         sed -i '/ccache/d' CMakeLists.txt
  65.         sed -i '/fmt/s/7\.1\.3/&...<10/' cmake/SearchForStuff.cmake
  66.         cd pcsx2/GS/parallel-gs
  67. +       git submodule init
  68.         git config submodule.Granite.url "$srcdir"/granite
  69.         git -c protocol.file.allow=always submodule update
  70.         cd Granite
  71.         git config submodule.third_party/volk.url "$srcdir"/volk
  72.         git -c protocol.file.allow=always submodule update
  73. +       cd "$srcdir/$_pkgname/3rdparty/rapidyaml/rapidyaml"
  74. +       git submodule init
  75. +       git config submodule.ext/c4core.url "$srcdir/c4core"
  76. +       git -c protocol.file.allow=always submodule update
  77. +       cd ext/c4core
  78. +       git submodule init
  79. +       git config submodule.cmake.url "$srcdir/biojppm-cmake"
  80. +       git config submodule.src/c4/ext/debugbreak.url "$srcdir/debugbreak"
  81. +       git config submodule.src/c4/ext/fast_float.url "$srcdir/fast_float"
  82. +       git -c protocol.file.allow=always submodule update
  83.  }
  84.  
  85.  build() {
  86. @@ -75,7 +95,7 @@ build() {
  87.                 -DLTO_PCSX2_CORE=ON \
  88.                 -DUSE_SYSTEM_FMT=ON \
  89.                 -DUSE_SYSTEM_LIBZIP=ON \
  90. -               -DUSE_SYSTEM_RYML=ON \
  91. +               -DUSE_SYSTEM_RYML=OFF \
  92.                 -DUSE_SYSTEM_ZSTD=ON \
  93.                 -Wno-dev
  94.         cmake --build build
  95. @@ -84,7 +104,6 @@ build() {
  96.  package() {
  97.         depends+=(
  98.                 'libfmt.so'
  99. -               'libryml.so'
  100.                 'libzip.so'
  101.         )
  102.         # shellcheck disable=SC2154
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement