Skip to content
Snippets Groups Projects
Verified Commit b0e6c99e authored by Antonio Rojas's avatar Antonio Rojas
Browse files

upgpkg: 4.3.5-2: libsodium 1.0.19 rebuild

parent 002e65e5
No related branches found
Tags 20191011
No related merge requests found
.SRCINFO 0 → 100644
pkgbase = warzone2100
pkgdesc = 3D realtime strategy game on a future Earth
pkgver = 4.3.5
pkgrel = 2
url = https://wz2100.net/
arch = x86_64
license = GPL
makedepends = zip
makedepends = unzip
makedepends = libzip
makedepends = asciidoc
makedepends = mesa
makedepends = vulkan-headers
makedepends = shaderc
makedepends = cmake
makedepends = ninja
depends = sdl2
depends = openal
depends = libvorbis
depends = libtheora
depends = libsodium
depends = physfs
depends = sqlite
depends = freetype2
depends = opus
source = warzone2100-4.3.5_src.tar.xz::https://github.com/Warzone2100/warzone2100/releases/download/4.3.5/warzone2100_src.tar.xz
sha256sums = 01d608f6f9638e14d7c857df40ad339c1bfc207a05daafe7157ad8652a3405c3
pkgname = warzone2100
......@@ -3,7 +3,7 @@
pkgname=warzone2100
pkgver=4.3.5
pkgrel=1
pkgrel=2
pkgdesc="3D realtime strategy game on a future Earth"
url="https://wz2100.net/"
arch=('x86_64')
......@@ -13,6 +13,11 @@ makedepends=('zip' 'unzip' 'libzip' 'asciidoc' 'mesa' 'vulkan-headers' 'shaderc'
source=(${pkgname}-${pkgver}_src.tar.xz::https://github.com/Warzone2100/warzone2100/releases/download/${pkgver}/${pkgname}_src.tar.xz)
sha256sums=('01d608f6f9638e14d7c857df40ad339c1bfc207a05daafe7157ad8652a3405c3')
prepare() {
# fix build with vulkan 1.3.260
sed -e 's|vk::throwResultException|vk::detail::throwResultException|g' -i $pkgname/lib/ivis_opengl/gfx_api_vk.cpp
}
build() {
# /usr/bin/warzone2100 uses malloc_usable_size, which is incompatible with fortification level 3
export CFLAGS="${CFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment