New package: rpi-firmware-pcfiles-0.1 (contains pkg-config files for GLES/EGL on raspberry pi).
This commit is contained in:
parent
a676af5e4a
commit
afcc57c7b7
|
@ -0,0 +1,11 @@
|
|||
prefix=/opt/vc
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: bcm_host
|
||||
Description: Broadcom VideoCore host API library
|
||||
Version: 1
|
||||
Libs: -L${libdir} -lbcm_host -lvcos -lvchiq_arm
|
||||
Cflags: -I${includedir} -I${includedir}/interface/vmcs_host/linux -I${includedir}/interface/vcos/pthreads -DUSE_VCHIQ_ARM
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
prefix=/opt/vc
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: EGL
|
||||
Description: Fake EGL package for RPi
|
||||
Version: 10
|
||||
Requires: bcm_host
|
||||
Libs: -L${libdir} -lEGL
|
||||
Cflags: -I${includedir}
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
prefix=/opt/vc
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: GLESv2
|
||||
Description: Fake GL ES 2 package for RPi
|
||||
Version: 10
|
||||
Requires: bcm_host
|
||||
Libs: -L${libdir} -lGLESv2
|
||||
Cflags: -I${includedir}
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
# Template file for 'rpi-firmware-pcfiles'
|
||||
pkgname=rpi-firmware-pcfiles
|
||||
version=0.1
|
||||
revision=1
|
||||
homepage="http://www.raspberrypi.org"
|
||||
short_desc="Raspberry Pi pkg-config files for GLESv2/EGL"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="Public domain"
|
||||
|
||||
makedepends="rpi-firmware"
|
||||
|
||||
do_install() {
|
||||
vmkdir usr/lib/pkgconfig
|
||||
install -m644 ${FILESDIR}/*.pc ${DESTDIR}/usr/lib/pkgconfig
|
||||
}
|
||||
|
||||
rpi-firmware-pcfiles_package() {
|
||||
noarch=yes
|
||||
depends="rpi-firmware"
|
||||
conflicts="MesaLib-devel>=0"
|
||||
pkg_install() {
|
||||
vmove all
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue