forked from ports/contrib
scorched3d: dropped unmaintained port
This commit is contained in:
parent
e417800fa6
commit
5dbf9b1e77
File diff suppressed because it is too large
Load Diff
@ -1,5 +0,0 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3yOzA9Ef8Fx5soMW3FvMUJrQWeMYHTORSDJK5rpt31Ni28uwAZfqFdHOhuMTHTmoWh3OMIe1t0f8wszhTE9eQwY=
|
||||
SHA256 (Pkgfile) = 6116735fb8c0532b0318221ed191eb02fef2227a6ed819e6c035f95f706fe11d
|
||||
SHA256 (.footprint) = 940f5ce0cdb4df67a3d4990e5fb2fbb1df58ffae622f68a93a555077950183b0
|
||||
SHA256 (scorched3d-44-src.tar.gz) = a0b6d78a0f677e7e5eab78bf26596b1447ba411431bc59af84177001dd18be51
|
@ -1,37 +0,0 @@
|
||||
# Description: A 3D recreation of the classic DOS game Scorched Earth.
|
||||
# URL: https://github.com/jjaxse2017/scorched-earth-3d
|
||||
# Maintainer: UNMAINTAINED
|
||||
# Depends on: fftw freealut glew sdl_mixer sdl_net wxgtk3 p7zip
|
||||
|
||||
name=scorched3d
|
||||
version=44
|
||||
release=2
|
||||
source=(https://github.com/jjaxse2017/scorched-earth-3d/archive/x86_64_gcc_7/$name-$version-src.tar.gz)
|
||||
|
||||
build() {
|
||||
cd scorched-earth-3d-*/data/globalmods
|
||||
7z x apoc.7z
|
||||
7z x none.7z.001
|
||||
cd ../..
|
||||
|
||||
# accommodate the new wxgtk function signatures
|
||||
sed -e '/SetTickFreq/s/4, 0/4/' \
|
||||
-i src/launcher/wxdialogs/DisplayDialog.cpp
|
||||
|
||||
# update the version string, and respect the syntax expected by test
|
||||
sed -e '/ VERSION=43/s/43/44/; /test/s/== /= /g' -i configure
|
||||
|
||||
# configure using pkgconf, not the deprecated freetype-config
|
||||
FT2_CONFIG="/usr/bin/pkgconf freetype2" \
|
||||
/bin/bash ./configure \
|
||||
--prefix=/usr \
|
||||
--datadir=/usr/share/scorched3d \
|
||||
--with-wx-config=/usr/bin/wx-config-gtk3 \
|
||||
--without-pgsql \
|
||||
--disable-freetypetest \
|
||||
--disable-dependency-tracking
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
rm -r $PKG/usr/share/scorched3d/documentation
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
# Scorched3D: known issues
|
||||
|
||||
xorg-server is needed to play this game, but not to build it. Scorched3D is
|
||||
linked against libsdl 1.2, which unlike SDL2 does not support newer video
|
||||
protocols. A pure-Wayland desktop can launch the server (scorched3ds), but
|
||||
not the client (scorched3dc) which relies on an Xorg-compatible build of
|
||||
glew.
|
||||
|
||||
It is normal to encounter WxGtk errors when first launching scorched3d.
|
||||
Click through, and you should be able to reach the settings menu.
|
Loading…
x
Reference in New Issue
Block a user