Package Details: stratagus 2.4.3-2

Git Clone URL: https://aur.archlinux.org/stratagus.git (read-only, click to copy)
Package Base: stratagus
Description: A free cross-platform real-time strategy gaming engine
Upstream URL: https://github.com/Wargus/stratagus
Licenses: GPL
Submitter: encelo
Maintainer: encelo
Last Packager: encelo
Votes: 26
Popularity: 0.000000
First Submitted: 2005-05-11 02:54
Last Updated: 2020-08-30 12:36

Latest Comments

1 2 3 4 Next › Last »

encelo commented on 2020-08-30 12:39

I have added git to the makedepends array.

Thaodan commented on 2020-08-29 00:38

Git is missing as makedepend pls fix.

encelo commented on 2020-05-11 12:22

Updated to 2.4.3

encelo commented on 2019-10-28 17:24

I have added glu in the makedepends array. I have also included the two missing headers in the package.

nvllsvm commented on 2019-10-26 03:16

Please include all the header files in the package. They're needed to build wargus.

The missing two:

  cp ${srcdir}/stratagus/gameheaders/stratagus-gameutils.h ${pkgdir}/usr/include
  cp ${srcdir}/stratagus/gameheaders/stratagus-tinyfiledialogs.h ${pkgdir}/usr/include

BluePeril commented on 2019-10-21 08:31

Could you please add glu as dependency as it won't build without it in a clean environment. Thanks

encelo commented on 2019-10-20 13:35

I have added a patch to fix the SDL redefinition of GL_GLEXT_VERSION

uw5fl commented on 2019-10-19 12:42

"/usr/include/SDL/SDL_opengl.h:116: error: "GL_GLEXT_VERSION" redefined [-Werror]" The error is fixed by applying the following patch: https://github.com/Wargus/stratagus/issues/241 In case the link doesn't work, here are the lines to add to the /usr/include/SDL/SDL_opengl.h (they are marked with a plus): @@ -33,6 +33,8 @@ #endif #include <windows.h> #endif +/ mesa changes GL_GLEXT_VERSION, use system glext.h instead via GL/gl.h / +#define NO_SDL_GLEXT #ifndef NO_SDL_GLEXT #define __glext_h_ / Don't let gl.h include glext.h / #endif

htm commented on 2019-07-24 21:51

please update !

VanLaser commented on 2019-01-17 10:40

I get an error when trying to build 2.4.2 (this doesn't happen if I set the github tag to 2.4.1, i.e. the message is still present, but as a warning):

/usr/include/SDL/SDL_opengl.h:116: error: "GL_GLEXT_VERSION" redefined [-Werror]

This suggests somewhere in the CMake rules the -Werror was being added. I'm not familiar with cmake, can anyone show how to fix this, preferably from the PKGBUILD? Thanks!

EDIT: the warning also seems to be related with a CMake policy about choosing an OpenGL library (Policy CMP0072, FindOpenGL), which suggests using cmake_policy() in a CMake file (can I set it system-wide or something?)