parent
6f7afbe6b8
commit
396d50157c
1 changed files with 6 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'xmoto'
|
# Template file for 'xmoto'
|
||||||
pkgname=xmoto
|
pkgname=xmoto
|
||||||
version=0.5.11
|
version=0.5.11
|
||||||
revision=10
|
revision=11
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-sdltest CPPFLAGS=-DdDOUBLE"
|
configure_args="--disable-sdltest CPPFLAGS=-DdDOUBLE"
|
||||||
hostmakedepends="automake libtool gettext-devel intltool desktop-file-utils"
|
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"
|
distfiles="http://download.tuxfamily.org/xmoto/xmoto/${version}/xmoto-${version}-src.tar.gz"
|
||||||
checksum=a584a6f9292b184686b72c78f16de4b82d5c5b72ad89e41912ff50d03eca26b2
|
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
|
if [ "$CROSS_BUILD" ]; then
|
||||||
# configure can't test this when cross compiling
|
# configure can't test this when cross compiling
|
||||||
export ac_cv_lib_GLU_gluBuild2DMipmaps=yes
|
export ac_cv_lib_GLU_gluBuild2DMipmaps=yes
|
||||||
|
@ -38,8 +42,8 @@ post_install() {
|
||||||
}
|
}
|
||||||
|
|
||||||
xmoto-data_package() {
|
xmoto-data_package() {
|
||||||
|
archs=noarch
|
||||||
short_desc+=" - data files"
|
short_desc+=" - data files"
|
||||||
noarch=yes
|
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/share/xmoto
|
vmove usr/share/xmoto
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue