summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStelios Tsampas2023-07-21 20:21:13 +0300
committerStelios Tsampas2023-07-21 20:21:13 +0300
commitf1974bb712a58fad068a6fa793c161f814c15e7c (patch)
treeaaf68c0ce503ec3e43d16da3ca04871d89e42e6a
parent572787f06859a7defd8f239fc4e3f7eda6d5eed7 (diff)
downloadaur-f1974bb712a58fad068a6fa793c161f814c15e7c.tar.gz
[proton-ge-custom] Save space on submodules
-rw-r--r--.SRCINFO56
-rw-r--r--PKGBUILD127
-rw-r--r--PKGBUILD.testing127
3 files changed, 5 insertions, 305 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 016709ee6b3d..0cebfd325233 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = proton-ge-custom
pkgdesc = Compatibility tool for Steam Play based on Wine and additional components, GloriousEggroll's custom build
pkgver = GE.Proton8.7
- pkgrel = 3
+ pkgrel = 4
epoch = 2
url = https://github.com/GloriousEggroll/proton-ge-custom
install = proton-ge-custom.install
@@ -164,33 +164,6 @@ pkgbase = proton-ge-custom
options = !lto
options = emptydirs
source = proton-ge-custom::git+https://github.com/gloriouseggroll/proton-ge-custom.git#commit=c03528a75cb317aa19a8e65bbe5c82416ee16594
- source = wine-valve::git+https://github.com/ValveSoftware/wine.git
- source = dxvk::git+https://github.com/doitsujin/dxvk.git
- source = openvr::git+https://github.com/ValveSoftware/openvr.git
- source = liberation-fonts::git+https://github.com/liberationfonts/liberation-fonts.git
- source = gstreamer::git+https://gitlab.freedesktop.org/gstreamer/gstreamer.git
- source = gst-plugins-base::git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-base.git
- source = gst-plugins-good::git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-good.git
- source = gst-orc::git+https://gitlab.freedesktop.org/gstreamer/orc.git
- source = vkd3d-proton::git+https://github.com/HansKristian-Work/vkd3d-proton.git
- source = OpenXR-SDK::git+https://github.com/KhronosGroup/OpenXR-SDK.git
- source = dxvk-nvapi::git+https://github.com/jp7677/dxvk-nvapi.git
- source = vkd3d-valve::git+https://github.com/ValveSoftware/vkd3d.git
- source = Vulkan-Headers::git+https://github.com/KhronosGroup/Vulkan-Headers.git
- source = SPIRV-Headers::git+https://github.com/KhronosGroup/SPIRV-Headers.git
- source = Vulkan-Loader::git+https://github.com/KhronosGroup/Vulkan-Loader.git
- source = glslang::git+https://github.com/KhronosGroup/glslang.git
- source = gst-libav::git+https://gitlab.freedesktop.org/gstreamer/gst-libav.git
- source = ffmpeg::git+https://git.ffmpeg.org/ffmpeg.git
- source = dav1d::git+https://code.videolan.org/videolan/dav1d.git
- source = gst-plugins-rs::git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
- source = dxil-spirv::git+https://github.com/HansKristian-Work/dxil-spirv.git
- source = graphene::git+https://github.com/ebassi/graphene.git
- source = libdisplay-info-dxvk::git+https://gitlab.freedesktop.org/JoshuaAshton/libdisplay-info.git
- source = wine-staging::git+https://github.com/wine-staging/wine-staging.git
- source = protonfixes-gloriouseggroll::git+https://github.com/gloriouseggroll/protonfixes.git
- source = gst-plugins-bad::git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad.git
- source = gst-plugins-ugly::git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly.git
source = https://dl.winehq.org/wine/wine-gecko/2.47.3/wine-gecko-2.47.3-x86.tar.xz
source = https://dl.winehq.org/wine/wine-gecko/2.47.3/wine-gecko-2.47.3-x86_64.tar.xz
source = https://github.com/madewokherd/wine-mono/releases/download/wine-mono-8.0.0/wine-mono-8.0.0-x86.tar.xz
@@ -200,33 +173,6 @@ pkgbase = proton-ge-custom
source = 0004-AUR-Copy-DLL-dependencies-of-32bit-libvkd3d-dlls-int.patch
source = fix_hwnd_changes_meaning.patch
sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = SKIP
sha256sums = 08d318f3dd6440a8a777cf044ccab039b0d9c8809991d2180eb3c9f903135db3
sha256sums = 0beac419c20ee2e68a1227b6e3fa8d59fec0274ed5e82d0da38613184716ef75
sha256sums = 14c7d76780b79dc62d8ed9d1759e7adcfa332bb2406e2e694dee7b2128cc7a77
diff --git a/PKGBUILD b/PKGBUILD
index 41f2c58f81d2..c99254be2e29 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ _commit=c03528a75cb317aa19a8e65bbe5c82416ee16594
pkgver=${_srctag//-/.}
_geckover=2.47.3
_monover=8.0.0
-pkgrel=3
+pkgrel=4
epoch=2
pkgdesc="Compatibility tool for Steam Play based on Wine and additional components, GloriousEggroll's custom build"
url="https://github.com/GloriousEggroll/proton-ge-custom"
@@ -83,33 +83,6 @@ provides=('proton')
install=${pkgname}.install
source=(
proton-ge-custom::git+https://github.com/gloriouseggroll/proton-ge-custom.git#commit=${_commit}
- wine-valve::git+https://github.com/ValveSoftware/wine.git
- dxvk::git+https://github.com/doitsujin/dxvk.git
- openvr::git+https://github.com/ValveSoftware/openvr.git
- liberation-fonts::git+https://github.com/liberationfonts/liberation-fonts.git
- gstreamer::git+https://gitlab.freedesktop.org/gstreamer/gstreamer.git
- gst-plugins-base::git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-base.git
- gst-plugins-good::git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-good.git
- gst-orc::git+https://gitlab.freedesktop.org/gstreamer/orc.git
- vkd3d-proton::git+https://github.com/HansKristian-Work/vkd3d-proton.git
- OpenXR-SDK::git+https://github.com/KhronosGroup/OpenXR-SDK.git
- dxvk-nvapi::git+https://github.com/jp7677/dxvk-nvapi.git
- vkd3d-valve::git+https://github.com/ValveSoftware/vkd3d.git
- Vulkan-Headers::git+https://github.com/KhronosGroup/Vulkan-Headers.git
- SPIRV-Headers::git+https://github.com/KhronosGroup/SPIRV-Headers.git
- Vulkan-Loader::git+https://github.com/KhronosGroup/Vulkan-Loader.git
- glslang::git+https://github.com/KhronosGroup/glslang.git
- gst-libav::git+https://gitlab.freedesktop.org/gstreamer/gst-libav.git
- ffmpeg::git+https://git.ffmpeg.org/ffmpeg.git
- dav1d::git+https://code.videolan.org/videolan/dav1d.git
- gst-plugins-rs::git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
- dxil-spirv::git+https://github.com/HansKristian-Work/dxil-spirv.git
- graphene::git+https://github.com/ebassi/graphene.git
- libdisplay-info-dxvk::git+https://gitlab.freedesktop.org/JoshuaAshton/libdisplay-info.git
- wine-staging::git+https://github.com/wine-staging/wine-staging.git
- protonfixes-gloriouseggroll::git+https://github.com/gloriouseggroll/protonfixes.git
- gst-plugins-bad::git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad.git
- gst-plugins-ugly::git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly.git
https://dl.winehq.org/wine/wine-gecko/${_geckover}/wine-gecko-${_geckover}-x86{,_64}.tar.xz
https://github.com/madewokherd/wine-mono/releases/download/wine-mono-${_monover}/wine-mono-${_monover}-x86.tar.xz
0001-AUR-Pkgbuild-changes.patch
@@ -171,69 +144,7 @@ prepare() {
mv "$srcdir"/wine-gecko-${_geckover}-x86{,_64}.tar.xz contrib/
mv "$srcdir"/wine-mono-${_monover}-x86.tar.xz contrib/
- _submodules=(
- wine-valve::wine
- dxvk
- openvr
- liberation-fonts::fonts/liberation-fonts
- gstreamer
- gst-plugins-base
- gst-plugins-good
- gst-orc
- vkd3d-proton
- OpenXR-SDK
- dxvk-nvapi
- vkd3d-valve::vkd3d
- Vulkan-Headers
- SPIRV-Headers
- Vulkan-Loader
- glslang
- gst-libav
- ffmpeg::FFmpeg
- dav1d
- gst-plugins-rs
- graphene
- wine-staging
- protonfixes-gloriouseggroll::protonfixes
- gst-plugins-bad
- gst-plugins-ugly
- )
-
- for submodule in "${_submodules[@]}"; do
- git submodule init "${submodule#*::}"
- git submodule set-url "${submodule#*::}" "$srcdir"/"${submodule%::*}"
- git -c protocol.file.allow=always submodule update "${submodule#*::}"
- done
-
- pushd dxvk
- git submodule init include/{vulkan,spirv}
- git submodule set-url include/vulkan "$srcdir/Vulkan-Headers"
- git submodule set-url include/spirv "$srcdir/SPIRV-Headers"
- git -c protocol.file.allow=always submodule update include/{vulkan,spirv}
-
- git submodule init subprojects/libdisplay-info
- git submodule set-url subprojects/libdisplay-info "$srcdir/libdisplay-info-dxvk"
- git -c protocol.file.allow=always submodule update subprojects/libdisplay-info
- popd
-
- pushd vkd3d-proton
- for submodule in subprojects/{dxil-spirv,Vulkan-Headers,SPIRV-Headers}; do
- git submodule init "${submodule}"
- git submodule set-url "${submodule}" "$srcdir"/"${submodule#*/}"
- git -c protocol.file.allow=always submodule update "${submodule}"
- done
- pushd subprojects/dxil-spirv
- git submodule init third_party/spirv-headers
- git submodule set-url third_party/spirv-headers "$srcdir"/SPIRV-Headers
- git -c protocol.file.allow=always submodule update third_party/spirv-headers
- popd
- popd
-
- pushd dxvk-nvapi
- git submodule init external/Vulkan-Headers
- git submodule set-url external/Vulkan-Headers "$srcdir"/Vulkan-Headers
- git -c protocol.file.allow=always submodule update external/Vulkan-Headers
- popd
+ git -c protocol.file.allow=always submodule update --init --filter=tree:0 --recursive
for submodule in gst-plugins-rs media-converter; do
pushd $submodule
@@ -251,13 +162,6 @@ prepare() {
patch -p1 -i "$srcdir"/0003-AUR-Remove-kaldi-openfst-vosk-api-modules-because-of.patch
patch -p1 -i "$srcdir"/0004-AUR-Copy-DLL-dependencies-of-32bit-libvkd3d-dlls-int.patch
patch -p1 -i "$srcdir"/fix_hwnd_changes_meaning.patch
-
- # Remove repos from srcdir to save space
- for submodule in "${_submodules[@]}"; do
- rm -rf "$srcdir"/"${submodule%::*}"
- done
- rm -rf "$srcdir"/dxil-spirv
- rm -rf "$srcdir"/libdisplay-info-dxvk
}
build() {
@@ -350,33 +254,6 @@ package() {
}
sha256sums=('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'
'08d318f3dd6440a8a777cf044ccab039b0d9c8809991d2180eb3c9f903135db3'
'0beac419c20ee2e68a1227b6e3fa8d59fec0274ed5e82d0da38613184716ef75'
'14c7d76780b79dc62d8ed9d1759e7adcfa332bb2406e2e694dee7b2128cc7a77'
diff --git a/PKGBUILD.testing b/PKGBUILD.testing
index 6f43650399f0..0b5a2a26bec9 100644
--- a/PKGBUILD.testing
+++ b/PKGBUILD.testing
@@ -6,7 +6,7 @@ _commit=c03528a75cb317aa19a8e65bbe5c82416ee16594
pkgver=${_srctag//-/.}
_geckover=2.47.3
_monover=8.0.0
-pkgrel=3
+pkgrel=4
epoch=2
pkgdesc="Compatibility tool for Steam Play based on Wine and additional components, GloriousEggroll's custom build"
url="https://github.com/GloriousEggroll/proton-ge-custom"
@@ -83,33 +83,6 @@ provides=('proton')
install=${pkgname}.install
source=(
proton-ge-custom::git+https://github.com/gloriouseggroll/proton-ge-custom.git#commit=${_commit}
- wine-valve::git+https://github.com/ValveSoftware/wine.git
- dxvk::git+https://github.com/doitsujin/dxvk.git
- openvr::git+https://github.com/ValveSoftware/openvr.git
- liberation-fonts::git+https://github.com/liberationfonts/liberation-fonts.git
- gstreamer::git+https://gitlab.freedesktop.org/gstreamer/gstreamer.git
- gst-plugins-base::git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-base.git
- gst-plugins-good::git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-good.git
- gst-orc::git+https://gitlab.freedesktop.org/gstreamer/orc.git
- vkd3d-proton::git+https://github.com/HansKristian-Work/vkd3d-proton.git
- OpenXR-SDK::git+https://github.com/KhronosGroup/OpenXR-SDK.git
- dxvk-nvapi::git+https://github.com/jp7677/dxvk-nvapi.git
- vkd3d-valve::git+https://github.com/ValveSoftware/vkd3d.git
- Vulkan-Headers::git+https://github.com/KhronosGroup/Vulkan-Headers.git
- SPIRV-Headers::git+https://github.com/KhronosGroup/SPIRV-Headers.git
- Vulkan-Loader::git+https://github.com/KhronosGroup/Vulkan-Loader.git
- glslang::git+https://github.com/KhronosGroup/glslang.git
- gst-libav::git+https://gitlab.freedesktop.org/gstreamer/gst-libav.git
- ffmpeg::git+https://git.ffmpeg.org/ffmpeg.git
- dav1d::git+https://code.videolan.org/videolan/dav1d.git
- gst-plugins-rs::git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
- dxil-spirv::git+https://github.com/HansKristian-Work/dxil-spirv.git
- graphene::git+https://github.com/ebassi/graphene.git
- libdisplay-info-dxvk::git+https://gitlab.freedesktop.org/JoshuaAshton/libdisplay-info.git
- wine-staging::git+https://github.com/wine-staging/wine-staging.git
- protonfixes-gloriouseggroll::git+https://github.com/gloriouseggroll/protonfixes.git
- gst-plugins-bad::git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad.git
- gst-plugins-ugly::git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly.git
https://dl.winehq.org/wine/wine-gecko/${_geckover}/wine-gecko-${_geckover}-x86{,_64}.tar.xz
https://github.com/madewokherd/wine-mono/releases/download/wine-mono-${_monover}/wine-mono-${_monover}-x86.tar.xz
0001-AUR-Pkgbuild-changes.patch
@@ -171,69 +144,7 @@ prepare() {
mv "$srcdir"/wine-gecko-${_geckover}-x86{,_64}.tar.xz contrib/
mv "$srcdir"/wine-mono-${_monover}-x86.tar.xz contrib/
- _submodules=(
- wine-valve::wine
- dxvk
- openvr
- liberation-fonts::fonts/liberation-fonts
- gstreamer
- gst-plugins-base
- gst-plugins-good
- gst-orc
- vkd3d-proton
- OpenXR-SDK
- dxvk-nvapi
- vkd3d-valve::vkd3d
- Vulkan-Headers
- SPIRV-Headers
- Vulkan-Loader
- glslang
- gst-libav
- ffmpeg::FFmpeg
- dav1d
- gst-plugins-rs
- graphene
- wine-staging
- protonfixes-gloriouseggroll::protonfixes
- gst-plugins-bad
- gst-plugins-ugly
- )
-
- for submodule in "${_submodules[@]}"; do
- git submodule init "${submodule#*::}"
- git submodule set-url "${submodule#*::}" "$srcdir"/"${submodule%::*}"
- git -c protocol.file.allow=always submodule update "${submodule#*::}"
- done
-
- pushd dxvk
- git submodule init include/{vulkan,spirv}
- git submodule set-url include/vulkan "$srcdir/Vulkan-Headers"
- git submodule set-url include/spirv "$srcdir/SPIRV-Headers"
- git -c protocol.file.allow=always submodule update include/{vulkan,spirv}
-
- git submodule init subprojects/libdisplay-info
- git submodule set-url subprojects/libdisplay-info "$srcdir/libdisplay-info-dxvk"
- git -c protocol.file.allow=always submodule update subprojects/libdisplay-info
- popd
-
- pushd vkd3d-proton
- for submodule in subprojects/{dxil-spirv,Vulkan-Headers,SPIRV-Headers}; do
- git submodule init "${submodule}"
- git submodule set-url "${submodule}" "$srcdir"/"${submodule#*/}"
- git -c protocol.file.allow=always submodule update "${submodule}"
- done
- pushd subprojects/dxil-spirv
- git submodule init third_party/spirv-headers
- git submodule set-url third_party/spirv-headers "$srcdir"/SPIRV-Headers
- git -c protocol.file.allow=always submodule update third_party/spirv-headers
- popd
- popd
-
- pushd dxvk-nvapi
- git submodule init external/Vulkan-Headers
- git submodule set-url external/Vulkan-Headers "$srcdir"/Vulkan-Headers
- git -c protocol.file.allow=always submodule update external/Vulkan-Headers
- popd
+ git -c protocol.file.allow=always submodule update --init --filter=tree:0 --recursive
for submodule in gst-plugins-rs media-converter; do
pushd $submodule
@@ -251,13 +162,6 @@ prepare() {
patch -p1 -i "$srcdir"/0003-AUR-Remove-kaldi-openfst-vosk-api-modules-because-of.patch
patch -p1 -i "$srcdir"/0004-AUR-Copy-DLL-dependencies-of-32bit-libvkd3d-dlls-int.patch
patch -p1 -i "$srcdir"/fix_hwnd_changes_meaning.patch
-
- # Remove repos from srcdir to save space
- for submodule in "${_submodules[@]}"; do
- rm -rf "$srcdir"/"${submodule%::*}"
- done
- rm -rf "$srcdir"/dxil-spirv
- rm -rf "$srcdir"/libdisplay-info-dxvk
}
build() {
@@ -353,33 +257,6 @@ package() {
}
sha256sums=('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'
'08d318f3dd6440a8a777cf044ccab039b0d9c8809991d2180eb3c9f903135db3'
'0beac419c20ee2e68a1227b6e3fa8d59fec0274ed5e82d0da38613184716ef75'
'14c7d76780b79dc62d8ed9d1759e7adcfa332bb2406e2e694dee7b2128cc7a77'