CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libmpeg2: Initial import (verified compilation).
authorVictor Martinez <pitillo@ono.com>
Fri, 12 Mar 2010 12:15:26 +0000 (12:15 +0000)
committerVictor Martinez <pitillo@ono.com>
Fri, 12 Mar 2010 12:15:26 +0000 (12:15 +0000)
libmpeg2/.footprint [new file with mode: 0644]
libmpeg2/.md5sum [new file with mode: 0644]
libmpeg2/Pkgfile [new file with mode: 0644]

diff --git a/libmpeg2/.footprint b/libmpeg2/.footprint
new file mode 100644 (file)
index 0000000..7be6051
--- /dev/null
@@ -0,0 +1,27 @@
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/bin/
+-rwxr-xr-x     root/root       usr/bin/corrupt_mpeg2
+-rwxr-xr-x     root/root       usr/bin/extract_mpeg2
+-rwxr-xr-x     root/root       usr/bin/mpeg2dec
+drwxr-xr-x     root/root       usr/include/
+drwxr-xr-x     root/root       usr/include/mpeg2dec/
+-rw-r--r--     root/root       usr/include/mpeg2dec/mpeg2.h
+-rw-r--r--     root/root       usr/include/mpeg2dec/mpeg2convert.h
+drwxr-xr-x     root/root       usr/lib/
+-rw-r--r--     root/root       usr/lib/libmpeg2.a
+-rwxr-xr-x     root/root       usr/lib/libmpeg2.la
+lrwxrwxrwx     root/root       usr/lib/libmpeg2.so -> libmpeg2.so.0.1.0
+lrwxrwxrwx     root/root       usr/lib/libmpeg2.so.0 -> libmpeg2.so.0.1.0
+-rwxr-xr-x     root/root       usr/lib/libmpeg2.so.0.1.0
+-rw-r--r--     root/root       usr/lib/libmpeg2convert.a
+-rwxr-xr-x     root/root       usr/lib/libmpeg2convert.la
+lrwxrwxrwx     root/root       usr/lib/libmpeg2convert.so -> libmpeg2convert.so.0.0.0
+lrwxrwxrwx     root/root       usr/lib/libmpeg2convert.so.0 -> libmpeg2convert.so.0.0.0
+-rwxr-xr-x     root/root       usr/lib/libmpeg2convert.so.0.0.0
+drwxr-xr-x     root/root       usr/lib/pkgconfig/
+-rw-r--r--     root/root       usr/lib/pkgconfig/libmpeg2.pc
+-rw-r--r--     root/root       usr/lib/pkgconfig/libmpeg2convert.pc
+drwxr-xr-x     root/root       usr/man/
+drwxr-xr-x     root/root       usr/man/man1/
+-rw-r--r--     root/root       usr/man/man1/extract_mpeg2.1.gz
+-rw-r--r--     root/root       usr/man/man1/mpeg2dec.1.gz
diff --git a/libmpeg2/.md5sum b/libmpeg2/.md5sum
new file mode 100644 (file)
index 0000000..2a1f40e
--- /dev/null
@@ -0,0 +1 @@
+0f92c7454e58379b4a5a378485bbd8ef  libmpeg2-0.5.1.tar.gz
diff --git a/libmpeg2/Pkgfile b/libmpeg2/Pkgfile
new file mode 100644 (file)
index 0000000..9cd3b9c
--- /dev/null
@@ -0,0 +1,29 @@
+# Description: MPEG1/MPEG2 decoder (includes libmpeg2)
+# URL: http://libmpeg2.sourceforge.net/
+# Packager: acrux, acrux at linuxmail dot org
+# Maintainer: Thomas Penteker, tek at serverop dot de
+# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Depends on: libsdl xorg-libxv xorg-libsm
+
+name=libmpeg2
+version=0.5.1
+release=1
+source=(http://$name.sourceforge.net/files/$name-$version.tar.gz)
+
+build () {
+  cd $name-$version
+  export LIBVO_CFLAGS="-I$CLFS/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT"
+  export LIBVO_LIBS="-L$CLFS/usr/lib -Wl,-rpath,/usr/lib -lSDL  -lpthread"
+  ./configure --build=$CHOST \
+              --host=$CTARGET \
+              --prefix=/usr \
+              --mandir=/usr/man \
+              --with-gnu-ld \
+              --enable-shared \
+              --disable-nls \
+              --x-includes=$CLFS/usr/include/X11 \
+              --x-libraries=$CLFS/usr/lib/X11
+
+  make
+  make DESTDIR=$PKG install
+}