Skip to content
Browse files

Merge pull request #275 from aldrik/master

Cubox: marvell-libgfx updated libraries
  • Loading branch information...
2 parents 3f89df3 + 378c533 commit 98ce2eaaf539ad13e1b932053e1e1be453487e15 @kmihelich kmihelich committed Oct 6, 2012
Showing with 23 additions and 18 deletions.
  1. +23 −18 alarm/marvell-libgfx/PKGBUILD
View
41 alarm/marvell-libgfx/PKGBUILD
@@ -6,36 +6,41 @@ buildarch=4
pkgname="marvell-libgfx"
pkgver=0.2.0
-pkgrel=4
+pkgrel=5
arch=('armv7h')
url="http://archlinuxarm.org"
license=('Proprietary')
source=("http://archlinuxarm.org/builder/src/marvell-libgfx-0.2.0.tar.gz"
- "http://archlinuxarm.org/builder/src/gc3184-gcc-4.6-armv7-hard_release.zip")
+ "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"
+)
provides=('libegl' 'libgles' 'khrplatform-devel')
conflicts=('libegl' 'libgles' 'khrplatform-devel')
package() {
pkgdesc="Armada 510/Dove graphics Libraries"
- cd "${srcdir}/${pkgname}-${pkgver}"
- find include -type f -not -path "include/KHR*" -exec \
- install -Dm644 {} "${pkgdir}/usr/{}" \;
-
- install -Dm644 etc/udev/rules.d/99-galcore.rules \
+ install -Dm644 "${srcdir}/${pkgname}-${pkgver}/etc/udev/rules.d/99-galcore.rules" \
"${pkgdir}/usr/lib/udev/rules.d/99-galcore.rules"
- cd bin
- for _lib in $(find -type f); do
- install -m755 ${_lib} "${pkgdir}/usr/lib/"
- ln -s /usr/lib/${_lib#./} "${pkgdir}/usr/lib/${_lib%.1}"
- done
- ln -s /usr/lib/libGLES_CM.so.1 "${pkgdir}/usr/lib/libGLESv1_CM.so"
- ln -s /usr/lib/libGLESv2x.so.1 "${pkgdir}/usr/lib/libGLESv2.so"
-
- cp "${srcdir}"/gc3184-gcc-4.6-armv7-hard_release/sdk/drivers/{libVIVANTE,libGLES_CL}.so "${pkgdir}/usr/lib"
- cp -r "${srcdir}/gc3184-gcc-4.6-armv7-hard_release/sdk/include/KHR" "${pkgdir}/usr/include"
+ find include -type f -exec \
+ install -Dm644 {} "${pkgdir}/usr/{}" \;
+ ln -s gc_hal.h "${pkgdir}/usr/include/HAL/aqHal.h"
+
+ # cd "${pkgname}-${pkgver}/include"
+ # install -m644 {vdkTypes.h,vdk.h,gcu.h,VG/vgext.h,VG/openvg.h,EGL/eglvivante.h} \
+ # "${pkgdir}/usr/include"
+
+ cd gc3184-1-mgcc462hd-d
+ find -name "*.so" -not -path "*libdirectfb_gal.so" \
+ -exec install -Dm755 {} "${pkgdir}/usr/lib/{}.1" \; \
+ -exec ln -s {}.1 "${pkgdir}/usr/lib/{}" \;
+ ln -s libGLES_CM.so.1 "${pkgdir}/usr/lib/libGLESv1_CM.so"
+ ln -s libGLES_CM.so.1 "${pkgdir}/usr/lib/libGLESv1_CM.so.1"
+ ln -s libGLESv2x.so.1 "${pkgdir}/usr/lib/libGLESv2.so"
+ ln -s libGLESv2x.so.1 "${pkgdir}/usr/lib/libGLESv2.so.1"
}
md5sums=('6cd584e6feb6a8605662bb2280676f65'
- '0d1a842ebb9d9bd1c198950bfe5c04f5')
+ 'd21429fa2d4296f1f4238faff6cca6ca'
+ 'a381d9d6d0c5beda781a23dea2c3e0ea')

0 comments on commit 98ce2ea

Please sign in to comment.
Something went wrong with that request. Please try again.