rpi-userland: set rpath properly via cmake.
This commit is contained in:
parent
ed44e2abb1
commit
39c1777ebe
1 changed files with 3 additions and 6 deletions
|
@ -4,10 +4,11 @@ _gitshort="${_githash:0:7}"
|
||||||
|
|
||||||
pkgname=rpi-userland
|
pkgname=rpi-userland
|
||||||
version=20160205
|
version=20160205
|
||||||
revision=2
|
revision=3
|
||||||
wrksrc="userland-${_githash}"
|
wrksrc="userland-${_githash}"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="cmake"
|
hostmakedepends="cmake"
|
||||||
|
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.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="3-clause-BSD"
|
license="3-clause-BSD"
|
||||||
|
@ -15,8 +16,7 @@ homepage="https://github.com/raspberrypi/userland"
|
||||||
distfiles="https://github.com/raspberrypi/userland/archive/${_githash}.tar.gz"
|
distfiles="https://github.com/raspberrypi/userland/archive/${_githash}.tar.gz"
|
||||||
checksum=5c25eb4de5feb11fdf74d58779f4cc615cda6623b81648ae15ae5e4ddf94c5ce
|
checksum=5c25eb4de5feb11fdf74d58779f4cc615cda6623b81648ae15ae5e4ddf94c5ce
|
||||||
|
|
||||||
LDFLAGS="-Wl,--no-as-needed -Wl,-rpath /opt/vc/lib"
|
LDFLAGS="-Wl,--no-as-needed"
|
||||||
|
|
||||||
only_for_archs="armv6l armv6l-musl armv7l armv7l-musl"
|
only_for_archs="armv6l armv6l-musl armv7l armv7l-musl"
|
||||||
|
|
||||||
shlib_provides="
|
shlib_provides="
|
||||||
|
@ -37,9 +37,6 @@ shlib_provides="
|
||||||
libGLESv2.so
|
libGLESv2.so
|
||||||
libEGL.so"
|
libEGL.so"
|
||||||
|
|
||||||
post_extract() {
|
|
||||||
mkdir -p /opt/vc/lib
|
|
||||||
}
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vmkdir usr/lib/pkgconfig
|
vmkdir usr/lib/pkgconfig
|
||||||
vcopy ${FILESDIR}/*.pc usr/lib/pkgconfig
|
vcopy ${FILESDIR}/*.pc usr/lib/pkgconfig
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue