alarm/odroid-c2-libgl to r6p1-2

This commit is contained in:
Kevin Mihelich 2016-05-26 03:33:59 +00:00
parent 3e44ad528f
commit d2959f20fb
2 changed files with 9 additions and 3 deletions

View file

@ -0,0 +1,2 @@
KERNEL=="mali",SUBSYSTEM=="misc",MODE="0777"
KERNEL=="ump",SUBSYSTEM=="ump",MODE="0777"

View file

@ -6,7 +6,7 @@ buildarch=8
pkgbase=odroid-c2-libgl
pkgname=("${pkgbase}-x11" "${pkgbase}-fb" "${pkgbase}-headers")
pkgver=r6p1
pkgrel=1
pkgrel=2
_commit=46fe49f37e3506c6205ad8c50980eca9bfff11e3
arch=('aarch64')
url="http://www.hardkernel.com/"
@ -14,9 +14,11 @@ license=('Proprietary')
depends=('mesa-libgl')
makedepends=('git')
source=("git+https://github.com/mdrjr/c2_mali.git#commit=${_commit}"
'mali-c2.conf')
'mali-c2.conf'
'99-mali.rules')
md5sums=('SKIP'
'40f5104200cfceb12b4623d219646d4e')
'40f5104200cfceb12b4623d219646d4e'
'88e938d52d0e02657fa5eca2efc6ee36')
package_odroid-c2-libgl-x11() {
pkgdesc="ODROID-C2 Mali driver (X11)"
@ -36,8 +38,10 @@ package_odroid-c2-libgl-fb() {
install -d "${pkgdir}"/usr/lib/mali-egl
install -d "${pkgdir}"/etc/ld.so.conf.d
install -d "${pkgdir}"/usr/lib/udev/rules.d
cp -a c2_mali/fbdev/mali_libs/lib* "${pkgdir}"/usr/lib/mali-egl
cp "${srcdir}"/mali-c2.conf "${pkgdir}"/etc/ld.so.conf.d
cp "${srcdir}"/99-mali.rules "${pkgdir}"/usr/lib/udev/rules.d
}
package_odroid-c2-libgl-headers() {