Package Details: openstarruler-git r68.f07b3cd-3

Git Clone URL: https://aur.archlinux.org/openstarruler-git.git (read-only, click to copy)
Package Base: openstarruler-git
Description: Star Ruler 2 is a Massive scale 4X-RTS set in space. Control planets, manipulate politics, research technologies and command armies in your quest for galactic dominance.
Upstream URL: http://starruler2.com/
Keywords: 4X-RTS game RTS Ruler space Star StarRuler StarRuler2
Licenses: MIT
Conflicts: starruler2
Provides: starruler2
Replaces: starruler2
Submitter: lightdot
Maintainer: None
Last Packager: lightdot
Votes: 1
Popularity: 0.000000
First Submitted: 2021-11-12 16:53 (UTC)
Last Updated: 2021-11-12 19:52 (UTC)

Latest Comments

lightdot commented on 2025-10-12 17:20 (UTC)

@Zsar, thanks for reporting, I haven't attempted a build in a while.

Since I'm not playing the game anymore and don't have the time required to keep this package properly maintained, I'm letting it go.

Zsar commented on 2025-10-11 16:48 (UTC) (edited on 2025-10-11 17:05 (UTC) by Zsar)

Does not build out-of-the-box right now:

CMake Error at CMakeLists.txt:3 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
[...]
==> ERROR: A failure occurred in build().
    Aborting...

I got it to compile and run (up to the main menu at least - did not yet test further) just by:
1) moving 'cmake_minimum_required(VERSION 2.8)' to the top of src/OpenStarRuler/source/glfw/CMakeLists.txt
2) in this directive, replacing '2.8' with '3.5'

(Using the default cmake package from extra repository, currently version 4.1.2.)

Nb. this does not seem to break anything, but the subfolder pkg seems to have a strange user mode set:

$ grep -FIRn --include=CMakeLists.txt cmake_minimum_required .
[...]
grep: ./pkg: Permission denied
$ ls -al
[...]
d--x--x--x 2 Zsar Zsar 4096 Oct 11 18:38 pkg

lightdot commented on 2021-11-16 17:25 (UTC)

Quite right, I'll fix that in the next release. Seeing how many times I had to fix the PKGBUILD, I shouldn't have been working on it that evening at all, LOL.