warsow: needs -fcommon for gcc10

[ci skip]
This commit is contained in:
Jürgen Buchmüller 2020-08-19 14:16:42 +02:00
parent 15d0285433
commit e2e25669b3

View file

@ -2,10 +2,10 @@
pkgname=warsow
version=2.1
revision=2
build_style=cmake
configure_args="-DQFUSION_GAME=Warsow"
wrksrc="warsow_${version/./}_sdk"
build_wrksrc="source/source"
build_style=cmake
configure_args="-DQFUSION_GAME=Warsow"
hostmakedepends="pkg-config"
makedepends="libcurl-devel libvorbis-devel libtheora-devel libjpeg-turbo-devel
libopenal-devel MesaLib-devel libXi-devel libXxf86dga-devel
@ -14,13 +14,15 @@ makedepends="libcurl-devel libvorbis-devel libtheora-devel libjpeg-turbo-devel
depends="desktop-file-utils warsow-data>=2.1 libopenal"
short_desc="Free online multiplayer competitive FPS based on the Qfusion engine"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2"
license="GPL-2.0-only"
homepage="http://www.warsow.net/"
distfiles="http://mirror.null.one/warsow_${version/./}_sdk.tar.gz"
checksum=99c88bc08f5e6055d28534de6e84fc204026dda51dc31e22caca1977f199453a
archs="i686* x86_64*"
CFLAGS="-fcommon"
do_install() {
# Move Compiled Data to Destination Directory
vmkdir usr/lib/warsow