Sven-Hendrik Haase pushed to branch main at Arch Linux / Packaging / Packages / 
0ad


Commits:
62b8ac82 by Sven-Hendrik Haase at 2026-02-22T14:04:10+01:00
upgpkg: 0.28.0-2: Use vendored js128 to attempt to fix #6

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = 0ad
        pkgdesc = Cross-platform, 3D and historically-based real-time strategy 
game
        pkgver = 0.28.0
-       pkgrel = 1
+       pkgrel = 2
        url = http://play0ad.com/
        arch = x86_64
        license = GPL-2.0-or-later
@@ -32,7 +32,6 @@ pkgbase = 0ad
        depends = libgl
        depends = glu
        depends = fmt
-       depends = js128
        depends = gloox
        depends = miniupnpc
        depends = libminiupnpc.so


=====================================
PKGBUILD
=====================================
@@ -3,13 +3,13 @@
 # Contributor: Adrián Chaves Fernández (Gallaecio) <[email protected]>
 pkgname=0ad
 pkgver=0.28.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Cross-platform, 3D and historically-based real-time strategy game"
 arch=('x86_64')
 url="http://play0ad.com/";
 license=('GPL-2.0-or-later')
 depends=("0ad-data=$pkgver" 'binutils' 'boost-libs' 'curl' 'enet' 'libogg' 
'libpng' 'libvorbis'
-         'libxml2' 'openal' 'sdl2' 'wxwidgets-gtk3' 'zlib' 'libgl' 'glu' 'fmt' 
'js128'
+         'libxml2' 'openal' 'sdl2' 'wxwidgets-gtk3' 'zlib' 'libgl' 'glu' 'fmt'
          'gloox' 'miniupnpc' 'libminiupnpc.so' 'icu' 'nspr' 'libsodium' 
'which')
 makedepends=('boost' 'cmake' 'mesa' 'zip' 'libsm' 'rust' 'git' 'python' 'llvm' 
'cbindgen'
              'premake')
@@ -21,19 +21,17 @@ 
sha512sums=('6b5d7893d27d5fa71ce4cad1b424a7d4b36e8bc438c590cbd86d9872148d5051cd3
 build() {
   cd "$pkgname-$pkgver"
 
-  # If buidling the included spidermonkey, we need to
+  # When buidling the included spidermonkey, we need to
   # a compile error: https://gitea.wildfiregames.com/0ad/0ad/issues/8571
-  #export CXXFLAGS="${CXXFLAGS/-fexceptions/}"
+  export CXXFLAGS="${CXXFLAGS/-fexceptions/}"
 
   cd libraries
   ./build-source-libs.sh \
-    --with-system-premake \
-    --with-system-mozjs
+    --with-system-premake
 
   cd ../build/workspaces
   ./update-workspaces.sh -j$(nproc) \
     --with-system-premake5 \
-    --with-system-mozjs \
     --with-lto \
     --without-pch \
     --bindir=/usr/bin \



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/0ad/-/commit/62b8ac8260fa091252fcfa0d9405124f9f2e7683

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


Reply via email to