diff --git a/graphics/glfw/Makefile b/graphics/glfw/Makefile index 21536ec16726..a5fcadac768b 100644 --- a/graphics/glfw/Makefile +++ b/graphics/glfw/Makefile @@ -1,61 +1,62 @@ PORTNAME= glfw -DISTVERSION= 3.3.9 +DISTVERSION= 3.3.10 CATEGORIES= graphics -MASTER_SITES= https://github.com/glfw/glfw/releases/download/${PORTVERSION}/ +MASTER_SITES= https://github.com/glfw/glfw/releases/download/${DISTVERSION}/ MAINTAINER= eduardo@FreeBSD.org COMMENT= Portable framework for OpenGL development WWW= https://www.glfw.org/ LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/LICENSE.md USES= cmake:insource localbase zip USE_LDCONFIG= yes CMAKE_ON= BUILD_SHARED_LIBS CONFLICTS_INSTALL= glfw2 PLIST_SUB= MAJVER=${DISTVERSION:R:R} \ VERSION=${DISTVERSION:R} PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_DEFAULT= X11 OPTIONS_SINGLE= PLATFORM OPTIONS_SINGLE_PLATFORM= WAYLAND X11 PLATFORM_DESC= Window creation platform -WAYLAND_BUILD_DEPENDS= libxkbcommon>0:x11/libxkbcommon \ +WAYLAND_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ + libxkbcommon>0:x11/libxkbcommon \ wayland-protocols>=0:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \ libwayland-egl.so:graphics/wayland WAYLAND_USES= kde:5 pkgconfig WAYLAND_USE= KDE=ecm WAYLAND_CMAKE_BOOL= GLFW_USE_WAYLAND X11_USES= xorg X11_USE= XORG=x11,xcursor,xi,xinerama,xrandr,xxf86vm do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/docs/html/search ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/html/search/* \ ${STAGEDIR}${DOCSDIR}/docs/html/search cd ${WRKSRC}/docs/html && ${INSTALL_DATA} *.html *.png *.css *.js \ ${STAGEDIR}${DOCSDIR}/docs/html do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/tests cd ${WRKSRC}/examples && ${INSTALL_PROGRAM} \ boing gears heightmap particles simple splitview wave \ ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/tests && ${INSTALL_PROGRAM} \ clipboard cursor empty events gamma glfwinfo iconify \ joysticks monitors msaa reopen tearing \ threads title windows \ ${STAGEDIR}${EXAMPLESDIR}/tests .include diff --git a/graphics/glfw/distinfo b/graphics/glfw/distinfo index b10a7d9f02ac..f84fb88c5fb9 100644 --- a/graphics/glfw/distinfo +++ b/graphics/glfw/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1702569312 -SHA256 (glfw-3.3.9.zip) = 55261410f8c3a9cc47ce8303468a90f40a653cd8f25fb968b12440624fb26d08 -SIZE (glfw-3.3.9.zip) = 1465859 +TIMESTAMP = 1708588237 +SHA256 (glfw-3.3.10.zip) = e8433ef817f7b8199aab4868390639701b6b26f535ec1a6598bcf82019d1bdb8 +SIZE (glfw-3.3.10.zip) = 1467690 diff --git a/graphics/glfw/files/patch-evdev-hack b/graphics/glfw/files/patch-evdev-hack deleted file mode 100644 index 917c4d581824..000000000000 --- a/graphics/glfw/files/patch-evdev-hack +++ /dev/null @@ -1,32 +0,0 @@ -Fix build with WAYLAND -https://github.com/glfw/glfw/issues/2445 - ---- src/wl_init.c.orig 2023-12-12 18:00:27 UTC -+++ src/wl_init.c -@@ -32,7 +32,11 @@ - - #include - #include --#include -+#if defined(__FreeBSD__) -+ #include -+#else -+ #include -+#endif - #include - #include - #include - ---- src/wl_window.c.orig 2023-12-12 18:00:27 UTC -+++ src/wl_window.c -@@ -43,6 +43,10 @@ - #include - #include - -+#if defined(__FreeBSD__) -+ #include -+#endif -+ - #define GLFW_BORDER_SIZE 4 - #define GLFW_CAPTION_HEIGHT 24 -