aboutsummaryrefslogtreecommitdiff
path: root/libraries/libiec61883
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libiec61883')
-rw-r--r--libraries/libiec61883/README10
-rw-r--r--libraries/libiec61883/libiec61883.SlackBuild64
-rw-r--r--libraries/libiec61883/libiec61883.info8
-rw-r--r--libraries/libiec61883/slack-desc19
4 files changed, 101 insertions, 0 deletions
diff --git a/libraries/libiec61883/README b/libraries/libiec61883/README
new file mode 100644
index 0000000000000..a604982b484d5
--- /dev/null
+++ b/libraries/libiec61883/README
@@ -0,0 +1,10 @@
+This library is an implementation of IEC 61883, part 1 (CIP, plug registers
+and CMP), part 2 (DV-SD), part 4 (MPEG2-TS), and part 6 (AMDTP). Outside of
+IIDC, nearly all FireWire multimedia devices use IEC 61883 protocols.
+
+The libiec61883 library provides a higher level API for streaming DV, MPEG-2
+and audio over Linux IEEE 1394. This includes both reception and transmission.
+It uses the new "rawiso" API of libraw1394, which transparently provides
+mmap-ed DMA for efficient data transfer.
+
+This requires libraw1394 (available at SlackBuilds.org).
diff --git a/libraries/libiec61883/libiec61883.SlackBuild b/libraries/libiec61883/libiec61883.SlackBuild
new file mode 100644
index 0000000000000..f9435317f99b6
--- /dev/null
+++ b/libraries/libiec61883/libiec61883.SlackBuild
@@ -0,0 +1,64 @@
+#!/bin/sh
+
+# Pierre Cazenave revision date 11/11/2007
+# Modified by Robby Workman <rworkman@slackbuilds.org> for better
+# consistency with our other scripts
+
+PRGNAM=libiec61883
+VERSION=1.1.0
+ARCH=${ARCH:-i486}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+fi
+
+rm -rf $TMP/$PRGNAM-$VERSION $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+chmod -R u+w,go+r-w,a-s .
+
+CFLAGS="$SLKCFLAGS" \
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --disable-static
+
+make
+make install DESTDIR=$PKG
+
+( cd $PKG
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+)
+
+( cd $PKG/usr/man
+ find . -type f -exec gzip -9 {} \;
+ for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
+)
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/libraries/libiec61883/libiec61883.info b/libraries/libiec61883/libiec61883.info
new file mode 100644
index 0000000000000..833943e8335ee
--- /dev/null
+++ b/libraries/libiec61883/libiec61883.info
@@ -0,0 +1,8 @@
+PRGNAM="libiec61883"
+VERSION="1.1.0"
+HOMEPAGE="http://www.linux1394.org/"
+DOWNLOAD="http://www.linux1394.org/dl/libiec61883-1.1.0.tar.gz"
+MD5SUM="08f46840912ae2032499186228842a32"
+MAINTAINER="Pierre Cazenave"
+EMAIL="pwcazenave@gmail.com"
+APPROVED="rworkman"
diff --git a/libraries/libiec61883/slack-desc b/libraries/libiec61883/slack-desc
new file mode 100644
index 0000000000000..b257d1ba25ed2
--- /dev/null
+++ b/libraries/libiec61883/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|' on
+# the right side marks the last column you can put a character in. You must make
+# exactly 11 lines for the formatting to be correct. It's also customary to
+# leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------|
+libiec61883: libiec61883 (implementation of IEC 61883, part 1)
+libiec61883:
+libiec61883: This library is an implementation of IEC 61883, part 1 (CIP,
+libiec61883: plug registers, and CMP), part 2 (DV-SD), part 4 (MPEG2-TS),
+libiec61883: and part 6 (AMDTP). Outside of IIDC, nearly all FireWire
+libiec61883: multimedia devices use IEC 61883 protocols.
+libiec61883: The libiec61883 library provides a higher level API for
+libiec61883: streaming DV, MPEG-2 and audio over Linux IEEE 1394. This
+libiec61883: includes both reception and transmission. It uses the new
+libiec61883: "rawiso" API of libraw1394, which transparently provides
+libiec61883: mmap-ed DMA for efficient data transfer.