Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jun 2017 12:04:11 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r443565 - in head/graphics/libepoxy: . files
Message-ID:  <201706141204.v5EC4BeM057836@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Wed Jun 14 12:04:11 2017
New Revision: 443565
URL: https://svnweb.freebsd.org/changeset/ports/443565

Log:
  Update libepoxy to 1.4.3.
  
  * Switch to meson build system
  * This release makes EGL support switchable. Make it a option and
    disable it on mips and sparc64, due to not having libEGL in mesa-libs.

Added:
  head/graphics/libepoxy/files/
  head/graphics/libepoxy/files/patch-test_dlwrap.c   (contents, props changed)
Modified:
  head/graphics/libepoxy/Makefile
  head/graphics/libepoxy/distinfo
  head/graphics/libepoxy/pkg-plist

Modified: head/graphics/libepoxy/Makefile
==============================================================================
--- head/graphics/libepoxy/Makefile	Wed Jun 14 11:09:27 2017	(r443564)
+++ head/graphics/libepoxy/Makefile	Wed Jun 14 12:04:11 2017	(r443565)
@@ -1,10 +1,9 @@
 # $FreeBSD$
 
 PORTNAME=	libepoxy
-PORTVERSION=	1.3.1
-PORTREVISION=	1
-DISTVERSIONPREFIX=	v
+PORTVERSION=	1.4.3
 CATEGORIES=	graphics
+MASTER_SITES=	https://github.com/anholt/${PORTNAME}/releases/download/${PORTVERSION}/
 
 MAINTAINER=	x11@FreeBSD.org
 COMMENT=	Library to handle OpenGL function pointer management
@@ -12,13 +11,20 @@ COMMENT=	Library to handle OpenGL function pointer man
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	anholt
+USES=		localbase meson pkgconfig python:3.3+,build tar:xz
+USE_XORG=	x11
+USE_GL=		gl glesv2
+USE_LDCONFIG=	yes
 
-USES=		autoreconf libtool pathfix pkgconfig python:build
-USE_XORG=	xorg-macros x11
-USE_GL=		egl glesv2
-GNU_CONFIGURE=	yes
-INSTALL_TARGET=	install-strip
+OPTIONS_SUB=	yes
+OPTIONS_DEFINE=	EGL
+OPTIONS_DEFAULT=EGL
+
+OPTIONS_EXCLUDE_sparc64=	EGL
+OPTIONS_EXCLUDE_mips=	EGL
+
+EGL_DESC=	Build EGL support
+EGL_USE=	GL=egl
+EGL_MESON_YES=	enable-egl
 
 .include <bsd.port.mk>

Modified: head/graphics/libepoxy/distinfo
==============================================================================
--- head/graphics/libepoxy/distinfo	Wed Jun 14 11:09:27 2017	(r443564)
+++ head/graphics/libepoxy/distinfo	Wed Jun 14 12:04:11 2017	(r443565)
@@ -1,2 +1,3 @@
-SHA256 (anholt-libepoxy-v1.3.1_GH0.tar.gz) = 6700ddedffb827b42c72cce1e0be6fba67b678b19bf256e1b5efd3ea38cc2bb4
-SIZE (anholt-libepoxy-v1.3.1_GH0.tar.gz) = 284227
+TIMESTAMP = 1496777736
+SHA256 (libepoxy-1.4.3.tar.xz) = 0b808a06c9685a62fca34b680abb8bc7fb2fda074478e329b063c1f872b826f6
+SIZE (libepoxy-1.4.3.tar.xz) = 783624

Added: head/graphics/libepoxy/files/patch-test_dlwrap.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/libepoxy/files/patch-test_dlwrap.c	Wed Jun 14 12:04:11 2017	(r443565)
@@ -0,0 +1,11 @@
+--- test/dlwrap.c.orig	2017-03-28 08:56:46 UTC
++++ test/dlwrap.c
+@@ -34,6 +34,8 @@
+ 
+ /* dladdr is a glibc extension */
+ #define _GNU_SOURCE
++/* FreeBSD needs this to make asprintf() and dlvsym() visible */
++#define __BSD_VISIBLE 1
+ #include <dlfcn.h>
+ 
+ #include <stdbool.h>

Modified: head/graphics/libepoxy/pkg-plist
==============================================================================
--- head/graphics/libepoxy/pkg-plist	Wed Jun 14 11:09:27 2017	(r443564)
+++ head/graphics/libepoxy/pkg-plist	Wed Jun 14 12:04:11 2017	(r443565)
@@ -1,5 +1,6 @@
-include/epoxy/egl.h
-include/epoxy/egl_generated.h
+include/epoxy/common.h
+%%EGL%%include/epoxy/egl.h
+%%EGL%%include/epoxy/egl_generated.h
 include/epoxy/gl.h
 include/epoxy/gl_generated.h
 include/epoxy/glx.h



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