diff options
author | adam <adam@pkgsrc.org> | 2020-01-01 21:16:12 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2020-01-01 21:16:12 +0000 |
commit | eb18c5fc219056c9456d19d7b7b480534c5c1963 (patch) | |
tree | c85636fecb7c822be51c07f6c95a0d608a27220b /graphics/libepoxy | |
parent | 531f96accd74c6fca755bbb06302c93069c65778 (diff) | |
download | pkgsrc-eb18c5fc219056c9456d19d7b7b480534c5c1963.tar.gz |
libepoxy: updated to 1.5.4
1.5.4:
Don't build GLX tests if X11 support is disabled
Add unit tests for epoxy_gl_version()
Reduce the size of the binary by reusing static strings
Fix build on Solaris
Update the GL registries
Diffstat (limited to 'graphics/libepoxy')
-rw-r--r-- | graphics/libepoxy/Makefile | 28 | ||||
-rw-r--r-- | graphics/libepoxy/PLIST | 6 | ||||
-rw-r--r-- | graphics/libepoxy/buildlink3.mk | 4 | ||||
-rw-r--r-- | graphics/libepoxy/distinfo | 11 | ||||
-rw-r--r-- | graphics/libepoxy/options.mk | 16 | ||||
-rw-r--r-- | graphics/libepoxy/patches/patch-configure.ac | 15 |
6 files changed, 37 insertions, 43 deletions
diff --git a/graphics/libepoxy/Makefile b/graphics/libepoxy/Makefile index fe21ce0c4f0..ddcd610f19a 100644 --- a/graphics/libepoxy/Makefile +++ b/graphics/libepoxy/Makefile @@ -1,37 +1,43 @@ -# $NetBSD: Makefile,v 1.27 2019/09/01 20:38:34 dholland Exp $ +# $NetBSD: Makefile,v 1.28 2020/01/01 21:16:12 adam Exp $ -DISTNAME= libepoxy-1.5.3 +DISTNAME= libepoxy-1.5.4 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_GITHUB:=anholt/} GITHUB_RELEASE= ${PKGVERSION_NOREV} EXTRACT_SUFX= .tar.xz MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= https://github.com/anholt/libepoxy/ +HOMEPAGE= https://github.com/anholt/libepoxy COMMENT= Library for OpenGL function pointer management LICENSE= mit BUILD_DEPENDS+= ${PYPKGPREFIX}-expat>=0:../../textproc/py-expat -USE_LIBTOOL= yes -USE_TOOLS+= pkg-config autoconf autoreconf automake -GNU_CONFIGURE= yes +USE_TOOLS+= pkg-config PKGCONFIG_OVERRIDE+= epoxy.pc.in PYTHON_FOR_BUILD_ONLY= tool PLIST_VARS+= egl -pre-configure: - cd ${WRKSRC} && autoreconf -vif +.include "../../mk/bsd.prefs.mk" +.if ${OPSYS} != "Darwin" +. include "../../graphics/MesaLib/buildlink3.mk" +.else +MESON_ARGS+= -Dglx=no +.endif -.include "../../graphics/MesaLib/buildlink3.mk" .if !empty(MESALIB_SUPPORTS_EGL:M[Yy][Ee][Ss]) -PLIST.egl= yes +PLIST.egl= yes +MESON_ARGS+= -Degl=yes .else -CONFIGURE_ARGS+= --disable-egl +MESON_ARGS+= -Degl=no .endif .include "options.mk" + +TEST_ENV+= LD_LIBRARY_PATH=${WRKSRC}/output/src + +.include "../../devel/meson/build.mk" .include "../../devel/xorg-util-macros/buildlink3.mk" .include "../../lang/python/tool.mk" .include "../../mk/bsd.pkg.mk" diff --git a/graphics/libepoxy/PLIST b/graphics/libepoxy/PLIST index e59b64b2015..4f6332edcdd 100644 --- a/graphics/libepoxy/PLIST +++ b/graphics/libepoxy/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.4 2017/02/17 15:17:09 wiz Exp $ +@comment $NetBSD: PLIST,v 1.5 2020/01/01 21:16:12 adam Exp $ include/epoxy/common.h ${PLIST.egl}include/epoxy/egl.h ${PLIST.egl}include/epoxy/egl_generated.h @@ -6,5 +6,7 @@ include/epoxy/gl.h include/epoxy/gl_generated.h ${PLIST.glx}include/epoxy/glx.h ${PLIST.glx}include/epoxy/glx_generated.h -lib/libepoxy.la +lib/libepoxy.so +lib/libepoxy.so.0 +lib/libepoxy.so.0.0.0 lib/pkgconfig/epoxy.pc diff --git a/graphics/libepoxy/buildlink3.mk b/graphics/libepoxy/buildlink3.mk index 346525c9455..655f1e31b42 100644 --- a/graphics/libepoxy/buildlink3.mk +++ b/graphics/libepoxy/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.3 2019/09/04 16:38:06 nia Exp $ +# $NetBSD: buildlink3.mk,v 1.4 2020/01/01 21:16:12 adam Exp $ BUILDLINK_TREE+= libepoxy @@ -8,7 +8,9 @@ LIBEPOXY_BUILDLINK3_MK:= BUILDLINK_API_DEPENDS.libepoxy+= libepoxy>=1.2 BUILDLINK_PKGSRCDIR.libepoxy?= ../../graphics/libepoxy +.if ${OPSYS} != "Darwin" .include "../../graphics/MesaLib/buildlink3.mk" +.endif .endif # LIBEPOXY_BUILDLINK3_MK BUILDLINK_TREE+= -libepoxy diff --git a/graphics/libepoxy/distinfo b/graphics/libepoxy/distinfo index 4d90a227b90..d5cb21cc03f 100644 --- a/graphics/libepoxy/distinfo +++ b/graphics/libepoxy/distinfo @@ -1,9 +1,8 @@ -$NetBSD: distinfo,v 1.19 2019/08/31 13:50:09 nia Exp $ +$NetBSD: distinfo,v 1.20 2020/01/01 21:16:12 adam Exp $ -SHA1 (libepoxy-1.5.3.tar.xz) = e00d0bf270a99ded2a2f4abe7874b765cd338d1f -RMD160 (libepoxy-1.5.3.tar.xz) = a080ba5e96c28fde206d387760e490e7639d19f6 -SHA512 (libepoxy-1.5.3.tar.xz) = 746dfe2a0a91319abd3906c75f81f6b895117f39120e0d8897db1daec1b6d2e91e1318f0dfe588c81907727b0a6dd1a7e4a819ee6b3063a23875312570464720 -Size (libepoxy-1.5.3.tar.xz) = 220540 bytes -SHA1 (patch-configure.ac) = a21e1369028abbb34bd0add634d89747c587d610 +SHA1 (libepoxy-1.5.4.tar.xz) = d08d805b3307005e2197741012f9f4bc9739cd31 +RMD160 (libepoxy-1.5.4.tar.xz) = 3ae1a3a59ecc1f273a0b2712626819ad4ee26844 +SHA512 (libepoxy-1.5.4.tar.xz) = 7bde6fe7164aaa88b6e476dafb13391c551c530267936a1456e242d2bf648117f319788ba089100b3f773444098a894db6d27326b47dc4ae26db4766308d7510 +Size (libepoxy-1.5.4.tar.xz) = 227180 bytes SHA1 (patch-registry_egl.xml) = 37923cc2be65ab2dead9af8ff062702ab5d63392 SHA1 (patch-src_dispatch__common.c) = bfc147f2b0d7eebb567ab08517382246a30ee799 diff --git a/graphics/libepoxy/options.mk b/graphics/libepoxy/options.mk index 5edea4710c1..69623dbe482 100644 --- a/graphics/libepoxy/options.mk +++ b/graphics/libepoxy/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.2 2019/08/31 13:50:09 nia Exp $ +# $NetBSD: options.mk,v 1.3 2020/01/01 21:16:12 adam Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.libepoxy PKG_SUPPORTED_OPTIONS= x11 @@ -6,21 +6,21 @@ PKG_SUGGESTED_OPTIONS= x11 .include "../../mk/bsd.options.mk" -PLIST_VARS+= glx +PLIST_VARS+= glx .if !empty(PKG_OPTIONS:Mx11) -CONFIGURE_ARGS+= --enable-glx=yes -CONFIGURE_ARGS+= --enable-x11=yes +MESON_ARGS+= -Dglx=yes +MESON_ARGS+= -Dx11=true PLIST.glx= yes .include "../../x11/libX11/buildlink3.mk" . if ${OPSYS} == "Darwin" && ${X11_TYPE} == "modular" -CPPFLAGS+= -DGLX_LIB=\"${PREFIX}/lib/libGL.dylib\" +CPPFLAGS+= -DGLX_LIB=\"${PREFIX}/lib/libGL.dylib\" . endif .else # ! x11 . if !empty(MESALIB_SUPPORTS_EGL:M[Yy][Ee][Ss]) -CONFIGURE_ARGS+= --enable-glx=no -CONFIGURE_ARGS+= --enable-x11=no -. else +MESON_ARGS+= -Dglx=no +MESON_ARGS+= -Dx11=false +. elif ${OPSYS} != "Darwin" PKG_FAIL_REASON+= "The x11 option must be enabled on this platform/configuration." . endif .endif diff --git a/graphics/libepoxy/patches/patch-configure.ac b/graphics/libepoxy/patches/patch-configure.ac deleted file mode 100644 index 62bb60029cd..00000000000 --- a/graphics/libepoxy/patches/patch-configure.ac +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-configure.ac,v 1.7 2017/06/08 04:31:34 adam Exp $ - -On Darwin, build GLX only for X11 configuration. - ---- configure.ac.orig 2017-02-06 16:00:20.000000000 +0000 -+++ configure.ac -@@ -71,7 +71,7 @@ AS_CASE([$enable_glx], - [auto], [ - AS_CASE([$host_os], - [mingw*], [build_glx=no], -- [darwin*], [build_glx=no], -+ [darwin*], [build_glx=yes], - [android*], [build_glx=no], - [build_glx=yes]) - ], |