mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
alarm/odroid-c1-libgl to r4p0-2
This commit is contained in:
parent
4a08f8ed65
commit
8653f42d2d
2 changed files with 36 additions and 10 deletions
|
@ -3,20 +3,45 @@
|
|||
|
||||
buildarch=4
|
||||
|
||||
pkgname=odroid-c1-libgl
|
||||
pkgbase=odroid-c1-libgl
|
||||
pkgname=("${pkgbase}-x11" "${pkgbase}-fb" "${pkgbase}-headers")
|
||||
pkgver=r4p0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
arch=('armv7h')
|
||||
pkgdesc="ODROID-C1 Mali GL Driver"
|
||||
url="http://www.hardkernel.com/"
|
||||
license=('Proprietary')
|
||||
depends=('mesa-libgl')
|
||||
source=("http://archlinuxarm.org/builder/src/mali-c1-${pkgver}.tar.gz")
|
||||
md5sums=('42cc33a62c78bb40ed2fded1b4234dd6')
|
||||
makedepends=('git')
|
||||
source=("git+https://github.com/mdrjr/c1_mali_libs.git"
|
||||
'mali-c1.conf')
|
||||
md5sums=('SKIP'
|
||||
'40f5104200cfceb12b4623d219646d4e')
|
||||
|
||||
package() {
|
||||
install -dm755 "${pkgdir}"/usr/lib/mali-egl
|
||||
install -dm755 "${pkgdir}"/etc/ld.so.conf.d
|
||||
cp -a mali_libs/lib* "${pkgdir}"/usr/lib/mali-egl
|
||||
cp mali_libs/mali-c1.conf "${pkgdir}"/etc/ld.so.conf.d
|
||||
package_odroid-c1-libgl-x11() {
|
||||
pkgdesc="ODROID-C1 Mali driver (X11)"
|
||||
conflicts=('odroid-c1-libgl')
|
||||
provides=('odroid-c1-libgl')
|
||||
|
||||
install -d "${pkgdir}"/usr/lib/mali-egl
|
||||
install -d "${pkgdir}"/etc/ld.so.conf.d
|
||||
cp -a c1_mali_libs/x11/mali_libs/lib* "${pkgdir}"/usr/lib/mali-egl
|
||||
cp "${srcdir}"/mali-c1.conf "${pkgdir}"/etc/ld.so.conf.d
|
||||
}
|
||||
|
||||
package_odroid-c1-libgl-fb() {
|
||||
pkgdesc="ODROID-C1 Mali driver (framebuffer)"
|
||||
conflicts=('odroid-c1-libgl')
|
||||
provides=('odroid-c1-libgl')
|
||||
|
||||
install -d "${pkgdir}"/usr/lib/mali-egl
|
||||
install -d "${pkgdir}"/etc/ld.so.conf.d
|
||||
cp -a c1_mali_libs/fbdev/mali_libs/lib* "${pkgdir}"/usr/lib/mali-egl
|
||||
cp "${srcdir}"/mali-c1.conf "${pkgdir}"/etc/ld.so.conf.d
|
||||
}
|
||||
|
||||
package_odroid-c1-libgl-headers() {
|
||||
pkgdesc="ODROID-C1 Mali driver headers"
|
||||
|
||||
install -d "${pkgdir}"/usr/include
|
||||
cp -a c1_mali_libs/x11/mali_headers/{ump,umplock} "${pkgdir}"/usr/include
|
||||
}
|
||||
|
|
1
alarm/odroid-c1-libgl/mali-c1.conf
Normal file
1
alarm/odroid-c1-libgl/mali-c1.conf
Normal file
|
@ -0,0 +1 @@
|
|||
/usr/lib/mali-egl
|
Loading…
Reference in a new issue