Package Details: unciv 4.1.1.2-1

Git Clone URL: https://aur.archlinux.org/unciv.git (read-only, click to copy)
Package Base: unciv
Description: Open-source remake of Civilization V
Upstream URL: https://github.com/yairm210/Unciv
Licenses: MPL-2.0
Submitter: petercxy
Maintainer: petercxy (lilac)
Last Packager: lilac
Votes: 8
Popularity: 0.95
First Submitted: 2020-02-02 08:44 (UTC)
Last Updated: 2022-05-19 13:19 (UTC)

Latest Comments

petercxy commented on 2022-05-13 19:06 (UTC)

The libgdx 1.11.0 update is irrelevant for Linux users. Please do check whether an update is actually needed before flagging this package out-of-date.

dvalter commented on 2022-04-17 19:02 (UTC)

Build fails if JAVA_HOME is set and points to 1.8. Probably it would be better to unset JAVA_HOME or point it to 11 instead. The following worked for me

diff --git a/PKGBUILD b/PKGBUILD
index 31309af..dd2c3cd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -38,6 +38,7 @@ prepare() {
 build() {
   cd $_srcdir
   unset _JAVA_OPTIONS
+  unset JAVA_HOME
   export PATH=/usr/lib/jvm/java-11-openjdk/bin/:$PATH
   GRADLE_USER_HOME="$srcdir" ./gradlew desktop:dist
 }

gnaggnoyil commented on 2022-01-06 15:52 (UTC)

Why is GRADLE_USER_HOME set to $srcdir in PKGBUILD? This essentially ignores any user specific settings such as proxy for gradle set in gradle.properties. Is it really necessary to do so?

petercxy commented on 2021-09-08 11:50 (UTC)

@kleintux Hmmm not sure how this happened. Let me check later (or maybe the game will be updated before I even check...)

petercxy commented on 2020-11-22 23:11 (UTC)

@rs410ga: This PKGBUILD never deletes any asset in the Android directory. It only removes build scripts because they somehow keep asking for the Android SDK even when not building for Android. A lot of assets are always located inside the android/ subdirectory and they have been fine till now.

There's a new version from upstream that fixes the image packing issue. I don't think there's any change necessary for this PKGBUILD. Just wait for the update later (I am thinking about how to handle the exotic -imagePacking version suffix).

rs410ga commented on 2020-11-22 17:47 (UTC)

3.11.14 seems to require some changes to PKGBUILD: https://github.com/yairm210/Unciv/issues/3358

petercxy commented on 2020-06-27 01:03 (UTC)

@iTanguy: fixed

petercxy commented on 2020-06-26 12:25 (UTC)

@iTanguy: looks like the gradle build script is somewhat broken and does not package the resources correctly. I'll look into this.

iTanguy commented on 2020-06-22 12:08 (UTC)

Couldn't run since a few minor version, build is sucessful but failure at runtime :

$> Unciv 
Packing textures - 4ms
Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load file: ExtraImages/Icon.png
    at com.badlogic.gdx.graphics.Pixmap.<init>(Pixmap.java:144)
    at com.badlogic.gdx.backends.lwjgl.LwjglGraphics.setupDisplay(LwjglGraphics.java:229)
    at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:146)
    at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:128)

Caused by: com.badlogic.gdx.utils.GdxRuntimeException: File not found: ExtraImages/Icon.png (Internal) at com.badlogic.gdx.files.FileHandle.read(FileHandle.java:142) at com.badlogic.gdx.files.FileHandle.readBytes(FileHandle.java:228) at com.badlogic.gdx.graphics.Pixmap.<init>(Pixmap.java:141) ... 3 more $>