2012-06-05 22:16:01 +00:00
|
|
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
2012-06-05 21:38:49 +00:00
|
|
|
|
|
|
|
# Armada 510/Dove graphics libraries
|
|
|
|
|
|
|
|
buildarch=4
|
|
|
|
|
|
|
|
pkgname="marvell-libgfx"
|
|
|
|
pkgver=0.2.0
|
2013-03-13 20:18:39 +00:00
|
|
|
pkgrel=6
|
2012-06-05 21:38:49 +00:00
|
|
|
arch=('armv7h')
|
|
|
|
url="http://archlinuxarm.org"
|
|
|
|
license=('Proprietary')
|
2012-06-05 23:28:46 +00:00
|
|
|
source=("http://archlinuxarm.org/builder/src/marvell-libgfx-0.2.0.tar.gz"
|
2012-10-06 10:09:55 +00:00
|
|
|
"http://download.solid-run.com/pub/solidrun/cubox/packages/marvell-opengl/marvell-opengl-hardfp-debug.zip"
|
|
|
|
"http://download.solid-run.com/pub/solidrun/cubox/packages/marvell-libgfx/marvell-libgfx-headers-20120713.tar.bz2"
|
2013-03-13 20:18:39 +00:00
|
|
|
"profile.sh"
|
2012-10-06 10:09:55 +00:00
|
|
|
)
|
2012-08-31 16:45:21 +00:00
|
|
|
provides=('libegl' 'libgles' 'khrplatform-devel')
|
2012-06-05 21:38:49 +00:00
|
|
|
|
|
|
|
package() {
|
|
|
|
pkgdesc="Armada 510/Dove graphics Libraries"
|
|
|
|
|
2012-10-06 10:09:55 +00:00
|
|
|
install -Dm644 "${srcdir}/${pkgname}-${pkgver}/etc/udev/rules.d/99-galcore.rules" \
|
2012-08-31 16:45:21 +00:00
|
|
|
"${pkgdir}/usr/lib/udev/rules.d/99-galcore.rules"
|
|
|
|
|
2012-10-06 10:09:55 +00:00
|
|
|
find include -type f -exec \
|
2013-03-13 20:18:39 +00:00
|
|
|
install -Dm644 {} "${pkgdir}/opt/${pkgname}/{}" \;
|
|
|
|
ln -s gc_hal.h "${pkgdir}/opt/${pkgname}/include/HAL/aqHal.h"
|
2012-10-06 10:09:55 +00:00
|
|
|
|
|
|
|
cd gc3184-1-mgcc462hd-d
|
|
|
|
find -name "*.so" -not -path "*libdirectfb_gal.so" \
|
2013-03-13 20:18:39 +00:00
|
|
|
-exec install -Dm755 {} "${pkgdir}/opt/${pkgname}/lib/{}.1" \; \
|
|
|
|
-exec ln -s {}.1 "${pkgdir}/opt/${pkgname}/lib/{}" \;
|
|
|
|
ln -s libGLES_CM.so.1 "${pkgdir}/opt/${pkgname}/lib/libGLESv1_CM.so"
|
|
|
|
ln -s libGLES_CM.so.1 "${pkgdir}/opt/${pkgname}/lib/libGLESv1_CM.so.1"
|
|
|
|
ln -s libGLESv2x.so.1 "${pkgdir}/opt/${pkgname}/lib/libGLESv2.so"
|
|
|
|
ln -s libGLESv2x.so.1 "${pkgdir}/opt/${pkgname}/lib/libGLESv2.so.1"
|
|
|
|
ln -s libGLESv2x.so.1 "${pkgdir}/opt/${pkgname}/lib/libGLESv2.so.2"
|
|
|
|
|
|
|
|
install -d "${pkgdir}"/etc/ld.so.conf.d/
|
|
|
|
echo "/opt/${pkgname}/lib" > "${pkgdir}"/etc/ld.so.conf.d/${pkgname}.conf
|
|
|
|
|
|
|
|
install -Dm755 "${srcdir}/profile.sh" "${pkgdir}/etc/profile.d/${pkgname}.sh"
|
2012-06-05 21:38:49 +00:00
|
|
|
}
|
2012-06-05 22:41:04 +00:00
|
|
|
|
2012-06-05 23:28:46 +00:00
|
|
|
md5sums=('6cd584e6feb6a8605662bb2280676f65'
|
2012-10-06 10:09:55 +00:00
|
|
|
'd21429fa2d4296f1f4238faff6cca6ca'
|
2013-03-13 20:18:39 +00:00
|
|
|
'a381d9d6d0c5beda781a23dea2c3e0ea'
|
|
|
|
'9a210fbfad0e13d775800b06946d8abd')
|