1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-05 03:27:10 +01:00

Add pseudo packages for OpenGL ES 2.x

Move the Raspberry Pi 3 pkg-config files to /lib and add pseudo
packages for OpenGL ES. Other implementations will have to add
equivalent packages and use the provided machanism. Packages that
requires GLES can simply rely on adding that package to their
dependency list.

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
David Oberhollenzer 2019-04-22 01:23:35 +02:00
parent db7ce0f77b
commit b548d51db8
6 changed files with 17 additions and 11 deletions

View file

@ -4,7 +4,7 @@ TARBALL="${VERSION}.tar.gz"
URL="https://github.com/raspberrypi/firmware/archive"
SHA256SUM="6b6db5f15c400bc1224266fd44238dd9b2479fd09f8a55e36ccdac2120632f8f"
DEPENDS="toolchain"
SUBPKG="boot-rpi boot-rpi-dtbo rpi-vc rpi-vc-dev boot-rpi-dtb"
SUBPKG="boot-rpi boot-rpi-dtbo rpi-vc rpi-vc-dev boot-rpi-dtb gles2 gles2-dev"
prepare() {
return
@ -24,6 +24,9 @@ deploy() {
strip_files ${PKGDEPLOYDIR}/opt/vc/bin/*
strip_files ${PKGDEPLOYDIR}/opt/vc/lib/*.so
strip_files ${PKGDEPLOYDIR}/opt/vc/lib/plugins/*.so
mkdir -p "$PKGDEPLOYDIR/lib"
mv "$PKGDEPLOYDIR/opt/vc/lib/pkgconfig" "$PKGDEPLOYDIR/lib"
}
check_update() {

View file

@ -0,0 +1 @@
requires gles2 rpi-vc-dev

View file

View file

@ -0,0 +1 @@
requires rpi-vc

View file

View file

@ -31,16 +31,6 @@ dir opt/vc/include/GLES2 0755 0 0
dir opt/vc/include/GLES 0755 0 0
dir opt/vc/include/EGL 0755 0 0
dir opt/vc/lib 0755 0 0
dir opt/vc/lib/pkgconfig 0755 0 0
file opt/vc/lib/pkgconfig/vg.pc 0664 0 0
file opt/vc/lib/pkgconfig/vcsm.pc 0664 0 0
file opt/vc/lib/pkgconfig/mmal.pc 0664 0 0
file opt/vc/lib/pkgconfig/glesv2.pc 0664 0 0
file opt/vc/lib/pkgconfig/egl.pc 0664 0 0
file opt/vc/lib/pkgconfig/brcmvg.pc 0664 0 0
file opt/vc/lib/pkgconfig/brcmglesv2.pc 0664 0 0
file opt/vc/lib/pkgconfig/brcmegl.pc 0664 0 0
file opt/vc/lib/pkgconfig/bcm_host.pc 0664 0 0
file opt/vc/lib/libvcilcs.a 0664 0 0
file opt/vc/lib/libvchostif.a 0664 0 0
file opt/vc/lib/libkhrn_static.a 0664 0 0
@ -244,3 +234,14 @@ file opt/vc/include/EGL/eglext_brcm.h 0664 0 0
file opt/vc/include/EGL/eglext_android.h 0664 0 0
file opt/vc/include/EGL/eglext.h 0664 0 0
file opt/vc/include/EGL/egl.h 0664 0 0
dir lib 0755 0 0
dir lib/pkgconfig 0755 0 0
file lib/pkgconfig/vg.pc 0664 0 0
file lib/pkgconfig/vcsm.pc 0664 0 0
file lib/pkgconfig/mmal.pc 0664 0 0
file lib/pkgconfig/glesv2.pc 0664 0 0
file lib/pkgconfig/egl.pc 0664 0 0
file lib/pkgconfig/brcmvg.pc 0664 0 0
file lib/pkgconfig/brcmglesv2.pc 0664 0 0
file lib/pkgconfig/brcmegl.pc 0664 0 0
file lib/pkgconfig/bcm_host.pc 0664 0 0