mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
39 lines
1.5 KiB
Bash
39 lines
1.5 KiB
Bash
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# Armada 510/Dove graphics libraries
|
|
|
|
buildarch=4
|
|
|
|
pkgname="marvell-libgfx"
|
|
pkgver=0.2.0
|
|
pkgrel=3
|
|
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")
|
|
|
|
package() {
|
|
pkgdesc="Armada 510/Dove graphics Libraries"
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}/bin"
|
|
mkdir -p "${pkgdir}/usr/lib"
|
|
mkdir -p "${pkgdir}/usr/include"
|
|
cp libGAL.so.1 libgcu.so.1 libOpenVG.so.1 libVDK.so.1 libGLES_CM.so.1 libGLESv2SC.so.1 libGLESv2x.so.1 "${pkgdir}/usr/lib"
|
|
ln -s /usr/lib/libGAL.so.1 "${pkgdir}/usr/lib/libGAL.so"
|
|
ln -s /usr/lib/libgcu.so.1 "${pkgdir}/usr/lib/libgcu.so"
|
|
ln -s /usr/lib/libOpenVG.so.1 "${pkgdir}/usr/lib/libOpenVG.so"
|
|
ln -s /usr/lib/libVDK.so.1 "${pkgdir}/usr/lib/libVDK.so"
|
|
ln -s /usr/lib/libGLES_CM.so.1 "${pkgdir}/usr/lib/libGLES_CM.so"
|
|
ln -s /usr/lib/libGLESv2SC.so.1 "${pkgdir}/usr/lib/libGLESv2SC.so"
|
|
ln -s /usr/lib/libGLESv2x.so.1 "${pkgdir}/usr/lib/libGLESv2x.so"
|
|
cd "${srcdir}/${pkgname}-${pkgver}/include"
|
|
cp -r gcu.h vdk.h vdkTypes.h HAL VG "${pkgdir}/usr/include"
|
|
|
|
cp "${srcdir}"/gc3184-gcc-4.6-armv7-hard_release/sdk/drivers/{libVIVANTE,libGLES_CL}.so "${pkgdir}/usr/lib"
|
|
mkdir -p "${pkgdir}/usr/include/KHR/"
|
|
cp "${srcdir}/gc3184-gcc-4.6-armv7-hard_release/sdk/include/KHR/khrvivante.h" "${pkgdir}/usr/include/KHR/"
|
|
}
|
|
|
|
md5sums=('6cd584e6feb6a8605662bb2280676f65'
|
|
'0d1a842ebb9d9bd1c198950bfe5c04f5')
|