mirror of
https://github.com/openwrt/video.git
synced 2026-10-12 05:57:07 +04:00
7dd5eba75d4b68785b4f7c5b3b086e6dfbd6644c
kmscon depends on a libmesa provider, so every system with a KMS console pulls in Mesa, but the main binary links none of it: the GL code lives entirely in mod-drm3d.so and mod-gltex.so, which are dlopened from a directory scan of the module directory. The software renderer bbulk is built into the binary, the drm2d backend needs only libdrm, and hwaccel is off by default, so Mesa is unused on a default install and the modules are absent-tolerant by construction. Ship those two modules as kmscon-mod-gl and build them only when it is selected. A system that carries Mesa for other reasons installs the package and starts kmscon with --hwaccel; everything else gets a console with no Mesa in the build at all. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Video packages feed
Description
This is an OpenWrt package feed containing video / graphics (as in 'higher than just curses') related libraries and applications which are not considered to be so called "core" packages.
Usage
To use these packages, add the following line to the feeds.conf in the OpenWrt buildroot:
src-git video https://github.com/openwrt/video.git
This feed should be included and enabled by default in the OpenWrt buildroot. To install all its package definitions, run:
./scripts/feeds update video
./scripts/feeds install -a -p video
The video packages should now appear in menuconfig in section 'Video'.
Languages
Makefile
52.9%
C
34.8%
UnrealScript
9.6%
Shell
2.7%