svn commit: r547890 - in head/x11: . glcapsviewer

Alexey Dokuchaev danfe at FreeBSD.org
Mon Sep 7 12:46:50 UTC 2020


Author: danfe
Date: Mon Sep  7 12:46:48 2020
New Revision: 547890
URL: https://svnweb.freebsd.org/changeset/ports/547890

Log:
  OpenGL hardware capability viewer collects information on one's graphics
  card OpenGL implementation, including hardware capabilities, extensions,
  compressed texture formats, etc. and displays them in easy to browse way.
  
  WWW: https://github.com/SaschaWillems/glCapsViewer

Added:
  head/x11/glcapsviewer/
  head/x11/glcapsviewer/Makefile   (contents, props changed)
  head/x11/glcapsviewer/distinfo   (contents, props changed)
  head/x11/glcapsviewer/pkg-descr   (contents, props changed)
Modified:
  head/x11/Makefile

Modified: head/x11/Makefile
==============================================================================
--- head/x11/Makefile	Mon Sep  7 11:54:42 2020	(r547889)
+++ head/x11/Makefile	Mon Sep  7 12:46:48 2020	(r547890)
@@ -71,6 +71,7 @@
     SUBDIR += fpc-x11
     SUBDIR += fstobdf
     SUBDIR += gdm
+    SUBDIR += glcapsviewer
     SUBDIR += gmrun
     SUBDIR += gnome-clipboard-daemon
     SUBDIR += gnome-desktop

Added: head/x11/glcapsviewer/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/glcapsviewer/Makefile	Mon Sep  7 12:46:48 2020	(r547890)
@@ -0,0 +1,43 @@
+# Created by: Alexey Dokuchaev <danfe at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	glcapsviewer
+DISTVERSION=	g20190521
+CATEGORIES=	x11
+
+MAINTAINER=	danfe at FreeBSD.org
+COMMENT=	OpenGL hardware capability viewer
+
+LICENSE=	LGPL3
+
+LIB_DEPENDS=	libglfw.so:graphics/glfw
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	SaschaWillems
+GH_PROJECT=	glCapsViewer
+GH_TAGNAME=	26e160c
+
+USES=		cmake gl qt:5 xorg
+USE_GL=		gl glew glu
+USE_QT=		buildtools_build qmake_build core gui network widgets
+USE_XORG=	ice sm x11 xext
+
+PLIST_FILES=	bin/glcapsviewer ${DATADIR_REL}/capslist.xml \
+		${DATADIR_REL}/enumList.xml
+
+post-patch:
+	@${REINPLACE_CMD} -e '/target_link_libraries/s,glfw ,,' \
+		${WRKSRC}/CMakeLists.txt
+	@${REINPLACE_CMD} -e 's,__linux__,__${OPSYS}__, ; /ifstream\
+		enumListxml/s,[^"]*ist\.xml",${DATADIR}/&,' \
+		${WRKSRC}/glCapsViewer.cpp ${WRKSRC}/glCapsViewerCore.cpp
+	@${REINPLACE_CMD} -e 's,!capsXmlFile\.exists,false \&\& &,' \
+		${WRKSRC}/main.cpp
+
+do-install:
+	${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME} \
+		${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/*.xml ${STAGEDIR}${DATADIR}
+
+.include <bsd.port.mk>

Added: head/x11/glcapsviewer/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/glcapsviewer/distinfo	Mon Sep  7 12:46:48 2020	(r547890)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1558464740
+SHA256 (SaschaWillems-glCapsViewer-g20190521-26e160c_GH0.tar.gz) = 61a1a184d28c9b779b118cfb1d9ef128278aaff05d4ed9df3c00ad819a1a6988
+SIZE (SaschaWillems-glCapsViewer-g20190521-26e160c_GH0.tar.gz) = 58651

Added: head/x11/glcapsviewer/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/glcapsviewer/pkg-descr	Mon Sep  7 12:46:48 2020	(r547890)
@@ -0,0 +1,9 @@
+The OpenGL hardware capability viewer collects information on one's graphics
+card OpenGL implementation, including hardware capabilities, extensions,
+compressed texture formats, etc. and displays them in an easy to browse way.
+
+This data can then be uploaded to online database that developers can use to
+check on OpenGL features and support for different graphics cards available
+on the market.
+
+WWW: https://github.com/SaschaWillems/glCapsViewer


More information about the svn-ports-head mailing list