diff options
author | Tim Biermann <tbier@posteo.de> | 2020-05-25 23:20:29 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2020-05-25 23:20:29 +0000 |
commit | ee112bb5dd834d6ec3be85914ed17a6a9a69f2ce (patch) | |
tree | c66257db4b43a6b29115a897ca37aebaba3cac93 /scorched3d | |
parent | 20f8288835080234d6bae409580585bdb04c751e (diff) | |
download | contrib-ee112bb5dd834d6ec3be85914ed17a6a9a69f2ce.tar.gz contrib-ee112bb5dd834d6ec3be85914ed17a6a9a69f2ce.tar.xz |
xlockmore: 5.61 -> 5.63
Diffstat (limited to 'scorched3d')
-rw-r--r-- | scorched3d/Pkgfile | 31 |
1 files changed, 27 insertions, 4 deletions
diff --git a/scorched3d/Pkgfile b/scorched3d/Pkgfile index 1199c03bc..6432f9a16 100644 --- a/scorched3d/Pkgfile +++ b/scorched3d/Pkgfile @@ -1,21 +1,44 @@ # Description: A 3D recreation of the classic DOS game Scorched Earth. # URL: http://www.scorched3d.co.uk/ # Maintainer: Danny Rawlins, crux at romster dot me -# Depends on: sdl_mixer sdl_net wxgtk freealut fftw +# Depends on: dos2unix fftw freealut glew sdl_mixer sdl_net wxgtk3 name=scorched3d -version=43.3d +version=44 release=1 -source=(http://downloads.sourceforge.net/project/$name/$name/Version%20$version/Scorched3D-$version-src.tar.gz) +source=(https://sourceforge.net/projects/scorched3d/files/scorched3d/Version%2044/Scorched3D-$version-src.tar.gz + # https://gitweb.gentoo.org/repo/gentoo.git/tree/games-strategy/scorched3d/files + scorched3d-44-fix-c++14.patch scorched3d-44-fixups.patch scorched3d-44-freetype.patch + scorched3d-44-gcc43.patch scorched3d-44-jpeg9.patch scorched3d-44-odbc.patch scorched3d-44-win32.patch + scorched3d-44-wxgtk.patch) build() { cd scorched + patch -Np1 -i $SRC/scorched3d-44-fixups.patch + patch -Np1 -i $SRC/scorched3d-44-gcc43.patch + patch -Np1 -i $SRC/scorched3d-44-odbc.patch + patch -Np1 -i $SRC/scorched3d-44-win32.patch + patch -Np1 -i $SRC/scorched3d-44-freetype.patch + patch -Np1 -i $SRC/scorched3d-44-jpeg9.patch + patch -Np1 -i $SRC/scorched3d-44-fix-c++14.patch + #patch -Np1 -i $SRC/scorched3d-44-wxgtk.patch +# dos2unix \ +# src/launcher/wxdialogs/SettingsDialog.cpp \ +# src/launcher/wxdialogs/DisplayDialog.cpp \ +# src/launcher/wxdialogs/Display.cpp \ +# src/launcher/wxdialogs/KeyDialog.cpp + +# autoreconf -fvi --no-recursive + +CONFIG_SHELL=/bin/bash \ ./configure \ --prefix=/usr \ --datadir=/usr/share/scorched3d \ + --with-wx-config=/usr/bin/wx-config-gtk3 \ + --without-pgsql \ --disable-dependency-tracking - + SHELL=/bin/bash \ make make DESTDIR=$PKG install rm -r $PKG/usr/share/scorched3d/documentation |