mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
added alarm/odroid-xu3-libgl
This commit is contained in:
parent
5c83ca61a1
commit
23cf3ebbac
2 changed files with 51 additions and 0 deletions
50
alarm/odroid-xu3-libgl/PKGBUILD
Normal file
50
alarm/odroid-xu3-libgl/PKGBUILD
Normal file
|
@ -0,0 +1,50 @@
|
|||
# ODROID-XU3/XU4 Mali GL Driver
|
||||
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
|
||||
buildarch=4
|
||||
|
||||
pkgbase=odroid-xu3-libgl
|
||||
pkgname=("${pkgbase}-x11" "${pkgbase}-fb" "${pkgbase}-headers")
|
||||
pkgver=r5p0
|
||||
pkgrel=1
|
||||
_commit=d735a24bfe654a27c124f2928ff16ee69d544f25
|
||||
arch=('armv7h')
|
||||
url="http://www.hardkernel.com/"
|
||||
license=('Proprietary')
|
||||
depends=('mesa-libgl')
|
||||
makedepends=('git')
|
||||
source=("git+https://github.com/mdrjr/5422_mali.git#commit=${_commit}"
|
||||
'mali-xu3.conf')
|
||||
md5sums=('SKIP'
|
||||
'40f5104200cfceb12b4623d219646d4e')
|
||||
|
||||
package_odroid-xu3-libgl-x11() {
|
||||
pkgdesc="ODROID-XU3/XU4 Mali driver (X11)"
|
||||
conflicts=('odroid-xu3-libgl')
|
||||
provides=('odroid-xu3-libgl')
|
||||
|
||||
install -d "${pkgdir}"/usr/lib/mali-egl
|
||||
install -d "${pkgdir}"/etc/ld.so.conf.d
|
||||
cp -a 5422_mali/x11/lib* "${pkgdir}"/usr/lib/mali-egl
|
||||
cp "${srcdir}"/mali-xu3.conf "${pkgdir}"/etc/ld.so.conf.d
|
||||
}
|
||||
|
||||
package_odroid-xu3-libgl-fb() {
|
||||
pkgdesc="ODROID-XU3/XU4 Mali driver (framebuffer)"
|
||||
conflicts=('odroid-xu3-libgl')
|
||||
provides=('odroid-xu3-libgl')
|
||||
|
||||
install -d "${pkgdir}"/usr/lib/mali-egl
|
||||
install -d "${pkgdir}"/etc/ld.so.conf.d
|
||||
cp -a 5422_mali/fbdev/lib* "${pkgdir}"/usr/lib/mali-egl
|
||||
cp "${srcdir}"/mali-xu3.conf "${pkgdir}"/etc/ld.so.conf.d
|
||||
}
|
||||
|
||||
package_odroid-xu3-libgl-headers() {
|
||||
pkgdesc="ODROID-XU3/XU4 Mali driver headers"
|
||||
conflicts=('opencl-headers')
|
||||
provides=('opencl-headers')
|
||||
|
||||
install -d "${pkgdir}"/usr/include
|
||||
cp -a 5422_mali/headers/CL{,_1_2} "${pkgdir}"/usr/include
|
||||
}
|
1
alarm/odroid-xu3-libgl/mali-xu3.conf
Normal file
1
alarm/odroid-xu3-libgl/mali-xu3.conf
Normal file
|
@ -0,0 +1 @@
|
|||
/usr/lib/mali-egl
|
Loading…
Reference in a new issue