Skip to content

Commit f2d0424

Browse files
committed
TSC: update to 2.2.0.
1 parent 807141f commit f2d0424

File tree

4 files changed

+19
-47
lines changed

4 files changed

+19
-47
lines changed

srcpkgs/TSC/patches/boost-1.80.patch

Lines changed: 0 additions & 11 deletions
This file was deleted.

srcpkgs/TSC/patches/boost-1.88.patch

Lines changed: 0 additions & 10 deletions
This file was deleted.

srcpkgs/TSC/patches/no-scriptdocs-cross.patch

Lines changed: 0 additions & 17 deletions
This file was deleted.

srcpkgs/TSC/template

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,41 @@
11
# Template file for 'TSC'
22
pkgname=TSC
3-
version=2.1.0
4-
revision=10
3+
version=2.2.0
4+
revision=1
5+
create_wrksrc=yes
56
build_wrksrc=tsc
67
build_style=cmake
78
build_helper="qemu"
89
configure_args="-DFIXED_DATA_DIR=/usr/share/TSC -DBINARY_DIR=/usr/bin
9-
-DUSE_SYSTEM_MRUBY=ON -DUSE_SYSTEM_TINYCLIPBOARD=ON"
10-
# Hard to build vendored mruby
11-
# Don't work with mruby 3
10+
-DUSE_SYSTEM_MRUBY=ON -DUSE_SYSTEM_TINYCLIPBOARD=ON -DUSE_SYSTEM_CEGUI=ON"
1211
hostmakedepends="bison gperf pkg-config gettext mruby2"
1312
makedepends="SFML-devel boost-devel-minimal libboost_chrono libboost_thread
1413
libboost_filesystem cegui-devel devil-devel gettext-devel
1514
glew-devel libvorbis-devel libxml++-devel libXt-devel tinyclipboard-devel
16-
pcre-devel mruby2"
15+
pcre-devel mruby2 glm"
1716
short_desc="OSS 2D platform game"
1817
maintainer="Orphaned <orphan@voidlinux.org>"
1918
license="GPL-3.0-or-later"
2019
homepage="https://www.secretchronicles.org/"
21-
distfiles="https://github.com/Secretchronicles/TSC/releases/download/v${version}/TSC-${version}.tar.gz"
22-
checksum=6a16765b4951e3d5d1ea2b84e6da8f67b0271460f0c570b53ccdab80d7396261
20+
_commit=4beff1a3cc279b0e38709684a4a7aefb02f3dea5
21+
_maindistfile="https://github.com/Secretchronicles/TSC/archive/${_commit}.tar.gz"
22+
_mrubydistfile="https://github.com/mruby/mruby/archive/1a9bdfcde5fd7c91e756747ba0565f29385115a7.tar.gz"
23+
_poparserdistfile="https://github.com/Secretchronicles/pod-parser/archive/98f8c946ef765111f06f6b67ffc3be1e9adec717.tar.gz"
24+
distfiles="${_maindistfile}>TSC-${_commit}.tar.gz ${_mrubydistfile}>mruby-${_commit}.tar.gz ${_poparserdistfile}>pod-parser-${_commit}.tar.gz"
25+
checksum="f75aa5066c919e811849edfe94c6d60ee3e8592331c2dad3adf0910a223b5162 0e9058205d62e41a2398589c0d6956e900c5b266b9dc21b10749303240b14cf4 6e46667b39ba28c964c2fa3cbb2dc5fcf35f3ad7dfc63493fea51d30b3a1f032"
26+
skip_extraction="pod-parser-${_commit}.tar.gz"
27+
28+
do_extract() {
29+
vsrcextract "TSC-${_commit}.tar.gz"
30+
vsrcextract -C mruby/mruby "mruby-${_commit}.tar.gz" --strip-components=1
31+
vsrcextract -C pod-parser "pod-parser-${_commit}.tar.gz" --strip-components=1
32+
}
2333
replaces="TSC-data>=0"
2434

2535
if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
2636
broken="The host ($XBPS_WORDSIZE) and target ($XBPS_TARGET_WORDSIZE) word sizes need to be the same for cross building."
2737
fi
2838

2939
post_install() {
30-
vinstall extras/tsc.desktop 644 usr/share/applications
40+
vinstall extras/org.secretchronicles.TSC.desktop 644 usr/share/applications
3141
}

0 commit comments

Comments
 (0)