alarm/odroid-libgl to r4p0-2

fixes #857
This commit is contained in:
Kevin Mihelich 2015-01-03 05:47:04 +00:00
parent 1b7766cd99
commit f338960089
5 changed files with 12 additions and 51 deletions

View file

@ -1,28 +1,24 @@
# ODROID Mali GL Driver
# ODROID-X/X2/U2/U3 Mali GL Driver
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
buildarch=4
pkgname=odroid-libgl
pkgver=r4p0
pkgrel=1
pkgrel=2
arch=('armv7h')
pkgdesc="ODROID Mali GL Driver"
pkgdesc="ODROID-X/X2/U2/U3 Mali GL Driver"
url="http://www.hardkernel.com/"
license=('Proprietary')
provides=('libegl' 'libgles' 'mesa-libgl')
conflicts=('mesa-libgl')
source=("http://builder.mdrjr.net/tools/mali-${pkgver}.txz"
'egl.pc' 'glesv1_cm.pc' 'glesv2.pc')
depends=('mesa-libgl')
source=("http://archlinuxarm.org/builder/src/mali-${pkgver}.txz"
'mali-odroid.conf')
md5sums=('f88d6db219d2edfbbf7b2e4e816e4d57'
'e67630aef4ac75603eabaa25f12eeeaa'
'58e5a5e4961fd40ca417238665e3c5d5'
'd4757408470433450ec424b468c8f35f')
'40f5104200cfceb12b4623d219646d4e')
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
install -d "${pkgdir}"/usr/lib/mali-egl
install -d "${pkgdir}"/etc/ld.so.conf.d
cp -a mali/lib* "${pkgdir}"/usr/lib/mali-egl
install -Dm644 mali-odroid.conf "${pkgdir}"/etc/ld.so.conf.d/mali-odroid.conf
}

View file

@ -1,12 +0,0 @@
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}

View file

@ -1,12 +0,0 @@
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}

View file

@ -1,12 +0,0 @@
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}

View file

@ -0,0 +1 @@
/usr/lib/mali-egl