mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
- Update to 2.14.7
- Add .desktop entry
This commit is contained in:
parent
6279b48432
commit
e17de1b501
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=443633
@ -2,8 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= 7kaa
|
||||
PORTVERSION= 2.14.6
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 2.14.7
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= SF/skfans/7KAA%20${PORTVERSION}
|
||||
|
||||
@ -13,20 +12,30 @@ COMMENT= Seven Kingdoms: Ancient Adversaries
|
||||
LICENSE= GPLv2+
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
LIB_DEPENDS= libenet.so:net/enet
|
||||
LIB_DEPENDS= libenet.so:net/enet \
|
||||
libcurl.so:ftp/curl
|
||||
|
||||
USES= gmake localbase openal:al tar:xz
|
||||
USES= compiler:c++11-lib gmake localbase openal:al pkgconfig tar:xz
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --disable-nls # no translations ATM
|
||||
USE_SDL= sdl2
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
PLIST_FILES= bin/${PORTNAME} \
|
||||
share/pixmaps/${PORTNAME}.ico
|
||||
PORTDOCS= *
|
||||
PORTDATA= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
DESKTOP_ENTRIES="7KAA" \
|
||||
"" \
|
||||
"${PREFIX}/share/pixmaps/${PORTNAME}.ico" \
|
||||
"${PORTNAME}" \
|
||||
"Game;StrategyGame;" \
|
||||
""
|
||||
|
||||
post-install:
|
||||
@${RM} ${STAGEDIR}${DOCSDIR}/COPYING
|
||||
${INSTALL_DATA} ${WRKSRC}/src/7k.ico ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.ico
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1473115708
|
||||
SHA256 (7kaa-2.14.6.tar.xz) = fcbe2d7fc12fab7a2c08a14317264c9f96a6ebca18b28f3fee78925442bdd573
|
||||
SIZE (7kaa-2.14.6.tar.xz) = 31220676
|
||||
TIMESTAMP = 1496913552
|
||||
SHA256 (7kaa-2.14.7.tar.xz) = 9425cfb7f11a915e82d4696649db35a4d53969a9479a4705b403206df462e543
|
||||
SIZE (7kaa-2.14.7.tar.xz) = 31342092
|
||||
|
@ -1,12 +0,0 @@
|
||||
--- src/audio/openal/openal_audio.cpp.orig 2016-09-04 17:31:41 UTC
|
||||
+++ src/audio/openal/openal_audio.cpp
|
||||
@@ -168,7 +168,8 @@ OpenALAudio::OpenALAudio()
|
||||
|
||||
OpenALAudio::~OpenALAudio()
|
||||
{
|
||||
- this->deinit();
|
||||
+ if (this->init_flag != 0)
|
||||
+ this->deinit();
|
||||
}
|
||||
|
||||
// Initialize the mid driver
|
@ -1,12 +0,0 @@
|
||||
--- src/client/OMUSIC.cpp.orig 2015-05-19 01:00:20 UTC
|
||||
+++ src/client/OMUSIC.cpp
|
||||
@@ -81,7 +81,8 @@ Music::Music()
|
||||
// -------- begin of function Music::~Music ---------//
|
||||
Music::~Music()
|
||||
{
|
||||
- deinit();
|
||||
+ if (init_flag != 0)
|
||||
+ deinit();
|
||||
}
|
||||
// -------- end of function Music::~Music ---------//
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- src/client/OSYS.cpp.orig 2016-09-04 17:31:41 UTC
|
||||
+++ src/client/OSYS.cpp
|
||||
@@ -240,6 +240,8 @@ void Sys::deinit()
|
||||
|
||||
//-------------------------------------//
|
||||
|
||||
+ deinit_directx();
|
||||
+
|
||||
init_flag = 0;
|
||||
}
|
||||
//--------- End of function Sys::deinit ---------//
|
@ -1,12 +0,0 @@
|
||||
--- src/video/sdl/vga_sdl.cpp.orig 2016-09-04 17:31:41 UTC
|
||||
+++ src/video/sdl/vga_sdl.cpp
|
||||
@@ -58,7 +58,8 @@ VgaSDL::VgaSDL()
|
||||
|
||||
VgaSDL::~VgaSDL()
|
||||
{
|
||||
- deinit();
|
||||
+ if (window != NULL)
|
||||
+ deinit();
|
||||
}
|
||||
//-------- End of function VgaSDL::~VgaSDL ----------//
|
||||
|
Loading…
Reference in New Issue
Block a user