graphics/kmscube s20241106 MidnightBSD
Example KMS/GBM/EGL application
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- mit
- Categories
- graphics
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | graphics/kmscube | s20241106 |
| FreeBSD | graphics/kmscube | s20241106 |
| GhostBSD | graphics/kmscube | s20241106 |
Install
Binary package:
mport install kmscube
From mports:
cd /usr/mports/graphics/kmscube && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= kmscube>0:graphics/kmscube
Dependencies
As this port's Makefile names them.
Library 1
libdrm.so: graphics/libdrm
Build dependencies 1
Run dependencies 1
No port depends on this one.
Configuration
Options name: graphics_kmscube
| Option | Default | Description |
|---|---|---|
| GSTREAMER | off | |
| PNG | on |
- USES
- gl meson pkgconfig
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| kmscube-311eaaa.tar.bz2 | 92118 | d3da1d9cb3509144722669f9dea4185a39b4fcc5c18e167158022642415e83d6 |