svn commit: r554406 - in head/graphics: . kmscube
Jan Beich
jbeich at FreeBSD.org
Sat Nov 7 16:40:30 UTC 2020
Author: jbeich
Date: Sat Nov 7 16:40:29 2020
New Revision: 554406
URL: https://svnweb.freebsd.org/changeset/ports/554406
Log:
graphics/kmscube: add new port
kmscube is a little demonstration program for how to drive bare metal
graphics without a compositor like X11, Wayland or similar, using
DRM/KMS (kernel mode setting), GBM (graphics buffer manager) and EGL
for rendering content using OpenGL or OpenGL ES.
https://gitlab.freedesktop.org/mesa/kmscube
Added:
head/graphics/kmscube/
head/graphics/kmscube/Makefile (contents, props changed)
head/graphics/kmscube/distinfo (contents, props changed)
head/graphics/kmscube/pkg-descr (contents, props changed)
Modified:
head/graphics/Makefile (contents, props changed)
Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile Sat Nov 7 16:34:36 2020 (r554405)
+++ head/graphics/Makefile Sat Nov 7 16:40:29 2020 (r554406)
@@ -399,6 +399,7 @@
SUBDIR += kipi-plugins
SUBDIR += klatexformula
SUBDIR += kludge3d
+ SUBDIR += kmscube
SUBDIR += kolourpaint
SUBDIR += kooka
SUBDIR += kphotoalbum
Added: head/graphics/kmscube/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/kmscube/Makefile Sat Nov 7 16:40:29 2020 (r554406)
@@ -0,0 +1,37 @@
+# $FreeBSD$
+
+PORTNAME= kmscube
+PORTVERSION= s20201028
+CATEGORIES= graphics
+
+MAINTAINER= jbeich at FreeBSD.org
+COMMENT= Example KMS/GBM/EGL application
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+LIB_DEPENDS= libdrm.so:graphics/libdrm
+
+USES= gl meson pkgconfig
+USE_GITLAB= yes
+USE_GL= egl gbm glesv2
+GL_SITE= https://gitlab.freedesktop.org
+GL_ACCOUNT= mesa
+GL_COMMIT= e6386d1b99366ea7559438c0d3abd2ae2d6d61ac
+PLIST_FILES= bin/${PORTNAME} \
+ bin/texturator \
+ ${NULL}
+
+OPTIONS_DEFINE= GSTREAMER PNG
+OPTIONS_DEFAULT=PNG
+
+GSTREAMER_USES= gnome
+GSTREAMER_USE= GNOME=glib20 GSTREAMER1=yes
+GSTREAMER_MESON_ENABLED=gstreamer
+
+PNG_LIB_DEPENDS= libpng.so:graphics/png
+
+post-patch-PNG-off:
+ @${REINPLACE_CMD} 's/dep_libpng.found()/false/' ${WRKSRC}/meson.build
+
+.include <bsd.port.mk>
Added: head/graphics/kmscube/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/kmscube/distinfo Sat Nov 7 16:40:29 2020 (r554406)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1603878081
+SHA256 (mesa-kmscube-e6386d1b99366ea7559438c0d3abd2ae2d6d61ac_GL0.tar.gz) = f73c20472ce77599e26dffaece5620809648edc0933d457d4d6cfb04df643067
+SIZE (mesa-kmscube-e6386d1b99366ea7559438c0d3abd2ae2d6d61ac_GL0.tar.gz) = 160482
Added: head/graphics/kmscube/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/kmscube/pkg-descr Sat Nov 7 16:40:29 2020 (r554406)
@@ -0,0 +1,6 @@
+kmscube is a little demonstration program for how to drive bare metal
+graphics without a compositor like X11, Wayland or similar, using
+DRM/KMS (kernel mode setting), GBM (graphics buffer manager) and EGL
+for rendering content using OpenGL or OpenGL ES.
+
+WWW: https://gitlab.freedesktop.org/mesa/kmscube
More information about the svn-ports-head
mailing list