New package: TSC-2.0.0
Full title "The Secret Chronicles of Dr. M."
This commit is contained in:
parent
1aa85cce4e
commit
a6dcbdffd1
3 changed files with 46 additions and 0 deletions
1
srcpkgs/TSC-data
Symbolic link
1
srcpkgs/TSC-data
Symbolic link
|
@ -0,0 +1 @@
|
|||
TSC
|
10
srcpkgs/TSC/patches/fix-parse_y.patch
Normal file
10
srcpkgs/TSC/patches/fix-parse_y.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- mruby/mruby/src/parse.y 2015-10-18 17:13:49.000000000 +0200
|
||||
+++ mruby/mruby/src/parse.y 2015-10-18 17:20:11.650073778 +0200
|
||||
@@ -194,6 +194,7 @@
|
||||
b[len] = '\0';
|
||||
return b;
|
||||
}
|
||||
+#undef strndup
|
||||
#define strndup(s,len) parser_strndup(p, s, len)
|
||||
|
||||
static char*
|
35
srcpkgs/TSC/template
Normal file
35
srcpkgs/TSC/template
Normal file
|
@ -0,0 +1,35 @@
|
|||
# Template file for 'TSC'
|
||||
pkgname=TSC
|
||||
version=2.0.0
|
||||
revision=1
|
||||
build_style=cmake
|
||||
build_wrksrc=tsc
|
||||
configure_args="-DFIXED_DATA_DIR=/usr/share/TSC -DBINARY_DIR=/usr"
|
||||
make_build_args="LD=\${CXX}"
|
||||
hostmakedepends="bison flex cmake gperf pkg-config ruby"
|
||||
makedepends="boost-devel devil-devel gettext-devel glew-devel libvorbis-devel
|
||||
libxml++-devel SDL_image-devel SDL_mixer-devel SDL_ttf-devel"
|
||||
depends="TSC-data>=${version}_${revision}"
|
||||
short_desc="OSS 2D platform game"
|
||||
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||
license="GPL-3"
|
||||
homepage="http://www.secretchronicles.de/"
|
||||
# The official tarball does not include the git mruby/mruby and mruby/mgems files
|
||||
distfiles="http://repo.voidlinux.de/distfiles/${pkgname}-${version}/${pkgname}-${version}-full.tar.xz"
|
||||
checksum="0239a30a9f46ece040efebc069d9f1b0153fbdae30393614ffe1e4be35148322"
|
||||
nocross=yes # Fails to run generated mruby/mrbc
|
||||
|
||||
CXXFLAGS="-std=c++11"
|
||||
|
||||
post_install() {
|
||||
vbin build/tsc
|
||||
vinstall extras/tsc.desktop 644 usr/share/applications
|
||||
}
|
||||
|
||||
TSC-data_package() {
|
||||
short_desc+=" - data files"
|
||||
noarch=yes
|
||||
pkg_install() {
|
||||
vmove usr/share/TSC
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue