View | Details | Raw Unified | Return to bug 218883
Collapse All | Expand All

(-)OpenTomb/Makefile (+27 lines)
Line 0 Link Here
1
# Created by: Piotr Kubaj <pkubaj@anongoth.pl>
2
# $FreeBSD$
3
4
PORTNAME=	OpenTomb
5
DISTVERSIONPREFIX=	win32-
6
DISTVERSION=	2017-04-24_alpha
7
CATEGORIES=	games
8
9
MAINTAINER=	pkubaj@anongoth.pl
10
COMMENT=	Open-source Tomb Raider 1-5 engine remake
11
12
LICENSE=	LGPL3
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
15
LIB_DEPENDS=	libpng.so:graphics/png
16
17
USE_GITHUB=	yes
18
19
USES=		cmake lua openal
20
USE_SDL=	sdl2
21
22
PLIST_FILES=	bin/OpenTomb
23
24
do-install:
25
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin
26
27
.include <bsd.port.mk>
(-)OpenTomb/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1493300613
2
SHA256 (OpenTomb-OpenTomb-win32-2017-04-24_alpha_GH0.tar.gz) = 48627b18f7d6f7a6675e66b12e26f6a4edbd1dbf4a0152eeca28eac86c9fd18d
3
SIZE (OpenTomb-OpenTomb-win32-2017-04-24_alpha_GH0.tar.gz) = 9268426
(-)OpenTomb/files/patch-src_world.cpp (+18 lines)
Line 0 Link Here
1
Fix compiling with libc++ and Clang
2
3
src/world.cpp:689:53: error: no viable conversion from '__map_iterator<__tree_iterator<__value_type<unsigned int, [...]>, class std::__1::__tree_node<union
4
      std::__1::__value_type<unsigned int, struct base_item_s *>, void *> *, [...]>>' to '__map_iterator<__tree_iterator<__value_type<const unsigned int, [...]>, class std::__1::__tree_node<union std::__1::__value_type<const unsigned int, struct base_item_s *>, void
5
      *> *, [...]>>'
6
    std::map<const uint32_t, base_item_p>::iterator it = global_world.items_tree.find(item_id);
7
                                                    ^    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8
--- src/world.cpp.orig	2017-04-28 13:32:52 UTC
9
+++ src/world.cpp
10
@@ -686,7 +686,7 @@ int World_CreateItem(uint32_t item_id, u
11
 
12
 int World_DeleteItem(uint32_t item_id)
13
 {
14
-    std::map<const uint32_t, base_item_p>::iterator it = global_world.items_tree.find(item_id);
15
+    std::map<uint32_t, base_item_p>::iterator it = global_world.items_tree.find(item_id);
16
 
17
     if(it != global_world.items_tree.end())
18
     {
(-)OpenTomb/pkg-descr (+7 lines)
Line 0 Link Here
1
OpenTomb is an open-source engine reimplementation project intended to
2
play levels from all classic-era Tomb Raider games (TR 1-5) and custom
3
TRLE levels.  The project does not use any old Tomb Raider source
4
code, because all attempts to retrieve sources from Eidos / Core were
5
in vain.
6
7
WWW: https://opentomb.github.io/
(-)OpenTomb/pkg-message (+14 lines)
Line 0 Link Here
1
You need the following files to play OpenTomb:
2
* Data folders from each game. Get them from your retail game CDs or
3
  Steam/GOG bundles.
4
* CD audio tracks. OpenTomb only supports OGG audiotracks for a
5
  moment, so you should convert original soundtracks by yourself, or
6
  just download whole TR1-5 music package here:
7
  http://trep.trlevel.de/opentomb/files/tr_soundtracks_for_opentomb.zip
8
9
  PLEASE NOTE: script file bundled in this archive is outdated, so
10
  don't overwrite existing soundtrack.lua file with one provided in
11
  archive.
12
* Loading screens for TR1-3 and TR5. For TR3, get them from pix
13
  directory of your installed official game.  For other versions
14
  download them from http://trep.trlevel.de/temp/loading_screens.zip

Return to bug 218883