MFH: r554406
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
This commit is contained in:
parent
37977470c5
commit
49d214ae0d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q4/; revision=556640
@ -398,6 +398,7 @@
|
||||
SUBDIR += kipi-plugins
|
||||
SUBDIR += klatexformula
|
||||
SUBDIR += kludge3d
|
||||
SUBDIR += kmscube
|
||||
SUBDIR += kolourpaint
|
||||
SUBDIR += kooka
|
||||
SUBDIR += kphotoalbum
|
||||
|
37
graphics/kmscube/Makefile
Normal file
37
graphics/kmscube/Makefile
Normal file
@ -0,0 +1,37 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= kmscube
|
||||
PORTVERSION= s20201028
|
||||
CATEGORIES= graphics
|
||||
|
||||
MAINTAINER= jbeich@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>
|
3
graphics/kmscube/distinfo
Normal file
3
graphics/kmscube/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1603878081
|
||||
SHA256 (mesa-kmscube-e6386d1b99366ea7559438c0d3abd2ae2d6d61ac_GL0.tar.gz) = f73c20472ce77599e26dffaece5620809648edc0933d457d4d6cfb04df643067
|
||||
SIZE (mesa-kmscube-e6386d1b99366ea7559438c0d3abd2ae2d6d61ac_GL0.tar.gz) = 160482
|
6
graphics/kmscube/pkg-descr
Normal file
6
graphics/kmscube/pkg-descr
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user