xmoto: fix missing text

closes #8197
This commit is contained in:
maxice8 2019-02-20 01:48:53 -03:00
parent 6f7afbe6b8
commit 396d50157c
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View file

@ -1,7 +1,7 @@
# Template file for 'xmoto'
pkgname=xmoto
version=0.5.11
revision=10
revision=11
build_style=gnu-configure
configure_args="--disable-sdltest CPPFLAGS=-DdDOUBLE"
hostmakedepends="automake libtool gettext-devel intltool desktop-file-utils"
@ -16,6 +16,10 @@ homepage="http://xmoto.tuxfamily.org/"
distfiles="http://download.tuxfamily.org/xmoto/xmoto/${version}/xmoto-${version}-src.tar.gz"
checksum=a584a6f9292b184686b72c78f16de4b82d5c5b72ad89e41912ff50d03eca26b2
# Build using the old C++ ABI to fix issue with missing text; the issue
# should be fixed in the next stable release (if that ever does happen)
CPPFLAGS+=" -D_GLIBCXX_USE_CXX11_ABI=0"
if [ "$CROSS_BUILD" ]; then
# configure can't test this when cross compiling
export ac_cv_lib_GLU_gluBuild2DMipmaps=yes
@ -38,8 +42,8 @@ post_install() {
}
xmoto-data_package() {
archs=noarch
short_desc+=" - data files"
noarch=yes
pkg_install() {
vmove usr/share/xmoto
}