mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
added alarm/odroid-libgl
This commit is contained in:
parent
9c921d7a15
commit
33d12ab82d
4 changed files with 62 additions and 0 deletions
26
alarm/odroid-libgl/PKGBUILD
Normal file
26
alarm/odroid-libgl/PKGBUILD
Normal file
|
@ -0,0 +1,26 @@
|
|||
# ODROID Mali GL Driver
|
||||
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
|
||||
buildarch=4
|
||||
|
||||
pkgname=odroid-libgl
|
||||
pkgver=r4p0
|
||||
pkgrel=1
|
||||
arch=('armv7h')
|
||||
pkgdesc="ODROID Mali GL Driver"
|
||||
url="http://www.hardkernel.com/"
|
||||
license=('Proprietary')
|
||||
source=("http://builder.mdrjr.net/tools/mali-${pkgver}.txz"
|
||||
'egl.pc' 'glesv1_cm.pc' 'glesv2.pc')
|
||||
md5sums=('f88d6db219d2edfbbf7b2e4e816e4d57'
|
||||
'e67630aef4ac75603eabaa25f12eeeaa'
|
||||
'58e5a5e4961fd40ca417238665e3c5d5'
|
||||
'd4757408470433450ec424b468c8f35f')
|
||||
|
||||
package() {
|
||||
install -dm644 "${pkgdir}"/usr/lib
|
||||
cp -a mali/lib* "${pkgdir}"/usr/lib
|
||||
|
||||
install -dm644 "${pkgdir}"/usr/lib/pkgconfig
|
||||
install -m644 egl.pc glesv1_cm.pc glesv2.pc "${pkgdir}"/usr/lib/pkgconfig
|
||||
}
|
12
alarm/odroid-libgl/egl.pc
Normal file
12
alarm/odroid-libgl/egl.pc
Normal file
|
@ -0,0 +1,12 @@
|
|||
prefix=/usr
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: egl
|
||||
Description: Mesa EGL library
|
||||
Requires.private: libdrm >= 2.4.24 x11 xext xdamage xfixes x11-xcb xcb-glx >= 1.8.1 xcb-dri2 >= 1.8 xcb-dri3 xcb-present xcb-sync xshmfence >= 1.1 xxf86vm
|
||||
Version: 10.1.3
|
||||
Libs: -L${libdir} -lEGL
|
||||
Libs.private: -lm -lpthread -ldl
|
||||
Cflags: -I${includedir}
|
12
alarm/odroid-libgl/glesv1_cm.pc
Normal file
12
alarm/odroid-libgl/glesv1_cm.pc
Normal file
|
@ -0,0 +1,12 @@
|
|||
prefix=/usr
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: glesv1_cm
|
||||
Description: Mesa OpenGL ES 1.1 CM library
|
||||
Requires.private:
|
||||
Version: 10.1.3
|
||||
Libs: -L${libdir} -lGLESv1_CM
|
||||
Libs.private: -lm -lpthread -ldl
|
||||
Cflags: -I${includedir}
|
12
alarm/odroid-libgl/glesv2.pc
Normal file
12
alarm/odroid-libgl/glesv2.pc
Normal file
|
@ -0,0 +1,12 @@
|
|||
prefix=/usr
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: glesv2
|
||||
Description: Mesa OpenGL ES 2.0 library
|
||||
Requires.private:
|
||||
Version: 10.1.3
|
||||
Libs: -L${libdir} -lGLESv2
|
||||
Libs.private: -lm -lpthread -ldl
|
||||
Cflags: -I${includedir}
|
Loading…
Reference in a new issue