Levente Polyak pushed to branch main at Arch Linux / Packaging / Packages / 
emptyepsilon


Commits:
ecec645f by Gabriel at 2026-01-02T03:23:23+01:00
* The shader loading patch seems to not have been necessary for a number of 
years now.
* The gcc12 patch is also fixed (the header include is part of upstream now).
* There is a new fix necessary for GLM 1.0.0, read more 
[here](https://github.com/daid/EmptyEpsilon/issues/2111).

- - - - -


3 changed files:

- .SRCINFO
- PKGBUILD
- − gcc12.patch


Changes:

=====================================
.SRCINFO
=====================================
@@ -18,9 +18,7 @@ pkgbase = emptyepsilon
        depends = sdl2
        source = git+https://github.com/daid/EmptyEpsilon.git#tag=EE-2024.08.09
        source = git+https://github.com/daid/SeriousProton.git#tag=EE-2024.08.09
-       source = gcc12.patch
        sha512sums = 
97f87e43ddbf6e6697c89074f6397d3c1bd00981d13473bd843586ce8587930c30633f3c8ac5e4ed9917986f6ecbae5a3487f95750aeb0786230e28fa0b6f7cc
        sha512sums = 
84779b98ff949250cf1a151de7a565763805c9fb3b420ea80d79e37771090206c3aa71946aad30c09a391f1b41bfe1ccd1b65de2c61ed35f93e8884bba3c8422
-       sha512sums = 
479b76b604b4a4fc8152da11775533b8d56eb4bfd688a28ea6c64a39bfe40e5d365ee035f34cf3fa2cfa16d877cb5324bd2b911270e19f55e77d60386b08ed13
 
 pkgname = emptyepsilon


=====================================
PKGBUILD
=====================================
@@ -24,20 +24,10 @@ makedepends=(
   python
 )
 source=("git+https://github.com/daid/EmptyEpsilon.git#tag=EE-${pkgver}";
-        "git+https://github.com/daid/SeriousProton.git#tag=EE-${pkgver}";
-        gcc12.patch)
+        "git+https://github.com/daid/SeriousProton.git#tag=EE-${pkgver}";)
 
sha512sums=('97f87e43ddbf6e6697c89074f6397d3c1bd00981d13473bd843586ce8587930c30633f3c8ac5e4ed9917986f6ecbae5a3487f95750aeb0786230e28fa0b6f7cc'
-            
'84779b98ff949250cf1a151de7a565763805c9fb3b420ea80d79e37771090206c3aa71946aad30c09a391f1b41bfe1ccd1b65de2c61ed35f93e8884bba3c8422'
-            
'479b76b604b4a4fc8152da11775533b8d56eb4bfd688a28ea6c64a39bfe40e5d365ee035f34cf3fa2cfa16d877cb5324bd2b911270e19f55e77d60386b08ed13')
+            
'84779b98ff949250cf1a151de7a565763805c9fb3b420ea80d79e37771090206c3aa71946aad30c09a391f1b41bfe1ccd1b65de2c61ed35f93e8884bba3c8422')
 
-prepare() {
-  patch -Np0 <gcc12.patch
-  # fix shader loading, should be upstreamed
-  sed 's|new Engine();|chdir(RESOURCE_BASE_DIR); new Engine();|' -i 
EmptyEpsilon/src/main.cpp
-  # fix crashes
-  cd SeriousProton
-  git cherry-pick -n d0c08263fc0895db59d29b4c0e23efc2847a78a1
-}
 
 build() {
   mkdir -p EmptyEpsilon/build
@@ -56,6 +46,9 @@ build() {
         -DCPACK_PACKAGE_VERSION_MINOR="$(echo ${pkgver} | cut -d. -f2)" \
         -DCPACK_PACKAGE_VERSION_PATCH="$(echo ${pkgver} | cut -d. -f3)" \
         -DOpenGL_GL_PREFERENCE=GLVND \
+        -DCMAKE_CXX_FLAGS=-DGLM_ENABLE_EXPERIMENTAL \
+        -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
+        -Wno-dev \
         ..
   make
 }


=====================================
gcc12.patch deleted
=====================================
@@ -1,10 +0,0 @@
---- SeriousProton/src/io/http/websocket.h.orig 2022-11-02 04:42:17.652740683 
+0000
-+++ SeriousProton/src/io/http/websocket.h      2022-11-02 04:39:22.718726564 
+0000
-@@ -4,6 +4,7 @@
- #include <nonCopyable.h>
- #include <io/network/tcpSocket.h>
- #include <unordered_map>
-+#include <memory>
- 
- 
- namespace sp {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/emptyepsilon/-/commit/ecec645fe0c1aaa6fb619529f34da370d0628a81

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/emptyepsilon/-/commit/ecec645fe0c1aaa6fb619529f34da370d0628a81
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to