diff options
author | swills <swills@FreeBSD.org> | 2019-04-18 20:55:15 +0800 |
---|---|---|
committer | Koop Mast <koop@beyonit.nl> | 2019-04-23 03:02:07 +0800 |
commit | a888021413563b4d4eaeb6a8aa93a754496b2d02 (patch) | |
tree | 9b0b48f00ad7db76c62b4f090d5945f599827ec3 | |
parent | 3190b142432fc244c9eb69d1b7a4c585848f7e6a (diff) | |
download | freebsd-ports-gnome-a888021413563b4d4eaeb6a8aa93a754496b2d02.tar.gz freebsd-ports-gnome-a888021413563b4d4eaeb6a8aa93a754496b2d02.tar.zst freebsd-ports-gnome-a888021413563b4d4eaeb6a8aa93a754496b2d02.zip |
graphics/glfw: Update to 3.3
PR: 237336
Submitted by: Neel Chauhan <neel@neelc.org> (maintainer)
-rw-r--r-- | graphics/glfw/Makefile | 12 | ||||
-rw-r--r-- | graphics/glfw/distinfo | 6 | ||||
-rw-r--r-- | graphics/glfw/files/patch-src_wl__init.c | 11 | ||||
-rw-r--r-- | graphics/glfw/pkg-plist | 4 |
4 files changed, 12 insertions, 21 deletions
diff --git a/graphics/glfw/Makefile b/graphics/glfw/Makefile index 731c2fce0452..828fb53e5c8c 100644 --- a/graphics/glfw/Makefile +++ b/graphics/glfw/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= glfw -PORTVERSION= 3.2.1 -PORTREVISION= 4 +PORTVERSION= 3.3 CATEGORIES= graphics MASTER_SITES= SF @@ -11,11 +10,12 @@ MAINTAINER= neel@neelc.org COMMENT= Portable framework for OpenGL development LICENSE= ZLIB -LICENSE_FILE= ${WRKSRC}/COPYING.txt +LICENSE_FILE= ${WRKSRC}/README.md USES= cmake:insource localbase zip USE_GL= glu USE_LDCONFIG= yes + CMAKE_ON= BUILD_SHARED_LIBS PORTDOCS= * @@ -34,7 +34,9 @@ WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland \ WAYLAND_USES= kde:5 pkgconfig WAYLAND_USE= KDE=ecm -X11_USE= XORG=x11,xcursor,xinerama,xrandr,xxf86vm +X11_USE= XORG=x11,xcursor,xi,xinerama,xrandr,xxf86vm + +PLIST_SUB= VERSION="${PORTVERSION}" MAJVER="${PORTVERSION:C|\..*||}" do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/docs/html/search @@ -51,7 +53,7 @@ do-install-EXAMPLES-on: ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/tests && ${INSTALL_PROGRAM} \ clipboard cursor empty events gamma glfwinfo iconify \ - joysticks monitors msaa reopen sharing tearing \ + joysticks monitors msaa reopen tearing \ threads title windows \ ${STAGEDIR}${EXAMPLESDIR}/tests diff --git a/graphics/glfw/distinfo b/graphics/glfw/distinfo index f5e71d010ed9..fcd708fb3261 100644 --- a/graphics/glfw/distinfo +++ b/graphics/glfw/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1484665158 -SHA256 (glfw-3.2.1.zip) = b7d55e13e07095119e7d5f6792586dd0849c9fcdd867d49a4a5ac31f982f7326 -SIZE (glfw-3.2.1.zip) = 1144633 +TIMESTAMP = 1555503113 +SHA256 (glfw-3.3.zip) = 36fda4cb173e3eb2928c976b0e9b5014e2e5d12b9b787efa0aa29ffc41c37c4a +SIZE (glfw-3.3.zip) = 1416876 diff --git a/graphics/glfw/files/patch-src_wl__init.c b/graphics/glfw/files/patch-src_wl__init.c deleted file mode 100644 index 2bf6d3b7416a..000000000000 --- a/graphics/glfw/files/patch-src_wl__init.c +++ /dev/null @@ -1,11 +0,0 @@ ---- src/wl_init.c.orig 2018-03-28 18:36:50 UTC -+++ src/wl_init.c -@@ -26,7 +26,7 @@ - - #include "internal.h" - --#include <linux/input.h> -+#include <dev/evdev/input.h> - #include <stdio.h> - #include <stdlib.h> - #include <string.h> diff --git a/graphics/glfw/pkg-plist b/graphics/glfw/pkg-plist index c230c22e3dea..fb29c91053f3 100644 --- a/graphics/glfw/pkg-plist +++ b/graphics/glfw/pkg-plist @@ -5,6 +5,6 @@ lib/cmake/glfw3/glfw3ConfigVersion.cmake lib/cmake/glfw3/glfw3Targets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/glfw3/glfw3Targets.cmake lib/libglfw.so -lib/libglfw.so.3 -lib/libglfw.so.3.2 +lib/libglfw.so.%%MAJVER%% +lib/libglfw.so.%%VERSION%% libdata/pkgconfig/glfw3.pc |