CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Introducing marvell-libvmeta
authorRyan Mullen <rmull@rmull.com>
Sun, 13 Jan 2013 04:31:40 +0000 (23:31 -0500)
committerRyan Mullen <rmull@rmull.com>
Sun, 13 Jan 2013 04:31:40 +0000 (23:31 -0500)
marvell-libvmeta/.footprint [new file with mode: 0644]
marvell-libvmeta/.md5sum [new file with mode: 0644]
marvell-libvmeta/Pkgfile [new file with mode: 0644]

diff --git a/marvell-libvmeta/.footprint b/marvell-libvmeta/.footprint
new file mode 100644 (file)
index 0000000..97dab38
--- /dev/null
@@ -0,0 +1,13 @@
+drwxr-xr-x     root/root       etc/
+drwxr-xr-x     root/root       etc/rc.d/
+-rwxr-xr-x     root/root       etc/rc.d/vmeta
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/include/
+-rwxr-xr-x     root/root       usr/include/uio_vmeta.h
+-rwxr-xr-x     root/root       usr/include/vmeta_lib.h
+drwxr-xr-x     root/root       usr/lib/
+-rw-r--r--     root/root       usr/lib/libcodecvmetadec.a
+-rw-r--r--     root/root       usr/lib/libcodecvmetadec.so.1
+-rwxr-xr-x     root/root       usr/lib/libvmeta.so
+-rw-r--r--     root/root       usr/lib/libvmetahal.a
+-rw-r--r--     root/root       usr/lib/libvmetahal.so
diff --git a/marvell-libvmeta/.md5sum b/marvell-libvmeta/.md5sum
new file mode 100644 (file)
index 0000000..c0dc556
--- /dev/null
@@ -0,0 +1,3 @@
+6387e85fbe85747bc8f646e87a16c407  cubox-packages.tar.gz
+5f9daddc45a3d1bb78c882d723c50b88  vmeta
+30eb47cd675c81c4e6ee0858d1fbc3a7  vmeta-hardfp.tar.xz
diff --git a/marvell-libvmeta/Pkgfile b/marvell-libvmeta/Pkgfile
new file mode 100644 (file)
index 0000000..bc8831b
--- /dev/null
@@ -0,0 +1,33 @@
+# Description: Marvell vMeta HD video decoder library
+# 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
+
+name=marvell-libvmeta
+version=1.0
+release=1
+source=(http://download.solid-run.com/pub/solidrun/cubox/packages/cubox-packages-source/cubox-packages.tar.gz
+        http://download.solid-run.com/pub/solidrun/cubox/packages/marvell-vmeta/vmeta-hardfp.tar.xz
+        vmeta)
+
+build() {
+
+    # Adapted from Arch ALARM marvell-libvmeta
+
+    cd packages/libvmeta
+    tar xf libvmeta_${version}ubuntu2.tar.gz
+    cd libvmeta
+
+    make
+
+    mkdir -p $PKG/usr/lib
+    mkdir $PKG/usr/include
+    mkdir -p $PKG/etc/rc.d
+
+    cp libvmeta.so $PKG/usr/lib
+    cp *.h $PKG/usr/include
+
+    cp $SRC/vmeta-hardfp/* $PKG/usr/lib
+
+    install -Dm0755 $SRC/vmeta $PKG/etc/rc.d/vmeta
+}