graphics/kmscube s20241106
Example KMS/GBM/EGL application
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- graphics
- Package size
- 82.5 KiB, 1527.9 KiB installed
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.
Install
As a binary package — by origin, or by package name:
pkg install graphics/kmscube
pkg install kmscube
From the ports tree:
cd /usr/ports/graphics/kmscube/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= kmscube>0:graphics/kmscube
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | s20241106 | s20241106 | - | s20241106 | s20241106 |
| FreeBSD:14:quarterly | s20241106 | s20241106 | n/a | s20241106 | s20241106 |
| FreeBSD:15:latest | s20241106 | s20241106 | n/a | s20241106 | s20241106 |
| FreeBSD:15:quarterly | s20241106 | s20241106 | n/a | n/a | n/a |
| FreeBSD:16:latest | s20241106 | s20241106 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Library 1
libdrm.so: graphics/libdrm
The full lists below include those, and their dependencies in turn.
All build dependencies 38
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libepoll-shim
- devel/libffi
- devel/libpciaccess
- devel/llvm12
- devel/meson
- devel/ninja
- devel/pkgconf
- devel/readline
- devel/spirv-llvm-translator
- graphics/libdrm
- graphics/libglvnd
- graphics/mesa-libs
- graphics/png
- graphics/spirv-tools
- graphics/wayland
- lang/perl5.42
- lang/python312
- math/mpdecimal
- misc/hwdata
- print/indexinfo
- sysutils/libdisplay-info
- textproc/expat2
- textproc/libxml2
- x11/libX11
- x11/libXau
- x11/libXdamage
- x11/libXdmcp
- x11/libXext
- x11/libXfixes
- x11/libXrandr
- x11/libXrender
- x11/libXxf86vm
- x11/libxcb
- x11/libxshmfence
- x11/xorgproto
All run dependencies 32
- archivers/liblz4
- archivers/zstd
- devel/libepoll-shim
- devel/libffi
- devel/libpciaccess
- devel/llvm12
- devel/readline
- devel/spirv-llvm-translator
- graphics/libdrm
- graphics/libglvnd
- graphics/mesa-libs
- graphics/png
- graphics/spirv-tools
- graphics/wayland
- lang/perl5.42
- misc/hwdata
- print/indexinfo
- sysutils/libdisplay-info
- textproc/expat2
- textproc/libxml2
- x11/libX11
- x11/libXau
- x11/libXdamage
- x11/libXdmcp
- x11/libXext
- x11/libXfixes
- x11/libXrandr
- x11/libXrender
- x11/libXxf86vm
- x11/libxcb
- x11/libxshmfence
- x11/xorgproto
No port depends on this one.
Configuration
Options name: graphics_kmscube
| Option | Default | Description |
|---|---|---|
| GSTREAMER | off | Multimedia support via GStreamer |
| PNG | on | PNG image format support |
- USES
- gl meson pkgconfig
- Service scripts
- none
- Flavors
kmscube-gstreamer-s20241106
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| kmscube-311eaaa.tar.bz2 | 92118 | d3da1d9cb3509144722669f9dea4185a39b4fcc5c18e167158022642415e83d6 |
Commit history 0
No commits in the history this site was built from.