void-packages/srcpkgs/TSC/template
Jürgen Buchmüller 24e10e6727 Revert "TSC: enable cross builds"
This reverts commit 64ae0b9eda.

Oops! It was not just mruby which for cross builds but also the
solib libeCEGUIOpenGLRenderer missing.
2020-06-04 18:40:36 +02:00

32 lines
1.1 KiB
Bash

# Template file for 'TSC'
pkgname=TSC
version=2.1.0
revision=1
build_wrksrc=tsc
build_style=cmake
configure_args="-DFIXED_DATA_DIR=/usr/share/TSC -DBINARY_DIR=/usr/bin
-DUSE_SYSTEM_MRUBY=ON -DUSE_SYSTEM_TINYCLIPBOARD=ON"
hostmakedepends="bison gperf pkg-config mruby gettext"
makedepends="SFML-devel boost-devel cegui-devel devil-devel gettext-devel
glew-devel libvorbis-devel libxml++-devel libXt-devel tinyclipboard-devel"
depends="mruby>=0 TSC-data>=${version}_${revision}"
short_desc="OSS 2D platform game"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-3.0-or-later"
homepage="https://www.secretchronicles.org/"
distfiles="https://ftp.secretchronicles.org/releases/${pkgname}-${version}.tar.gz"
checksum=6a16765b4951e3d5d1ea2b84e6da8f67b0271460f0c570b53ccdab80d7396261
# FIXME: find out what's missing for cegui
nocross="cegui does not build libCEGUIOpenGLRenderer when cross compiling"
post_install() {
vinstall extras/tsc.desktop 644 usr/share/applications
}
TSC-data_package() {
short_desc+=" - data files"
archs=noarch
pkg_install() {
vmove usr/share/tsc
}
}