mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
46 lines
1.6 KiB
Bash
46 lines
1.6 KiB
Bash
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# Armada 510/Dove graphics libraries
|
|
|
|
buildarch=4
|
|
|
|
pkgname="marvell-libgfx"
|
|
pkgver=0.2.0
|
|
pkgrel=5
|
|
arch=('armv7h')
|
|
url="http://archlinuxarm.org"
|
|
license=('Proprietary')
|
|
source=("http://archlinuxarm.org/builder/src/marvell-libgfx-0.2.0.tar.gz"
|
|
"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"
|
|
|
|
install -Dm644 "${srcdir}/${pkgname}-${pkgver}/etc/udev/rules.d/99-galcore.rules" \
|
|
"${pkgdir}/usr/lib/udev/rules.d/99-galcore.rules"
|
|
|
|
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'
|
|
'd21429fa2d4296f1f4238faff6cca6ca'
|
|
'a381d9d6d0c5beda781a23dea2c3e0ea')
|