unknown-horizons: explicitely generate atlases
This commit is contained in:
parent
86896185ff
commit
37907f40b3
2 changed files with 16 additions and 1 deletions
|
@ -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'
|
# Template file for 'unknown-horizons'
|
||||||
pkgname=unknown-horizons
|
pkgname=unknown-horizons
|
||||||
version=2019.1
|
version=2019.1
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3 intltool git python3-Pillow"
|
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"
|
distfiles="https://github.com/unknown-horizons/unknown-horizons/archive/${version}.tar.gz"
|
||||||
checksum=a417fd3d342212fd190e4f21be82ef13c10e1ed7c288fbbe46e46200cf3de4d8
|
checksum=a417fd3d342212fd190e4f21be82ef13c10e1ed7c288fbbe46e46200cf3de4d8
|
||||||
|
|
||||||
|
pre_install() {
|
||||||
|
python3 horizons/engine/generate_atlases.py 2048
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense doc/LICENSE
|
vlicense doc/LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue