Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jun 2018 14:46:20 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r473134 - head/devel/raylib
Message-ID:  <201806231446.w5NEkKAP042940@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sat Jun 23 14:46:20 2018
New Revision: 473134
URL: https://svnweb.freebsd.org/changeset/ports/473134

Log:
  devel/raylib: Update 1.9.7-dev -> 2.0.0-dev
  
  Port changes:
  * Add USES=localbase:ldflags
  * Backport the pull request for glfw selection in cmake scripts
  
  PR:		229234
  Submitted by:	Martin Filla <martinfilla@post.cz> (maintainer)

Modified:
  head/devel/raylib/Makefile
  head/devel/raylib/distinfo

Modified: head/devel/raylib/Makefile
==============================================================================
--- head/devel/raylib/Makefile	Sat Jun 23 14:42:32 2018	(r473133)
+++ head/devel/raylib/Makefile	Sat Jun 23 14:46:20 2018	(r473134)
@@ -1,9 +1,8 @@
 # $FreeBSD$
 
 PORTNAME=	raylib
-DISTVERSION=	1.9.7
+DISTVERSION=	2.0.0
 DISTVERSIONSUFFIX=	-dev
-PORTREVISION=	1
 CATEGORIES=	devel
 
 MAINTAINER=	martinfilla@post.cz
@@ -14,7 +13,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
 LIB_DEPENDS=	libglfw.so:graphics/glfw
 
-USES=		cmake:outsource
+USES=		cmake:outsource localbase:ldflags
 USE_GITHUB=	yes
 GH_ACCOUNT=	raysan5
 USE_LDCONFIG=	yes
@@ -29,6 +28,9 @@ PLIST_FILES=	include/raylib.h \
 		lib/libraylib.so.1 \
 		lib/libraylib.so.${DISTVERSION} \
 		libdata/pkgconfig/raylib.pc
+
+post-patch: # the equivalent of https://github.com/raysan5/raylib/pull/558 for the -dev branch
+	@${REINPLACE_CMD} -e 's|if(NOT glfw3_FOUND)|if(NOT glfw3_FOUND AND NOT USE_EXTERNAL_GLFW)|' ${WRKSRC}/src/CMakeLists.txt
 
 post-extract: # remove bundled files
 	@${RM} -r ${WRKSRC}/src/external/glfw ${WRKSRC}/src/external/include ${WRKSRC}/src/rglfw.c

Modified: head/devel/raylib/distinfo
==============================================================================
--- head/devel/raylib/distinfo	Sat Jun 23 14:42:32 2018	(r473133)
+++ head/devel/raylib/distinfo	Sat Jun 23 14:46:20 2018	(r473134)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1523722385
-SHA256 (raysan5-raylib-1.9.7-dev_GH0.tar.gz) = 2be745bf1a132e3de2dd14c9b2f8a596499fb2569ceb00c82c2e9dd95d76f062
-SIZE (raysan5-raylib-1.9.7-dev_GH0.tar.gz) = 95336821
+TIMESTAMP = 1529673142
+SHA256 (raysan5-raylib-2.0.0-dev_GH0.tar.gz) = e0aec21da642b4f373e9a6b628877dcc02a22a1267a7d6eace3ad5eb1ab33b5d
+SIZE (raysan5-raylib-2.0.0-dev_GH0.tar.gz) = 95683544



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