alarm/libfslvpuwrap to 1.0.62-1

This commit is contained in:
moonman 2016-03-25 02:41:42 -06:00
parent abd746fc2b
commit 3ac05d3de2

View file

@ -1,27 +1,27 @@
# Maintainer: CruX <crux@project-insanity.org> # Maintainer: CruX <crux@project-insanity.org>
# Contributor: pepedog at archlinuxarm dot com # Contributor: pepedog at archlinuxarm dot com
# Contributor: Oleg Rakhmanov <oleg [at] archlinuxarm [dot] org>
buildarch=4 buildarch=4
pkgname=libfslvpuwrap pkgname=libfslvpuwrap
pkgver=3.14.28_1.0.0 pkgver=1.0.62
_pkgver=1.0.58
pkgrel=1 pkgrel=1
pkgdesc="Wrapper library for the freescale proprietary VPU extensions" pkgdesc="Wrapper library for the freescale proprietary VPU extensions"
url="https://community.freescale.com/docs/DOC-95560" url="https://community.freescale.com/docs/DOC-95560"
arch=('armv7h') arch=('armv7h')
license=('proprietary') license=('proprietary')
depends=("imx-vpu=$pkgver") depends=("imx-vpu")
source=("http://www.freescale.com/lgfiles/NMG/MAD/YOCTO/${pkgname}-${_pkgver}.bin") source=("http://www.freescale.com/lgfiles/NMG/MAD/YOCTO/${pkgname}-${pkgver}.bin")
md5sums=('bf4960ab18e6bb59e98aae797b80cd7f') md5sums=('6497758e27f72992a86ac918ce12db56')
prepare() { prepare() {
cd "${srcdir}" cd "${srcdir}"
#extract the sources #extract the sources
sh ${pkgname}-${_pkgver}.bin --force --auto-accept sh ${pkgname}-${pkgver}.bin --force --auto-accept
} }
build() { build() {
cd "${pkgname}-${_pkgver}" cd "${pkgname}-${pkgver}"
export CFLAGS="$CFLAGS -O2 -I/opt/fsl/include" export CFLAGS="$CFLAGS -O2 -I/opt/fsl/include"
export CPPFLAGS="$CPPFLAGS -O2 -I/opt/fsl/include" export CPPFLAGS="$CPPFLAGS -O2 -I/opt/fsl/include"
export LDFLAGS="$LDFLAGS -L/opt/fsl/lib" export LDFLAGS="$LDFLAGS -L/opt/fsl/lib"
@ -30,10 +30,10 @@ build() {
} }
package() { package() {
cd "${pkgname}-${_pkgver}" cd "${pkgname}-${pkgver}"
make DESTDIR=${pkgdir} install make DESTDIR=${pkgdir} install
install -D -m0644 "${srcdir}/${pkgname}-${_pkgver}/COPYING" "$pkgdir/opt/fsl/licenses/LICENSE.${pkgname}" install -D -m0644 "${srcdir}/${pkgname}-${pkgver}/COPYING" "$pkgdir/opt/fsl/licenses/LICENSE.${pkgname}"
mkdir -p "${pkgdir}/etc/ld.so.conf.d" mkdir -p "${pkgdir}/etc/ld.so.conf.d"
echo "/opt/fsl/lib" > "${pkgdir}/etc/ld.so.conf.d/$pkgname.conf" echo "/opt/fsl/lib" > "${pkgdir}/etc/ld.so.conf.d/$pkgname.conf"
} }