Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Oct 2018 17:29:14 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r483319 - in head/games/meandmyshadow: . files
Message-ID:  <201810281729.w9SHTEiA085204@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Oct 28 17:29:13 2018
New Revision: 483319
URL: https://svnweb.freebsd.org/changeset/ports/483319

Log:
  - Update to 0.5

Added:
  head/games/meandmyshadow/files/
  head/games/meandmyshadow/files/patch-CMakeLists.txt   (contents, props changed)
  head/games/meandmyshadow/files/patch-src_Functions.cpp   (contents, props changed)
Modified:
  head/games/meandmyshadow/Makefile
  head/games/meandmyshadow/distinfo
  head/games/meandmyshadow/pkg-descr

Modified: head/games/meandmyshadow/Makefile
==============================================================================
--- head/games/meandmyshadow/Makefile	Sun Oct 28 16:50:32 2018	(r483318)
+++ head/games/meandmyshadow/Makefile	Sun Oct 28 17:29:13 2018	(r483319)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	meandmyshadow
-PORTVERSION=	0.4.1
-PORTREVISION=	4
+PORTVERSION=	0.5
 CATEGORIES=	games
 MASTER_SITES=	SF/${PORTNAME}/${PORTVERSION}/
 DISTNAME=	${PORTNAME}-${PORTVERSION}-src
@@ -16,9 +15,9 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libcurl.so:ftp/curl
 
-USES=		cmake libarchive ssl
-USE_SDL=	sdl ttf image mixer image gfx
-USE_GL=		gl glu
+USES=		cmake dos2unix libarchive lua:53
+DOS2UNIX_FILES=	CMakeLists.txt src/Functions.cpp
+USE_SDL=	sdl2 image2 ttf2 mixer2
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 

Modified: head/games/meandmyshadow/distinfo
==============================================================================
--- head/games/meandmyshadow/distinfo	Sun Oct 28 16:50:32 2018	(r483318)
+++ head/games/meandmyshadow/distinfo	Sun Oct 28 17:29:13 2018	(r483319)
@@ -1,2 +1,3 @@
-SHA256 (meandmyshadow-0.4.1-src.tar.gz) = 25dd24f1f34e274a23b7b85116b6c3c2172af2069d0d028c0e00785c0e6b8572
-SIZE (meandmyshadow-0.4.1-src.tar.gz) = 17017718
+TIMESTAMP = 1539012144
+SHA256 (meandmyshadow-0.5-src.tar.gz) = 75d4914ae7275402bce3f544125271c262a15ae53e61292c9768bbb60772d8ac
+SIZE (meandmyshadow-0.5-src.tar.gz) = 17526981

Added: head/games/meandmyshadow/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/meandmyshadow/files/patch-CMakeLists.txt	Sun Oct 28 17:29:13 2018	(r483319)
@@ -0,0 +1,29 @@
+--- CMakeLists.txt.orig	2018-10-07 15:06:26 UTC
++++ CMakeLists.txt
+@@ -2,6 +2,13 @@ Project (meandmyshadow)
+ CMake_Minimum_Required (VERSION 3.1)
+ Set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
+ 
++#Path options
++Set (BINDIR "bin" CACHE STRING "Where to install binaries")
++Set (DATAROOTDIR "${CMAKE_INSTALL_PREFIX}/share" CACHE STRING "Sets the root of data directories to a non-default location")
++Set (ICONDIR "${DATAROOTDIR}/icons" CACHE STRING "Sets the icon directory for desktop entry to a non-default location.")
++Set (DESKTOPDIR "${DATAROOTDIR}/applications" CACHE STRING "Sets the desktop file directory for desktop entry to a non-default location.")
++
++#Options
+ Option (DEBUG_MODE "Compile the game with debug mode enabled" OFF)
+ Option (DISABLED_DEBUG_STUFF "Enable this you'll see a lot of annoying script debug messages which will lag the game." OFF)
+ 
+@@ -164,12 +171,6 @@ Target_Link_Libraries (
+ 	${LUA_LIBRARIES}
+ )
+ 
+-#Path options
+-Set (BINDIR "bin" CACHE STRING "Where to install binaries")
+-Set (DATAROOTDIR "${CMAKE_INSTALL_PREFIX}/share" CACHE STRING "Sets the root of data directories to a non-default location")
+-Set (ICONDIR "${DATAROOTDIR}/icons" CACHE STRING "Sets the icon directory for desktop entry to a non-default location.")
+-Set (DESKTOPDIR "${DATAROOTDIR}/applications" CACHE STRING "Sets the desktop file directory for desktop entry to a non-default location.")
+-
+ #Install locations
+ Install (DIRECTORY ${PROJECT_SOURCE_DIR}/data DESTINATION ${DATAROOTDIR}/meandmyshadow/)
+ Install (FILES AUTHORS DESTINATION ${DATAROOTDIR}/meandmyshadow/)

Added: head/games/meandmyshadow/files/patch-src_Functions.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/meandmyshadow/files/patch-src_Functions.cpp	Sun Oct 28 17:29:13 2018	(r483319)
@@ -0,0 +1,11 @@
+--- src/Functions.cpp.orig	2018-10-07 15:06:26 UTC
++++ src/Functions.cpp
+@@ -416,7 +416,7 @@ void onVideoResize(ImageManager& imageMa
+ 
+ ScreenData init(){
+ 	//Initialze SDL.
+-	if(SDL_Init(SDL_INIT_EVERYTHING)==-1) {
++	if(SDL_Init(SDL_INIT_VIDEO|SDL_INIT_AUDIO|SDL_INIT_JOYSTICK|SDL_INIT_TIMER)==-1) {
+         std::cerr << "FATAL ERROR: SDL_Init failed\nError: " << SDL_GetError() << std::endl;
+         return creationFailed();
+ 	}

Modified: head/games/meandmyshadow/pkg-descr
==============================================================================
--- head/games/meandmyshadow/pkg-descr	Sun Oct 28 16:50:32 2018	(r483318)
+++ head/games/meandmyshadow/pkg-descr	Sun Oct 28 17:29:13 2018	(r483319)
@@ -2,4 +2,4 @@ Me and My Shadow is a puzzle/platform game written by 
 The author has given us permission to gpl the game, and develop it
 further. It has an interesting concept and rather unique gameplay.
 
-WWW: http://meandmyshadow.sourceforge.net/
+WWW: https://acmepjz.github.io/meandmyshadow/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810281729.w9SHTEiA085204>