Merge pull request #253 from aldrik/master

Updates for cubox
This commit is contained in:
Kevin Mihelich 2012-08-31 11:50:10 -07:00
commit 4a64e9274a
2 changed files with 23 additions and 21 deletions

View file

@ -6,7 +6,7 @@ buildarch=4
pkgname="marvell-libbmm" pkgname="marvell-libbmm"
pkgver=0.2.0 pkgver=0.2.0
pkgrel=1 pkgrel=2
arch=('armv7h') arch=('armv7h')
url="http://archlinuxarm.org" url="http://archlinuxarm.org"
license=('Proprietary') license=('Proprietary')
@ -21,12 +21,12 @@ package() {
pkgdesc="Marvell Block/buffer memory management for hardware accelerators" pkgdesc="Marvell Block/buffer memory management for hardware accelerators"
cd "${srcdir}/${pkgname}-${pkgver}" cd "${srcdir}/${pkgname}-${pkgver}"
mkdir -p "${pkgdir}/usr/lib" install -Dm755 libbmm.so.0u.1 "${pkgdir}/usr/lib/libbmm.so.0u.1"
cp libbmm.so.0u.1 "${pkgdir}/usr/lib" install -Dm644 bmm_lib.h "${pkgdir}/usr/include/bmm_lib.h"
install -Dm644 etc/udev/rules.d/99-bmm.rules \
"${pkgdir}/usr/lib/udev/rules.d/99-bmm.rules"
ln -s /usr/lib/libbmm.so.0u.1 "${pkgdir}/usr/lib/libbmm.so.0u" ln -s /usr/lib/libbmm.so.0u.1 "${pkgdir}/usr/lib/libbmm.so.0u"
ln -s /usr/lib/libbmm.so.0u.1 "${pkgdir}/usr/lib/libbmm.so" ln -s /usr/lib/libbmm.so.0u.1 "${pkgdir}/usr/lib/libbmm.so"
mkdir -p "${pkgdir}/usr/include"
cp bmm_lib.h "${pkgdir}/usr/include"
} }
md5sums=('7dd1b311232b0ebe0ca4538844c47806') md5sums=('7dd1b311232b0ebe0ca4538844c47806')

View file

@ -6,33 +6,35 @@ buildarch=4
pkgname="marvell-libgfx" pkgname="marvell-libgfx"
pkgver=0.2.0 pkgver=0.2.0
pkgrel=3 pkgrel=4
arch=('armv7h') arch=('armv7h')
url="http://archlinuxarm.org" url="http://archlinuxarm.org"
license=('Proprietary') license=('Proprietary')
source=("http://archlinuxarm.org/builder/src/marvell-libgfx-0.2.0.tar.gz" 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://archlinuxarm.org/builder/src/gc3184-gcc-4.6-armv7-hard_release.zip")
provides=('libegl' 'libgles' 'khrplatform-devel')
conflicts=('libegl' 'libgles' 'khrplatform-devel')
package() { package() {
pkgdesc="Armada 510/Dove graphics Libraries" pkgdesc="Armada 510/Dove graphics Libraries"
cd "${srcdir}/${pkgname}-${pkgver}/bin" cd "${srcdir}/${pkgname}-${pkgver}"
mkdir -p "${pkgdir}/usr/lib" find include -type f -not -path "include/KHR*" -exec \
mkdir -p "${pkgdir}/usr/include" install -Dm644 {} "${pkgdir}/usr/{}" \;
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" install -Dm644 etc/udev/rules.d/99-galcore.rules \
ln -s /usr/lib/libgcu.so.1 "${pkgdir}/usr/lib/libgcu.so" "${pkgdir}/usr/lib/udev/rules.d/99-galcore.rules"
ln -s /usr/lib/libOpenVG.so.1 "${pkgdir}/usr/lib/libOpenVG.so"
ln -s /usr/lib/libVDK.so.1 "${pkgdir}/usr/lib/libVDK.so" cd bin
ln -s /usr/lib/libGLES_CM.so.1 "${pkgdir}/usr/lib/libGLES_CM.so" for _lib in $(find -type f); do
ln -s /usr/lib/libGLESv2SC.so.1 "${pkgdir}/usr/lib/libGLESv2SC.so" install -m755 ${_lib} "${pkgdir}/usr/lib/"
ln -s /usr/lib/libGLESv2x.so.1 "${pkgdir}/usr/lib/libGLESv2x.so" ln -s /usr/lib/${_lib#./} "${pkgdir}/usr/lib/${_lib%.1}"
cd "${srcdir}/${pkgname}-${pkgver}/include" done
cp -r gcu.h vdk.h vdkTypes.h HAL VG "${pkgdir}/usr/include" 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 "${srcdir}"/gc3184-gcc-4.6-armv7-hard_release/sdk/drivers/{libVIVANTE,libGLES_CL}.so "${pkgdir}/usr/lib"
mkdir -p "${pkgdir}/usr/include/KHR/" cp -r "${srcdir}/gc3184-gcc-4.6-armv7-hard_release/sdk/include/KHR" "${pkgdir}/usr/include"
cp "${srcdir}/gc3184-gcc-4.6-armv7-hard_release/sdk/include/KHR/khrvivante.h" "${pkgdir}/usr/include/KHR/"
} }
md5sums=('6cd584e6feb6a8605662bb2280676f65' md5sums=('6cd584e6feb6a8605662bb2280676f65'