alarm/odroid-libgl to r5p0-2

This commit is contained in:
Kevin Mihelich 2016-10-26 02:56:02 +00:00
parent b4eefb075d
commit 5dac3f3db2
2 changed files with 7 additions and 3 deletions

View file

@ -0,0 +1 @@
KERNEL=="mali0", MODE="0666", GROUP="video"

View file

@ -5,20 +5,23 @@ buildarch=4
pkgname=odroid-libgl pkgname=odroid-libgl
pkgver=r5p0 pkgver=r5p0
pkgrel=1 pkgrel=2
arch=('armv7h') arch=('armv7h')
pkgdesc="ODROID-X/X2/U2/U3 Mali GL Driver" pkgdesc="ODROID-X/X2/U2/U3 Mali GL Driver"
url="http://www.hardkernel.com/" url="http://www.hardkernel.com/"
license=('Proprietary') license=('Proprietary')
depends=('mesa-libgl') depends=('mesa-libgl')
source=("http://archlinuxarm.org/builder/src/4412_r5p0_x11.tar.xz" source=("http://archlinuxarm.org/builder/src/4412_r5p0_x11.tar.xz"
'mali-odroid.conf') 'mali-odroid.conf'
'50-mali.rules')
md5sums=('fd096d1fc0762fe8e799a9c78c259f36' md5sums=('fd096d1fc0762fe8e799a9c78c259f36'
'40f5104200cfceb12b4623d219646d4e') '40f5104200cfceb12b4623d219646d4e'
'd22820a21496fe3d9ccbae99643aac96')
package() { package() {
install -d "${pkgdir}"/usr/lib/mali-egl install -d "${pkgdir}"/usr/lib/mali-egl
install -d "${pkgdir}"/etc/ld.so.conf.d install -d "${pkgdir}"/etc/ld.so.conf.d
cp -a lib* "${pkgdir}"/usr/lib/mali-egl cp -a lib* "${pkgdir}"/usr/lib/mali-egl
install -Dm644 mali-odroid.conf "${pkgdir}"/etc/ld.so.conf.d/mali-odroid.conf install -Dm644 mali-odroid.conf "${pkgdir}"/etc/ld.so.conf.d/mali-odroid.conf
install -Dm644 50-mali.rules "${pkgdir}"/usr/lib/udev/rules.d/50-mali.rules
} }