diff --git a/srcpkgs/rpi-userland/template b/srcpkgs/rpi-userland/template index 859a39291ab..4b68168fb83 100644 --- a/srcpkgs/rpi-userland/template +++ b/srcpkgs/rpi-userland/template @@ -4,10 +4,11 @@ _gitshort="${_githash:0:7}" pkgname=rpi-userland version=20160205 -revision=2 +revision=3 wrksrc="userland-${_githash}" build_style=cmake hostmakedepends="cmake" +configure_args="-DCMAKE_INSTALL_RPATH=/opt/vc/lib" short_desc="Raspberry Pi GPU userland libraries and utilities (git ${_gitshort})" maintainer="Juan RP " license="3-clause-BSD" @@ -15,8 +16,7 @@ homepage="https://github.com/raspberrypi/userland" distfiles="https://github.com/raspberrypi/userland/archive/${_githash}.tar.gz" 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" shlib_provides=" @@ -37,9 +37,6 @@ shlib_provides=" libGLESv2.so libEGL.so" -post_extract() { - mkdir -p /opt/vc/lib -} post_install() { vmkdir usr/lib/pkgconfig vcopy ${FILESDIR}/*.pc usr/lib/pkgconfig