From 98c0096dd4543fbe84867af2e5e915032e0493af Mon Sep 17 00:00:00 2001 From: Ryan Mullen Date: Sat, 12 Jan 2013 23:32:44 -0500 Subject: [PATCH] Introducing marvell-ipp --- marvell-ipp/.footprint | 119 +++++++++++++++++++++++++++++++++++++++++ marvell-ipp/.md5sum | 1 + marvell-ipp/Pkgfile | 55 +++++++++++++++++++ 3 files changed, 175 insertions(+) create mode 100644 marvell-ipp/.footprint create mode 100644 marvell-ipp/.md5sum create mode 100644 marvell-ipp/Pkgfile diff --git a/marvell-ipp/.footprint b/marvell-ipp/.footprint new file mode 100644 index 0000000..fd1f65d --- /dev/null +++ b/marvell-ipp/.footprint @@ -0,0 +1,119 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/udev/ +drwxr-xr-x root/root etc/udev/rules.d/ +-rw-r--r-- root/root etc/udev/rules.d/99-uio.rules +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/OpenMAX/ +drwxr-xr-x root/root usr/include/OpenMAX/IL/ +-rw-r--r-- root/root usr/include/OpenMAX/IL/IppOmxLogger_Def.h +-rw-r--r-- root/root usr/include/OpenMAX/IL/OMX_Audio.h +-rw-r--r-- root/root usr/include/OpenMAX/IL/OMX_Component.h +-rw-r--r-- root/root usr/include/OpenMAX/IL/OMX_ContentPipe.h +-rw-r--r-- root/root usr/include/OpenMAX/IL/OMX_Core.h +-rw-r--r-- root/root usr/include/OpenMAX/IL/OMX_IVCommon.h +-rw-r--r-- root/root usr/include/OpenMAX/IL/OMX_Image.h +-rw-r--r-- root/root usr/include/OpenMAX/IL/OMX_Index.h +-rw-r--r-- root/root usr/include/OpenMAX/IL/OMX_IppDef.h +-rw-r--r-- root/root usr/include/OpenMAX/IL/OMX_Other.h +-rw-r--r-- root/root usr/include/OpenMAX/IL/OMX_Types.h +-rw-r--r-- root/root usr/include/OpenMAX/IL/OMX_Video.h +drwxr-xr-x root/root usr/include/marvell-ipp/ +-rw-r--r-- root/root usr/include/marvell-ipp/codecAC.h +-rw-r--r-- root/root usr/include/marvell-ipp/codecDef.h +-rw-r--r-- root/root usr/include/marvell-ipp/codecGIF.h +-rw-r--r-- root/root usr/include/marvell-ipp/codecJP.h +-rw-r--r-- root/root usr/include/marvell-ipp/codecPNG.h +-rw-r--r-- root/root usr/include/marvell-ipp/codecSC.h +-rw-r--r-- root/root usr/include/marvell-ipp/codecVC.h +-rw-r--r-- root/root usr/include/marvell-ipp/codecWMA.h +-rw-r--r-- root/root usr/include/marvell-ipp/codecWMV.h +-rw-r--r-- root/root usr/include/marvell-ipp/ippIE.h +-rw-r--r-- root/root usr/include/marvell-ipp/ippIP.h +-rw-r--r-- root/root usr/include/marvell-ipp/ippLV.h +-rw-r--r-- root/root usr/include/marvell-ipp/ippSC.h +-rw-r--r-- root/root usr/include/marvell-ipp/ippSP.h +-rw-r--r-- root/root usr/include/marvell-ipp/ippVC.h +-rw-r--r-- root/root usr/include/marvell-ipp/ippVP.h +-rw-r--r-- root/root usr/include/marvell-ipp/ippdefs.h +-rw-r--r-- root/root usr/include/marvell-ipp/misc.h +-rw-r--r-- root/root usr/include/marvell-ipp/vdec_api.h +-rw-r--r-- root/root usr/include/marvell-ipp/vdec_dbg.h +-rw-r--r-- root/root usr/include/marvell-ipp/vdec_os_api.h +-rw-r--r-- root/root usr/include/marvell-ipp/vdec_types.h +-rw-r--r-- root/root usr/include/marvell-ipp/venc_api.h +-rw-r--r-- root/root usr/include/marvell-ipp/venc_types.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/lib_il_aacdec_wmmx2lnx.a +-rw-r--r-- root/root usr/lib/lib_il_aacenc_wmmx2lnx.a +-rw-r--r-- root/root usr/lib/lib_il_amrnbdec_wmmx2lnx.a +-rw-r--r-- root/root usr/lib/lib_il_amrnbenc_wmmx2lnx.a +-rw-r--r-- root/root usr/lib/lib_il_amrwbdec_wmmx2lnx.a +-rw-r--r-- root/root usr/lib/lib_il_amrwbenc_wmmx2lnx.a +-rw-r--r-- root/root usr/lib/lib_il_basecore_wmmx2lnx.a +-rw-r--r-- root/root usr/lib/lib_il_h263dec_wmmx2lnx.a +-rw-r--r-- root/root usr/lib/lib_il_h263enc_wmmx2lnx.a +-rw-r--r-- root/root usr/lib/lib_il_h264dec_wmmx2lnx.a +-rw-r--r-- root/root usr/lib/lib_il_h264enc_wmmx2lnx.a +-rw-r--r-- root/root usr/lib/lib_il_ippomxmem_wmmx2lnx.a +-rw-r--r-- root/root usr/lib/lib_il_mp3dec_wmmx2lnx.a +-rw-r--r-- root/root usr/lib/lib_il_mpeg4aspdec_wmmx2lnx.a +-rw-r--r-- root/root usr/lib/lib_il_mpeg4enc_wmmx2lnx.a +-rw-r--r-- root/root usr/lib/lib_il_vmetadec_wmmx2lnx.a +-rw-r--r-- root/root usr/lib/lib_il_vmetaenc_wmmx2lnx.a +-rw-r--r-- root/root usr/lib/lib_il_wmadec_wmmx2lnx.a +-rw-r--r-- root/root usr/lib/lib_il_wmvdec_wmmx2lnx.a +-rw-r--r-- root/root usr/lib/libcodecaacdec.a +-rw-r--r-- root/root usr/lib/libcodecaacdec.so +-rw-r--r-- root/root usr/lib/libcodecaacenc.a +-rw-r--r-- root/root usr/lib/libcodecaacenc.so +-rw-r--r-- root/root usr/lib/libcodecamrnbdec.a +-rw-r--r-- root/root usr/lib/libcodecamrnbdec.so +-rw-r--r-- root/root usr/lib/libcodecamrnbenc.a +-rw-r--r-- root/root usr/lib/libcodecamrnbenc.so +-rw-r--r-- root/root usr/lib/libcodecamrwbdec.a +-rw-r--r-- root/root usr/lib/libcodecamrwbdec.so +-rw-r--r-- root/root usr/lib/libcodecamrwbenc.a +-rw-r--r-- root/root usr/lib/libcodecamrwbenc.so +-rw-r--r-- root/root usr/lib/libcodecgifdec.a +-rw-r--r-- root/root usr/lib/libcodecgifdec.so +-rw-r--r-- root/root usr/lib/libcodech263dec.a +-rw-r--r-- root/root usr/lib/libcodech263dec.so +-rw-r--r-- root/root usr/lib/libcodech263enc.a +-rw-r--r-- root/root usr/lib/libcodech263enc.so +-rw-r--r-- root/root usr/lib/libcodech264dec.a +-rw-r--r-- root/root usr/lib/libcodech264dec.so +-rw-r--r-- root/root usr/lib/libcodech264enc.a +-rw-r--r-- root/root usr/lib/libcodech264enc.so +-rw-r--r-- root/root usr/lib/libcodecjpegdec.a +-rw-r--r-- root/root usr/lib/libcodecjpegdec.so +-rw-r--r-- root/root usr/lib/libcodecjpegenc.a +-rw-r--r-- root/root usr/lib/libcodecjpegenc.so +-rw-r--r-- root/root usr/lib/libcodecmp3dec.a +-rw-r--r-- root/root usr/lib/libcodecmp3dec.so +-rw-r--r-- root/root usr/lib/libcodecmpeg2dec.a +-rw-r--r-- root/root usr/lib/libcodecmpeg2dec.so +-rw-r--r-- root/root usr/lib/libcodecmpeg4dec.a +-rw-r--r-- root/root usr/lib/libcodecmpeg4dec.so +-rw-r--r-- root/root usr/lib/libcodecmpeg4enc.a +-rw-r--r-- root/root usr/lib/libcodecmpeg4enc.so +-rw-r--r-- root/root usr/lib/libcodecpngdec.a +-rw-r--r-- root/root usr/lib/libcodecpngdec.so +-rw-r--r-- root/root usr/lib/libcodecvmetaenc.a +-rw-r--r-- root/root usr/lib/libcodecvmetaenc.so +-rw-r--r-- root/root usr/lib/libcodecwmadec.a +-rw-r--r-- root/root usr/lib/libcodecwmadec.so +-rw-r--r-- root/root usr/lib/libcodecwmvdec.a +-rw-r--r-- root/root usr/lib/libcodecwmvdec.so +-rw-r--r-- root/root usr/lib/libippcam.a +-rw-r--r-- root/root usr/lib/libippcam.so +-rw-r--r-- root/root usr/lib/libippdeint.a +-rw-r--r-- root/root usr/lib/libippdeint.so +-rw-r--r-- root/root usr/lib/libippie.a +-rw-r--r-- root/root usr/lib/libippie.so +-rw-r--r-- root/root usr/lib/libippsp.a +-rw-r--r-- root/root usr/lib/libippsp.so +-rw-r--r-- root/root usr/lib/libippvp.a +-rw-r--r-- root/root usr/lib/libippvp.so +-rw-r--r-- root/root usr/lib/libmiscgen.a +-rw-r--r-- root/root usr/lib/libmiscgen.so diff --git a/marvell-ipp/.md5sum b/marvell-ipp/.md5sum new file mode 100644 index 0000000..e8e74e3 --- /dev/null +++ b/marvell-ipp/.md5sum @@ -0,0 +1 @@ +6387e85fbe85747bc8f646e87a16c407 cubox-packages.tar.gz diff --git a/marvell-ipp/Pkgfile b/marvell-ipp/Pkgfile new file mode 100644 index 0000000..620338e --- /dev/null +++ b/marvell-ipp/Pkgfile @@ -0,0 +1,55 @@ +# Description: Armada 510/Dove Marvell IPP headers and CODECs +# URL: http://www.solid-run.com/mw/index.php/Main_Page +# Packager: Ryan Mullen, rmmullen at gmail dot com +# Maintainer: Ryan Mullen, rmmullen at gmail dot com +# Depends on: marvell-libvmeta + +name=marvell-ipp +version=0.2.1 +release=1 +source=(http://download.solid-run.com/pub/solidrun/cubox/packages/cubox-packages-source/cubox-packages.tar.gz) + +build() { + + # Adapted from Arch ALARM marvell-ipp + + cd packages/marvell-ipp + tar xf marvell-ipp_$version-0ubuntu1~ppa10.tar.gz + cd marvell-ipp + + sed -r \ + -e "s|^(PATH_GNU_BIN=).+|\1/usr/bin|" \ + -e "s|^(CFLAGS=).*|\1 -mcpu=cortex-a9|" \ + -e "s|^(AR=).+|\1/usr/bin/ar|" \ + -e "s|^(AS=).+|\1/usr/bin/as|" \ + -e "s|^(CC=).+|\1/usr/bin/gcc|" \ + -e "s|^(LN=).+|\1/usr/bin/ln|" \ + -e "s|^(CXX=).+|\1/usr/bin/g++|" \ + -i example/Rules.make + + cd example/misc/build/wmmx2_linux + make -j1 -f makefile_miscGen + + cd $SRC/packages/marvell-ipp/marvell-ipp + + mkdir -p $PKG/usr/lib + mkdir $PKG/usr/include + mkdir -p $PKG/etc/udev/rules.d + + install -Dm644 etc/99-uio.rules \ + $PKG/etc/udev/rules.d/99-uio.rules + install -d $PKG/usr/lib $PKG/usr/include/marvell-ipp + install -m644 include/*.h $PKG/usr/include/marvell-ipp + + find bin lib -not -type d \( -name "*.so" -o -name "*.a" \) \ + -not -path "*libcodecvmetadec.a" \ + -not -path "*libvmetahal.a" \ + -not -path "*libvmetahal.so" \ + -not -path "*libcodecvmetadec.so" \ + -not -path "bin/libmiscgen.so" \ + -exec install -m644 "{}" $PKG/usr/lib/ \; + + install -d $PKG/usr/include/OpenMAX/IL/ + install -m644 openmax/include/* $PKG/usr/include/OpenMAX/IL/ + install -m644 openmax/*.a $PKG/usr/lib/ +} -- 2.26.2