mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
rpi-userland: automatically generate pkgconfig files
This commit is contained in:
parent
e361b3c6ff
commit
d3870a9f38
4 changed files with 3 additions and 37 deletions
|
@ -1,11 +0,0 @@
|
||||||
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
|
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
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}
|
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
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}
|
|
||||||
|
|
|
@ -4,9 +4,10 @@ _gitshort="${_githash:0:7}"
|
||||||
|
|
||||||
pkgname=rpi-userland
|
pkgname=rpi-userland
|
||||||
version=20190501
|
version=20190501
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="userland-${_githash}"
|
wrksrc="userland-${_githash}"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
|
hostmakedepends="pkg-config"
|
||||||
configure_args="-DCMAKE_INSTALL_RPATH=/opt/vc/lib"
|
configure_args="-DCMAKE_INSTALL_RPATH=/opt/vc/lib"
|
||||||
short_desc="Raspberry Pi GPU userland libraries and utilities (git ${_gitshort})"
|
short_desc="Raspberry Pi GPU userland libraries and utilities (git ${_gitshort})"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
||||||
|
@ -49,7 +50,7 @@ pre_configure() {
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENCE
|
vlicense LICENCE
|
||||||
vmkdir usr/lib/pkgconfig
|
vmkdir usr/lib/pkgconfig
|
||||||
vcopy ${FILESDIR}/*.pc usr/lib/pkgconfig
|
mv ${DESTDIR}/opt/vc/lib/pkgconfig/*.pc ${DESTDIR}/usr/lib/pkgconfig
|
||||||
rm -rf ${DESTDIR}/etc
|
rm -rf ${DESTDIR}/etc
|
||||||
rm -rf ${DESTDIR}/opt/vc/share
|
rm -rf ${DESTDIR}/opt/vc/share
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue