unknown-horizons: explicitely generate atlases
This commit is contained in:
parent
86896185ff
commit
37907f40b3
|
@ -0,0 +1,11 @@
|
|||
--- setup.py 2019-01-21 16:11:35.644513578 +0100
|
||||
+++ setup.py 2019-01-21 16:11:50.592513273 +0100
|
||||
@@ -228,8 +228,6 @@
|
||||
rmtree(os.path.join("content", "lang"))
|
||||
copytree(os.path.join("build", "mo"), os.path.join("content", "lang"))
|
||||
|
||||
- self.generate_atlases(2048)
|
||||
-
|
||||
|
||||
build.sub_commands.append(('build_i18n', None))
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'unknown-horizons'
|
||||
pkgname=unknown-horizons
|
||||
version=2019.1
|
||||
revision=1
|
||||
revision=2
|
||||
noarch=yes
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3 intltool git python3-Pillow"
|
||||
|
@ -12,6 +12,10 @@ homepage="http://unknown-horizons.org"
|
|||
distfiles="https://github.com/unknown-horizons/unknown-horizons/archive/${version}.tar.gz"
|
||||
checksum=a417fd3d342212fd190e4f21be82ef13c10e1ed7c288fbbe46e46200cf3de4d8
|
||||
|
||||
pre_install() {
|
||||
python3 horizons/engine/generate_atlases.py 2048
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense doc/LICENSE
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue