Commit 46f5cfb4 authored by Timo Teräs's avatar Timo Teräs
Browse files

main/raspberrypi: upgrade to snapshot of 2016-10-31

parent b34f303b
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=raspberrypi
pkgver=0.20160425
_commitid=17c28b9d1d234893b73adeb95efc4959b617fc85
pkgver=0.20161031
_commitid=100f8bb3e74e29d04fb99857183cc34aaa712e3f
pkgrel=0
pkgdesc="Raspberry Pi support tools"
url="https://github.com/raspberrypi/userland"
......@@ -16,22 +16,11 @@ subpackages="$pkgname-dev $pkgname-libs"
source="raspberrypi-$pkgver.tar.gz::https://github.com/raspberrypi/userland/archive/$_commitid.tar.gz
"
_sourcedir="$srcdir"/userland-$_commitid
_builddir="$srcdir"/build
prepare() {
local i
cd "$_sourcedir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
builddir="$srcdir"/userland-$_commitid
build() {
mkdir -p "$_builddir"
cd "$_builddir"
mkdir -p "$builddir"
cd "$builddir"
# -Wno-error=array-bounds is workaround for gcc bug 59124
cmake -DCMAKE_C_FLAGS="$CFLAGS -D_GNU_SOURCE -Wno-error=array-bounds" \
-DCMAKE_BUILD_TYPE=Release \
......@@ -41,7 +30,7 @@ build() {
}
package() {
cd "$_builddir"
cd "$builddir"
make install DESTDIR="$pkgdir" || return 1
# nuke the unwanted stuff
......@@ -56,6 +45,6 @@ libs() {
mv "$pkgdir"/opt/vc/lib/* "$subpkgdir"/opt/vc/lib
}
md5sums="954fedc1d1f7f101142794fd17a76e69 raspberrypi-0.20160425.tar.gz"
sha256sums="83108789f946ab8957499dd58f1cacd099630979ec8fccb54be9240c4ff14210 raspberrypi-0.20160425.tar.gz"
sha512sums="2a2426f3ed21974d9817cf1babaa8c0708a0efc7da2f01936e28a5196f0cbd1f56f78c618e93fb580e9f03212550305484ba8709b1cccd43ff71bc1427915fe2 raspberrypi-0.20160425.tar.gz"
md5sums="2d4bde8d34c03a094828051806252c5b raspberrypi-0.20161031.tar.gz"
sha256sums="31e69f82da9d590f78662ed8d21a71dd247c73f78c3befed74d450a54ef12c64 raspberrypi-0.20161031.tar.gz"
sha512sums="107747ff172348de4a24dcd66ccebb063065879fea7df54c67f3b71a7ecb03e9e5a45e833e6c8c62fb3489b7ab4c41c3c68160de72e42c4c4c2353f8aba75261 raspberrypi-0.20161031.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment