alarm/raspberrypi-firmware to 20160704-1

This commit is contained in:
Kevin Mihelich 2016-07-04 16:42:51 +00:00
parent b653b3391f
commit 40a64ea398
2 changed files with 16 additions and 7 deletions

View file

@ -0,0 +1,5 @@
/opt/vc/lib
# GLES/EGL libraries - disabled by default due to ABI incompatibility with Mesa
# Warning: enabling may break applications linked against Mesa
#/opt/vc/lib/GL

View file

@ -6,7 +6,7 @@ pkgname=('raspberrypi-firmware'
'raspberrypi-firmware-bootloader-x'
'raspberrypi-firmware-tools'
'raspberrypi-firmware-examples')
pkgver=20160703
pkgver=20160704
pkgrel=1
_commit=1f8d685c22761b9a5ee3343b01e79d31e2ed0f6b
pkgdesc="Firmware files for Raspberry Pi"
@ -15,8 +15,10 @@ url="https://github.com/raspberrypi/firmware"
makedepends=('git')
license=('custom')
options=(!strip)
source=("https://github.com/raspberrypi/firmware/archive/${_commit}.tar.gz")
md5sums=('aab212972d04d84c11761e50b3110646')
source=("https://github.com/raspberrypi/firmware/archive/${_commit}.tar.gz"
'00-raspberrypi-firmware.conf')
md5sums=('aab212972d04d84c11761e50b3110646'
'baeeace452010ff9a936fb1ea33863a8')
package_raspberrypi-firmware() {
depends=('raspberrypi-firmware-bootloader'
@ -48,12 +50,14 @@ package_raspberrypi-firmware-tools() {
cp -R "${srcdir}"/firmware-${_commit}/hardfp/opt/vc/{bin,include,lib,sbin,LICENCE} "${pkgdir}"/opt/vc
# move GL libraries out of the way due to Mesa incompatibility
mkdir -p "${pkgdir}/opt/vc/lib/GL"
mv "${pkgdir}/opt/vc/lib"/{libGL*,libEGL*} "${pkgdir}/opt/vc/lib/GL"
sed -i 's|/lib|/lib/GL|' "${pkgdir}/opt/vc/lib/pkgconfig"/{egl.pc,glesv2.pc}
# Create lib links
mkdir -p "${pkgdir}"/etc/ld.so.conf.d/
# ensure we can load libs
echo "# Disabled by default due to ABI incompatibility with Mesa" > "${pkgdir}"/etc/ld.so.conf.d/00-raspberrypi-firmware.conf
echo "#/opt/vc/lib/" >> "${pkgdir}"/etc/ld.so.conf.d/00-raspberrypi-firmware.conf
cp "${srcdir}/00-raspberrypi-firmware.conf" "${pkgdir}"/etc/ld.so.conf.d/
}
package_raspberrypi-firmware-examples() {