Update to glfw-3.2.1

From Gregor Best (maintainer), tweaks by me, ok sthen@
This commit is contained in:
danj 2017-01-14 17:29:45 +00:00
parent b39a79ffba
commit bff79d57e9
6 changed files with 20 additions and 32 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.1.1.1 2016/04/26 15:30:50 jca Exp $
# $OpenBSD: Makefile,v 1.2 2017/01/14 17:29:45 danj Exp $
COMMENT = open source, multi-platform library for creating windows
DISTNAME = glfw-3.1.2
DISTNAME = glfw-3.2.1
CATEGORIES = graphics x11
SHARED_LIBS += glfw 0.0 # 3.1
SHARED_LIBS += glfw 1.0 # 3.1
HOMEPAGE = http://www.glfw.org/
MAINTAINER = Gregor Best <gbe@unobtanium.de>
@ -12,7 +12,7 @@ MAINTAINER = Gregor Best <gbe@unobtanium.de>
# zlib
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += GL X11 Xcursor Xi Xinerama Xrandr Xxf86vm m pthread
WANTLIB += X11 Xcursor Xinerama Xrandr Xxf86vm m pthread
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=glfw/}

View File

@ -1,2 +1,2 @@
SHA256 (glfw-3.1.2.tar.gz) = 34phOp8QGy1qRziIuszOG9lvHxssOuo+R5Cbn4WuBpA=
SIZE (glfw-3.1.2.tar.gz) = 817618
SHA256 (glfw-3.2.1.tar.gz) = jjJSky+xUTSt7YeAyMXMidoKkAfhOcptmrDtffbT+aA=
SIZE (glfw-3.2.1.tar.gz) = 870660

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-CMakeLists_txt,v 1.1.1.1 2016/04/26 15:30:50 jca Exp $
--- CMakeLists.txt.orig Mon Oct 12 21:09:07 2015
+++ CMakeLists.txt Tue Apr 26 14:59:36 2016
@@ -213,13 +213,6 @@ endif()
$OpenBSD: patch-CMakeLists_txt,v 1.2 2017/01/14 17:29:45 danj Exp $
--- CMakeLists.txt.orig Thu Aug 18 07:32:27 2016
+++ CMakeLists.txt Fri Jan 13 21:20:41 2017
@@ -172,13 +172,6 @@ endif()
# Find and add Unix math and time libraries
#--------------------------------------------------------------------
if (UNIX AND NOT APPLE)

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-src-egl_context-c,v 1.1.1.1 2016/04/26 15:30:50 jca Exp $
--- src/egl_context.c.orig Mon Oct 12 21:09:07 2015
+++ src/egl_context.c Tue Apr 26 14:59:36 2016
@@ -488,6 +488,8 @@ int _glfwCreateContext(_GLFWwindow* window,
$OpenBSD: patch-src-egl_context-c,v 1.2 2017/01/14 17:29:45 danj Exp $
--- src/egl_context.c.orig Thu Aug 18 07:32:27 2016
+++ src/egl_context.c Fri Jan 13 21:20:41 2017
@@ -615,6 +615,8 @@ GLFWbool _glfwCreateContextEGL(_GLFWwindow* window,
{
#if defined(_GLFW_WIN32)
#elif defined(_GLFW_COCOA)

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-src-glx_context-c,v 1.1.1.1 2016/04/26 15:30:50 jca Exp $
--- src/glx_context.c.orig Mon Oct 12 21:09:07 2015
+++ src/glx_context.c Tue Apr 26 14:59:36 2016
@@ -158,6 +158,8 @@ int _glfwInitContextAPI(void)
{
#if defined(__CYGWIN__)
const char* soname = "libGL-1.so";
+#elif defined(__OpenBSD__)
+ const char* soname = "libGL.so";
#else
const char* soname = "libGL.so.1";
#endif

View File

@ -1,12 +1,12 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2016/04/26 15:30:50 jca Exp $
@comment $OpenBSD: PLIST,v 1.2 2017/01/14 17:29:45 danj Exp $
include/GLFW/
include/GLFW/glfw3.h
include/GLFW/glfw3native.h
lib/cmake/
lib/cmake/glfw/
lib/cmake/glfw/glfw3Config.cmake
lib/cmake/glfw/glfw3ConfigVersion.cmake
lib/cmake/glfw/glfwTargets${MODCMAKE_BUILD_SUFFIX}
lib/cmake/glfw/glfwTargets.cmake
lib/cmake/glfw3/
lib/cmake/glfw3/glfw3Config.cmake
lib/cmake/glfw3/glfw3ConfigVersion.cmake
lib/cmake/glfw3/glfw3Targets${MODCMAKE_BUILD_SUFFIX}
lib/cmake/glfw3/glfw3Targets.cmake
@lib lib/libglfw.so.${LIBglfw_VERSION}
lib/pkgconfig/glfw3.pc