OpenLara: import OpenLara (git snapshot) as wip/OpenLara
Classic Tomb Raider open-source engine inspired by OpenTomb project. To try it out, download https://www.classicdosgames.com/files/games/eidos/tombdemo.zip and then $ OpenLara DATA/LEVEL2.PHD or try the webgl version http://xproger.info/projects/OpenLara/
This commit is contained in:
parent
490919241a
commit
73d4a3aaf3
1
Makefile
1
Makefile
|
@ -27,6 +27,7 @@ SUBDIR+= MoleInvasion
|
|||
SUBDIR+= OpenGLUT
|
||||
SUBDIR+= OpenIPMI
|
||||
SUBDIR+= OpenJK-git
|
||||
SUBDIR+= OpenLara
|
||||
SUBDIR+= OpenTESArena
|
||||
SUBDIR+= PHPUnit
|
||||
SUBDIR+= PPower4
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
Classic Tomb Raider open-source engine inspired by OpenTomb project.
|
||||
|
||||
To try it out, download
|
||||
|
||||
https://www.classicdosgames.com/files/games/eidos/tombdemo.zip
|
||||
|
||||
and then
|
||||
|
||||
$ OpenLara DATA/LEVEL2.PHD
|
||||
|
||||
or try the webgl version
|
||||
|
||||
http://xproger.info/projects/OpenLara/
|
|
@ -0,0 +1,46 @@
|
|||
# $NetBSD$
|
||||
|
||||
DISTNAME= OpenLara-0.0
|
||||
GITHUB_PROJECT= OpenLara
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= ${MASTER_SITE_GITHUB:=XProger/}
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= https://github.com/XProger/OpenLara/
|
||||
COMMENT= Classic Tomb Raider open-source engine
|
||||
LICENSE= 2-clause-bsd
|
||||
|
||||
GIT_REPOSITORIES= OpenLara
|
||||
GIT_REPO.OpenLara= git://github.com/XProger/OpenLara.git
|
||||
NO_CONFIGURE= yes
|
||||
WRKSRC= ${WRKDIR}/OpenLara
|
||||
|
||||
USE_LANGUAGES= c c++11
|
||||
|
||||
INSTALLATION_DIRS+= bin
|
||||
PTHREAD_AUTO_VARS= YES
|
||||
|
||||
# build step adapted from ${WRKSRC}/src/platform/sdl2/build.sh
|
||||
# TODO: add an option to use GLES
|
||||
do-build:
|
||||
cd ${WRKSRC}/src/platform/sdl2 && \
|
||||
${CXX} -o ${WRKSRC}/OpenLara \
|
||||
`sdl2-config --cflags` \
|
||||
${PTHREAD_CPPFLAGS} ${PTHREAD_CFLAGS} \
|
||||
-fno-exceptions -fno-rtti -ffunction-sections -fdata-sections -Wl,--gc-sections \
|
||||
-DNDEBUG -D__SDL2__ -DGL_GLEXT_PROTOTYPES \
|
||||
main.cpp \
|
||||
../../libs/stb_vorbis/stb_vorbis.c \
|
||||
../../libs/minimp3/minimp3.cpp \
|
||||
../../libs/tinf/tinflate.c \
|
||||
-I../../ \
|
||||
`sdl2-config --libs` -lGL -lm -lrt \
|
||||
${PTHREAD_LIBS}
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/OpenLara ${DESTDIR}${PREFIX}/bin/
|
||||
|
||||
.include "../../devel/SDL2/buildlink3.mk"
|
||||
.include "../../mk/pthread.buildlink3.mk"
|
||||
.include "../../wip/mk/git-package.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
|
@ -0,0 +1,2 @@
|
|||
@comment $NetBSD$
|
||||
bin/OpenLara
|
|
@ -0,0 +1 @@
|
|||
$NetBSD$
|
Loading…
Reference in New Issue