aboutsummaryrefslogtreecommitdiff
path: root/libs_video
diff options
context:
space:
mode:
Diffstat (limited to 'libs_video')
-rwxr-xr-xlibs_video/farstream/farstream.build104
-rwxr-xr-xlibs_video/ffmpeg/ffmpeg.build123
-rwxr-xr-xlibs_video/gst_libav/gst_libav.build84
-rwxr-xr-xlibs_video/gst_plugins_bad/gst_plugins_bad.build100
-rwxr-xr-xlibs_video/gst_plugins_ugly/gst_plugins_ugly.build86
-rwxr-xr-xlibs_video/gstreamer/gstreamer.build163
-rwxr-xr-xlibs_video/libbluray/libbluray.build62
-rwxr-xr-xlibs_video/libdvd/libdvd.build116
-rw-r--r--libs_video/libdvd/libdvdnav-4.2.1-dvdreadflags.patch.xzbin0 -> 484 bytes
-rw-r--r--libs_video/libdvd/libdvdnav-4.2.1-fixcflags.patch.xzbin0 -> 496 bytes
-rwxr-xr-xlibs_video/libmimic/libmimic.build61
-rwxr-xr-xlibs_video/libmms/libmms.build60
-rw-r--r--libs_video/libmpeg2/libmpeg2-0.5.1-gcc46.patch.xzbin0 -> 1276 bytes
-rw-r--r--libs_video/libmpeg2/libmpeg2-0.5.1-optflags.patch.xzbin0 -> 392 bytes
-rwxr-xr-xlibs_video/libmpeg2/libmpeg2.build64
-rwxr-xr-xlibs_video/libschroedinger/libschroedinger.build64
-rw-r--r--libs_video/libschroedinger/schroedinger-1.0.11-ltmain.patch.xzbin0 -> 456 bytes
-rwxr-xr-xlibs_video/libtheora/libtheora.build64
-rwxr-xr-xlibs_video/libvpx/libvpx.build63
-rwxr-xr-xlibs_video/libx264/libx264.build58
-rwxr-xr-xlibs_video/libxvidcore/libxvidcore.build67
-rwxr-xr-xlibs_video/v4l_utils/v4l_utils.build91
22 files changed, 1430 insertions, 0 deletions
diff --git a/libs_video/farstream/farstream.build b/libs_video/farstream/farstream.build
new file mode 100755
index 0000000..ad4d485
--- /dev/null
+++ b/libs_video/farstream/farstream.build
@@ -0,0 +1,104 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=farstream
+VERSION=0.2.3
+BUILD=1
+DEPENDS=('gstreamer >= 1.2.4-1' 'libgupnp >= 0.20.10-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# 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 ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: farsight (audio/video communications framework)
+${NAME}:
+${NAME}: The Farsight project is an effort to create a framework to deal with
+${NAME}: all known audio/video conferencing protocols. On one side it offers
+${NAME}: a generic API that makes it possible to write plug-ins for different
+${NAME}: streaming protocols, on the other side it offers an API for clients
+${NAME}: to use those plug-ins.
+${NAME}:
+${NAME}: Homepage: http://farsight.freedesktop.org/wiki
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=libnice
+SRCVERS[0]=0.1.5
+SRCPACK[0]=http://nice.freedesktop.org/releases/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz
+SRCCOPY[0]="LGPL21 MPL11"
+
+build0()
+{
+sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' nice/Makefile.in
+sed -i 's|$(libdir)/gstreamer-$GST_MAJORMINOR|$(libdir)/plugins/gstreamer-$GST_MAJORMINOR|g' configure
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+CPPFLAGS="-I${SYS_DIR[include]}/gupnp-igd-1.0" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --disable-silent-rules \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --with-html-dir="${SYS_DIR[html]}" \
+ --with-gstreamer
+make ${JOBS} V=1
+make install DESTDIR="${PKG}"
+doc AUTHORS
+changelog NEWS
+rm -rf ${PKG}${SYS_DIR[html]}
+}
+
+SRCNAME[1]=${NAME}
+SRCVERS[1]=${VERSION}
+SRCPACK[1]=http://freedesktop.org/software/${SRCNAME[1]}/releases/${SRCNAME[1]}/${SRCNAME[1]}-${SRCVERS[1]}.tar.gz
+SRCCOPY[1]="LGPL21"
+
+build1()
+{
+sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in
+sed -i 's|$(libdir)/gstreamer-$GST_API_VERSION|$(libdir)/plugins/gstreamer-$GST_API_VERSION|g' configure
+sed -i 's|${libdir}/farstream-$FS_APIVERSION|${libdir}/plugins/farstream-$FS_APIVERSION|g' configure
+PKG_CONFIG_PATH="${PKG}${SYS_DIR[share]}/pkgconfig" \
+CPPFLAGS="-I${PKG}${SYS_DIR[include]} -I${PKG}${SYS_DIR[include]}/nice -I${SYS_DIR[include]}/gupnp-igd-1.0" \
+LDFLAGS="-L${PKG}${SYS_DIR[lib]}" \
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --disable-silent-rules \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --datadir="${SYS_DIR[share]}/application-data" \
+ --with-html-dir="${SYS_DIR[html]}" \
+ --disable-python
+make ${JOBS} V=1
+make install DESTDIR="${PKG}"
+doc AUTHORS
+changelog NEWS
+rm -rf \
+ ${PKG}${SYS_DIR[bin]}/*-example \
+ ${PKG}${SYS_DIR[html]}
+}
diff --git a/libs_video/ffmpeg/ffmpeg.build b/libs_video/ffmpeg/ffmpeg.build
new file mode 100755
index 0000000..deb6628
--- /dev/null
+++ b/libs_video/ffmpeg/ffmpeg.build
@@ -0,0 +1,123 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=ffmpeg
+VERSION=2.2.1
+BUILD=1
+DEPENDS=('orc >= 0.4.16-1' 'lame >= 3.99.5-1' 'libtheora >= 1.1.1-1' 'libspeex >= 1.2rc1-1' 'libxvidcore >= 1.3.2-1' 'libschroedinger >= 1.0.11-1' 'libgsm >= 1.0.13-1' 'libx264 >= 20140422-1' 'celt >= 0.11.3-1' 'libopus >= 1.1-1' 'libvpx >= 1.3.0-1' 'libva >= 1.1.0-1' 'libvdpau >= 0.6-1' 'libcdio >= 0.92-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# 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 ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: ffmpeg
+${NAME}:
+${NAME}: FFMPEG is a complete solution to record, convert and stream audio and
+${NAME}: video. It includes libavcodec, the leading audio/video codec library.
+${NAME}:
+${NAME}: Homepage: http://www.ffmpeg.org
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=http://ffmpeg.org/releases/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2
+SRCCOPY[0]="GPL2 GPL3 LGPL21 LGPL3"
+
+build0()
+{
+case "$(cpufamily ${ARCH})" in
+ x86)
+ OPTARCH=i686
+ OPTCPU=i586
+ ;;
+ x86_64)
+ OPTARCH=x86_64
+ OPTCPU=x86_64
+ ;;
+esac
+sed -i 's|$(LIBDIR)/pkgconfig|$(DESTDIR)/usr/share/pkgconfig|g' library.mak
+./configure \
+ --extra-cflags="-I${SYS_DIR[include]}/x264" \
+ --disable-static \
+ --enable-shared \
+ --enable-pic \
+ --disable-debug \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --datadir="${SYS_DIR[share]}/application-data/${SRCNAME[0]}" \
+ --enable-gpl \
+ --enable-version3 \
+ --enable-nonfree \
+ --arch="${OPTARCH}" \
+ --cpu="${OPTCPU}" \
+ --disable-indev=oss \
+ --disable-outdev=oss \
+ --enable-runtime-cpudetect \
+ --enable-pthreads \
+ --enable-postproc \
+ --enable-vaapi \
+ --enable-vdpau \
+ --enable-x11grab \
+ --enable-zlib \
+ --enable-bzlib \
+ --enable-gnutls \
+ --enable-openal \
+ --enable-libbluray \
+ --enable-libmp3lame \
+ --enable-libspeex \
+ --enable-libtheora \
+ --enable-libvorbis \
+ --enable-libschroedinger \
+ --enable-libvpx \
+ --enable-libxvid \
+ --enable-libgsm \
+ --enable-librtmp \
+ --enable-libcdio \
+ --enable-libmodplug \
+ --enable-libfreetype \
+ --enable-libcelt \
+ --enable-libv4l2 \
+ --enable-libx264 \
+ --enable-libopus
+# --enable-libsoxr \
+# --enable-avisynth \
+# --enable-libamr-nb \
+# --enable-libamr-wb \
+# --enable-libdc1394 \
+# --enable-libfaac \
+# --enable-libnut \
+# --enable-libdirac \
+# --enable-libopenjpeg \
+# --enable-libaacplus \
+# --enable-libass \
+# --enable-libopencv \
+# --enable-libstagefright-h264 \
+# --enable-libutvideo \
+# --enable-libvo-aacenc \
+# --enable-libvo-amrwbenc \
+# --enable-libxavs \
+make ${JOBS} V=1
+make install DESTDIR="${PKG}"
+doc CREDITS MAINTAINERS doc/RELEASE_NOTES
+changelog Changelog
+license LICENSE
+rm -rf ${PKG}${SYS_DIR[share]}/application-data/${SRCNAME[0]}/examples
+}
diff --git a/libs_video/gst_libav/gst_libav.build b/libs_video/gst_libav/gst_libav.build
new file mode 100755
index 0000000..3c89677
--- /dev/null
+++ b/libs_video/gst_libav/gst_libav.build
@@ -0,0 +1,84 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=gst_libav
+VERSION=1.2.4
+BUILD=1
+DEPENDS=('gstreamer >= 1.2.4')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# 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 ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: gst-libav (libav GStreamer plug-in)
+${NAME}:
+${NAME}: GStreamer libav (a fork of FFMPEG) plug-in.
+${NAME}:
+${NAME}: Homepage: http://gstreamer.freedesktop.org
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+GSTREAMERREPO="http://gstreamer.freedesktop.org/src"
+
+configure()
+{
+sed -i 's|$(libdir)/gstreamer-$GST_API_VERSION|$(libdir)/plugins/gstreamer-$GST_API_VERSION|g' configure
+sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' pkgconfig/Makefile.in
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --disable-silent-rules \
+ --enable-static=no \
+ --enable-shared=yes \
+ --enable-introspection=no \
+ --disable-debug \
+ --disable-rpath \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --libexecdir="${SYS_DIR[lib]}/exec" \
+ --with-html-dir="${SYS_DIR[html]}" \
+ --enable-docbook=no \
+ --enable-gtk-doc=no \
+ --disable-examples \
+ ${*}
+}
+
+SRCNAME[0]=gst-libav
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=${GSTREAMERREPO}/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz
+SRCCOPY[0]="GPL2 LGPL2"
+
+build0()
+{
+configure \
+ --enable-orc
+make ${JOBS} V=1
+make install DESTDIR="${PKG}"
+doc AUTHORS RELEASE
+changelog NEWS
+rm -rf \
+ ${PKG}${SYS_DIR[html]} \
+ ${PKG}${SYS_DIR[lib]}/*.a \
+ ${PKG}${SYS_DIR[lib]}/*/*.a
+}
diff --git a/libs_video/gst_plugins_bad/gst_plugins_bad.build b/libs_video/gst_plugins_bad/gst_plugins_bad.build
new file mode 100755
index 0000000..e9a4614
--- /dev/null
+++ b/libs_video/gst_plugins_bad/gst_plugins_bad.build
@@ -0,0 +1,100 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=gst_plugins_bad
+VERSION=1.2.4
+BUILD=1
+DEPENDS=('gstreamer >= 1.2.4-1')
+OPTDEPENDS=('mpg123 >= 1.19.0-1' 'libxvidcore >= 1.3.2-1' 'libdvd >= 4.9.9-1' 'libsndfile >= 1.0.25-1' 'libmodplug >= 0.8.8.4-1' 'libmpcdec >= 1.2.6-1' 'libcdaudio >= 0.99.12p2-1' 'libopus >= 1.1-1' 'celt >= 0.11.3-1' 'libschroedinger >= 1.0.11-1' 'faad >= 2.7-1' 'libgsm >= 1.0.13-1' 'libdca >= 0.0.5-1' 'liblrdf >= 0.5.0-1' 'libmimic >= 1.0.4-1' 'libopenal >= 1.15.1-1' 'libsoundtouch >= 1.7.1-1' 'jasper >= 1.900.1-1' 'librsvg >= 2.37.0-1' 'libexif >= 0.6.21-1' 'libkate >= 0.4.1-1' 'libvdpau >= 0.6-1' 'libmms >= 0.6.4-1' 'rtmpdump >= 20121230-1' 'curl >= 7.29.0-1' 'neon >= 0.29.6-1' 'libmusicbrainz >= 2.1.5-1' 'libofa >= 0.9.3-1' 'sdl >= 1.2.15-1' 'bzip2 >= 1.0.6-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# 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 ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: gst_plugins_bad
+${NAME}:
+${NAME}: A set of unfinished GStreamer plug-ins.
+${NAME}:
+${NAME}: Homepage: http://gstreamer.freedesktop.org
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+cat >> ${PKG}/install/doinst.sh <<EOF
+#!/bin/sh
+
+# Compile settings data schemas
+
+if [ -x ${SYS_DIR[bin]}/glib-compile-schemas ]; then
+ ${SYS_DIR[bin]}/glib-compile-schemas ${SYS_DIR[share]}/glib-2.0/schemas
+fi
+EOF
+
+# Sources
+
+GSTREAMERREPO="http://gstreamer.freedesktop.org/src"
+
+configure()
+{
+sed -i 's|$(libdir)/gstreamer-$GST_API_VERSION|$(libdir)/plugins/gstreamer-$GST_API_VERSION|g' configure
+sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' pkgconfig/Makefile.in
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --disable-silent-rules \
+ --enable-static=no \
+ --enable-shared=yes \
+ --enable-introspection=no \
+ --disable-debug \
+ --disable-rpath \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --libexecdir="${SYS_DIR[lib]}/exec" \
+ --with-html-dir="${SYS_DIR[html]}" \
+ --enable-docbook=no \
+ --enable-gtk-doc=no \
+ --disable-examples \
+ ${*}
+}
+
+SRCNAME[0]=gst-plugins-bad
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=${GSTREAMERREPO}/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz
+SRCCOPY[0]="GPL2 LGPL2"
+
+build0()
+{
+CPPFLAGS="-I${SYS_DIR[include]}/cdaudio -I${SYS_DIR[include]}/dca" \
+configure \
+ --disable-schemas-compile \
+ --enable-orc \
+ --with-gtk=3.0
+# missing plugins : libtiger, mpeg2enc, zvbi, spandsp, zbar, opencv, mplex,
+# slv2, libdc1394, chromaprint, libass
+make ${JOBS} V=1
+make install DESTDIR="${PKG}"
+doc AUTHORS RELEASE
+changelog NEWS
+rm -rf \
+ ${PKG}${SYS_DIR[html]} \
+ ${PKG}${SYS_DIR[lib]}/*.a \
+ ${PKG}${SYS_DIR[lib]}/*/*.a
+}
diff --git a/libs_video/gst_plugins_ugly/gst_plugins_ugly.build b/libs_video/gst_plugins_ugly/gst_plugins_ugly.build
new file mode 100755
index 0000000..15988e8
--- /dev/null
+++ b/libs_video/gst_plugins_ugly/gst_plugins_ugly.build
@@ -0,0 +1,86 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=gst_plugins_ugly
+VERSION=1.2.4
+BUILD=1
+DEPENDS=('gstreamer >= 1.2.4-1')
+OPTDEPENDS=('liba52 >= 0.7.5cvs-1' 'libcdio >= 0.92-1' 'libdvd >= 4.9.9-1' 'lame >= 3.99.5-1' 'libmad >= 0.15.1b-1' 'libx264 >= 20140422-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# 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 ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: gst-plugins-ugly
+${NAME}:
+${NAME}: A set of GStreamer plug-ins with potential patent issues.
+${NAME}:
+${NAME}: Homepage: http://gstreamer.freedesktop.org
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+GSTREAMERREPO="http://gstreamer.freedesktop.org/src"
+
+configure()
+{
+sed -i 's|$(libdir)/gstreamer-$GST_API_VERSION|$(libdir)/plugins/gstreamer-$GST_API_VERSION|g' configure
+sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' pkgconfig/Makefile.in
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --disable-silent-rules \
+ --enable-static=no \
+ --enable-shared=yes \
+ --enable-introspection=no \
+ --disable-debug \
+ --disable-rpath \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --libexecdir="${SYS_DIR[lib]}/exec" \
+ --with-html-dir="${SYS_DIR[html]}" \
+ --enable-docbook=no \
+ --enable-gtk-doc=no \
+ --disable-examples \
+ ${*}
+}
+
+SRCNAME[0]=gst-plugins-ugly
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=${GSTREAMERREPO}/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz
+SRCCOPY[0]="LGPL21"
+
+build0()
+{
+configure \
+ --enable-orc
+# missing plugins: amrnb, amrwb, mpeg2dec, sidplay
+make ${JOBS} V=1
+make install DESTDIR="${PKG}"
+doc AUTHORS RELEASE
+changelog NEWS
+rm -rf \
+ ${PKG}${SYS_DIR[html]} \
+ ${PKG}/usr/lib$(libdirsuffix)/*.a \
+ ${PKG}/usr/lib$(libdirsuffix)/*/*.a
+}
diff --git a/libs_video/gstreamer/gstreamer.build b/libs_video/gstreamer/gstreamer.build
new file mode 100755
index 0000000..5125d99
--- /dev/null
+++ b/libs_video/gstreamer/gstreamer.build
@@ -0,0 +1,163 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=gstreamer
+MAJOR=1.2
+VERSION=${MAJOR}.4
+APIVER=1.0
+BUILD=1
+DEPENDS=('glib >= 2.38.2-1' 'libxml >= 2.9.1-1' 'orc >= 0.4.19-1')
+OPTDEPENDS=('xorg_libs >= 7.7-4' 'gdk_pixbuf >= 2.28.0-1' 'libjpeg >= 1.3.0-1' 'libpng >= 1.5.14-1' 'pango >= 1.34.0-1' 'cairo >= 1.12.12-1' 'sound >= 1.0.27-1' 'libogg >= 1.3.1-1' 'libvorbis >= 1.3.4-1' 'libtheora >= 1.1.1-1' 'libspeex >= 1.2rc-1' 'flac >= 1.3.0-1' 'libvpx >= 1.3.0-1' 'libwavpack >= 4.70.0-1' 'v4l_utils >= 1.0.1-1' 'libshout >= 2.3.1-1' 'taglib >= 1.9.1-1' 'cdparanoia >= 10.2-1' 'libcdio >= 0.92-1' 'libvisual >= 0.4.0-1' 'libxml >= 2.9.1-1' 'libraw1394 >= 2.0.7-1' 'jack >= 1.9.9.5-1' 'libsoup >= 2.42.0-1' 'bzip2 >= 1.0.6-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# 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 ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: gstreamer (streaming media framework)
+${NAME}:
+${NAME}: GStreamer is a streaming media framework, based on graphs of filters
+${NAME}: which operate on media data. Applications using this library can do
+${NAME}: anything from real-time sound processing to playing videos, and just
+${NAME}: about anything else media-related. Its plugin-based architecture
+${NAME}: means that new data types or processing capabilities can be added
+${NAME}: simply by installing new plugins.
+${NAME}:
+${NAME}: Homepage: http://gstreamer.freedesktop.org
+${NAME}:
+EOF
+
+# Sources
+
+GSTREAMERREPO="http://gstreamer.freedesktop.org/src"
+
+configure()
+{
+# bypass the "test icles" as they fail to build because of missing libtool files
+sed -i 's|SUBDIRS_ICLES = icles|SUBDIRS_ICLES = |g' tests/Makefile.in
+sed -i 's|$(libdir)/gstreamer-$GST_API_VERSION|$(libdir)/plugins/gstreamer-$GST_API_VERSION|g' configure
+sed -i 's|@libdir@/gstreamer-@GST_API_VERSION@|@libdir@/plugins/gstreamer-@GST_API_VERSION@|g' pkgconfig/gstreamer{,-plugins-base}.pc.in
+sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' pkgconfig/Makefile.in
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --disable-silent-rules \
+ --disable-rpath \
+ --enable-static=no \
+ --enable-shared=yes \
+ --enable-introspection=no \
+ --disable-debug \
+ --disable-rpath \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --libexecdir="${SYS_DIR[lib]}/exec" \
+ --with-html-dir="${SYS_DIR[html]}" \
+ --enable-docbook=no \
+ --enable-gtk-doc=no \
+ --disable-examples \
+ ${*}
+}
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=${GSTREAMERREPO}/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz
+SRCCOPY[0]="LGPL2"
+
+build0()
+{
+sed -i 's|${libdir}/gstreamer-$GST_API_VERSION|${libdir}/plugins/gstreamer-$GST_API_VERSION|g' configure
+configure \
+ --disable-tests \
+ --disable-benchmarks
+make ${JOBS} V=1
+make install DESTDIR="${PKG}"
+doc AUTHORS RELEASE
+changelog NEWS
+rm -rf \
+ ${PKG}${SYS_DIR[html]} \
+ ${PKG}${SYS_DIR[lib]}/*.{a,la}
+}
+
+SRCNAME[1]=gst-plugins-base
+SRCVERS[1]=${VERSION}
+SRCPACK[1]=${GSTREAMERREPO}/${SRCNAME[1]}/${SRCNAME[1]}-${SRCVERS[1]}.tar.xz
+SRCCOPY[1]="GPL2"
+
+build1()
+{
+sed -i 's|pkgdatadir = $(datadir)/@PACKAGE@|pkgdatadir = $(datadir)/application-data/@PACKAGE@|g' gst-libs/gst/tag/Makefile.in
+CPPFLAGS="-I${PKG}${SYS_DIR[include]}/gstreamer-${APIVER}" \
+LDFLAGS="-L${PKG}${SYS_DIR[lib]}" \
+configure \
+ --with-pkg-config-path="${PKG}${SYS_DIR[share]}/pkgconfig" \
+ --enable-iso-codes \
+ --enable-orc
+make ${JOBS} V=1
+make install DESTDIR="${PKG}"
+doc AUTHORS RELEASE
+changelog NEWS
+rm -rf \
+ ${PKG}${SYS_DIR[html]} \
+ ${PKG}${SYS_DIR[lib]}/*.{a,la}
+}
+
+SRCNAME[2]=gst-plugins-good
+SRCVERS[2]=${VERSION}
+SRCPACK[2]=${GSTREAMERREPO}/${SRCNAME[2]}/${SRCNAME[2]}-${SRCVERS[2]}.tar.xz
+SRCCOPY[2]="LGPL21"
+
+build2()
+{
+CPPFLAGS="-I${PKG}${SYS_DIR[include]}/gstreamer-${APIVER} -I${SYS_DIR[include]}/libsoup-2.4" \
+LDFLAGS="-L${PKG}${SYS_DIR[lib]}" \
+configure \
+ --with-pkg-config-path="${PKG}${SYS_DIR[share]}/pkgconfig" \
+ --with-gudev \
+ --with-libv4l2 \
+ --enable-orc \
+ --disable-oss
+make ${JOBS} V=1
+make install DESTDIR="${PKG}"
+doc AUTHORS RELEASE
+changelog NEWS
+rm -rf \
+ ${PKG}${SYS_DIR[html]} \
+ ${PKG}${SYS_DIR[lib]}/*.{a,la}
+}
+
+SRCNAME[3]=gst123
+SRCVERS[3]=0.3.3
+SRCPACK[3]=http://space.twc.de/~stefan/${SRCNAME[3]}/${SRCNAME[3]}-${SRCVERS[3]}.tar.bz2
+
+build3()
+{
+PKG_CONFIG_PATH="${PKG}${SYS_DIR[share]}/pkgconfig" \
+GSTREAMER_CFLAGS="-I${PKG}${SYS_DIR[include]}/gstreamer-${APIVER}" \
+GSTREAMER_LIBS="-L${PKG}${SYS_DIR[lib]} -lgstreamer-${APIVER} -lgstbase-${APIVER} -lgstvideo-${APIVER}" \
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --disable-silent-rules \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --localstatedir="${SYS_DIR[var]}"
+make ${JOBS} V=1
+make install DESTDIR="${PKG}"
+doc AUTHORS
+changelog NEWS
+}
diff --git a/libs_video/libbluray/libbluray.build b/libs_video/libbluray/libbluray.build
new file mode 100755
index 0000000..4707944
--- /dev/null
+++ b/libs_video/libbluray/libbluray.build
@@ -0,0 +1,62 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=libbluray
+VERSION=0.5.0
+BUILD=1
+DEPENDS=('libxml >= 2.9.1-1' 'freetype >= 2.5.2-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# 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 ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: libbluray
+${NAME}:
+${NAME}: A library designed for Blu-Ray Disc playback for media players.
+${NAME}:
+${NAME}: Homepage: http://www.videolan.org/developers/libbluray.html
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=ftp://ftp.videolan.org/pub/videolan/${SRCNAME[0]}/${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2
+SRCCOPT[0]="LGPL21"
+
+build0()
+{
+sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' src/Makefile.in
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --disable-debug \
+ --disable-examples \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}"
+make ${JOBS}
+make install DESTDIR="${PKG}"
+rm -rf ${PKG}${SYS_DIR[bin]}
+}
diff --git a/libs_video/libdvd/libdvd.build b/libs_video/libdvd/libdvd.build
new file mode 100755
index 0000000..5cbdbad
--- /dev/null
+++ b/libs_video/libdvd/libdvd.build
@@ -0,0 +1,116 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=libdvd
+VERSION=4.9.9
+BUILD=1
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# 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 ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: libdvd
+${NAME}:
+${NAME}: This package includes libraries needed to play DVDs. These are:
+${NAME}:
+${NAME}: libdvdcss - decodes encrypted DVDs
+${NAME}: libdvdread - read DVD-Video images
+${NAME}: libdvdnav - allows sophisticated DVD navigation features
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=libdvdcss
+SRCVERS[0]=1.2.13
+SRCPACK[0]=http://download.videolan.org/pub/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2
+SRCCOPY[0]="GPL2"
+
+build0()
+{
+sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.{am,in}
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --disable-silent-rules \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}"
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc AUTHORS
+changelog NEWS
+rm -rf ${PKG}${SYS_DIR[doc]}/${SRCNAME[0]}
+}
+
+SRCNAME[1]=libdvdread
+SRCVERS[1]=4.9.9
+SRCPACK[1]=http://dvdnav.mplayerhq.hu/releases/${SRCNAME[1]}-${SRCVERS[1]}.tar.xz
+SRCCOPY[1]="GPL2"
+
+build1()
+{
+sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.{am,in}
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --disable-silent-rules \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}"
+make ${JOBS} V=1
+make install DESTDIR="${PKG}"
+doc AUTHORS README
+changelog ChangeLog
+rm -rf ${PKG}${SYS_DIR[doc]}/${SRCNAME[1]}
+}
+
+SRCNAME[2]=libdvdnav
+SRCVERS[2]=4.2.1
+SRCPACK[2]=http://www.mplayerhq.hu/MPlayer/releases/dvdnav/${SRCNAME[2]}-${SRCVERS[2]}.tar.xz
+
+build2()
+{
+sed -i 's|$(libdir)/pkgconfig|/usr/share/pkgconfig|g' Makefile
+DVDREAD_CFLAGS="-I${PKG}${SYS_DIR[include]}" \
+DVDREAD_LIBS="-L${PKG}${SYS_DIR[lib]}" \
+./configure2 \
+ --extra-cflags="${FLAGS}" \
+ --disable-debug \
+ --disable-opts \
+ --disable-static \
+ --enable-shared \
+ --prefix="${SYS_DIR[usr]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --shlibdir="${SYS_DIR[lib]}" \
+ --with-dvdread="${PKG}${SYS_DIR[usr]}"
+make ${JOBS} \
+ DVDREAD_CFLAGS="-I${PKG}${SYS_DIR[include]}" \
+ DVDREAD_LIBS="-L${PKG}${SYS_DIR[lib]}"
+make install DESTDIR="${PKG}"
+doc AUTHORS
+changelog ChangeLog
+}
diff --git a/libs_video/libdvd/libdvdnav-4.2.1-dvdreadflags.patch.xz b/libs_video/libdvd/libdvdnav-4.2.1-dvdreadflags.patch.xz
new file mode 100644
index 0000000..43f5e8c
--- /dev/null
+++ b/libs_video/libdvd/libdvdnav-4.2.1-dvdreadflags.patch.xz
Binary files differ
diff --git a/libs_video/libdvd/libdvdnav-4.2.1-fixcflags.patch.xz b/libs_video/libdvd/libdvdnav-4.2.1-fixcflags.patch.xz
new file mode 100644
index 0000000..48470b7
--- /dev/null
+++ b/libs_video/libdvd/libdvdnav-4.2.1-fixcflags.patch.xz
Binary files differ
diff --git a/libs_video/libmimic/libmimic.build b/libs_video/libmimic/libmimic.build
new file mode 100755
index 0000000..83b017a
--- /dev/null
+++ b/libs_video/libmimic/libmimic.build
@@ -0,0 +1,61 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=libmimic
+VERSION=1.0.4
+BUILD=2
+DEPENDS=('glib >= 2.34.3-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# 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 ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: libmimic
+${NAME}:
+${NAME}: Libmimic is an open source video encoding/decoding library for Mimic
+${NAME}: V2.x-encoded content (fourCC: ML20), which is the encoding used by
+${NAME}: MSN Messenger for webcam conversations.
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=${URL[sf]}/farsight/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz
+SRCCOPY[0]="LGPL21"
+
+build0()
+{
+sed -i 's|$(libdir)/pkgconfig|$(datadir)/pkgconfig|g' Makefile.in
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --includedir="${SYS_DIR[include]}/mimic" \
+ --localstatedir="${SYS_DIR[var]}"
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc AUTHORS
+}
diff --git a/libs_video/libmms/libmms.build b/libs_video/libmms/libmms.build
new file mode 100755
index 0000000..81c4924
--- /dev/null
+++ b/libs_video/libmms/libmms.build
@@ -0,0 +1,60 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=libmms
+VERSION=0.6.4
+BUILD=1
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# 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 ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: libmms (MMS stream protocol library)
+${NAME}:
+${NAME}: A library that parses mms:// and mmsh:// network streams. These are
+${NAME}: commonly used the stream Windows Media Video content over the web.
+${NAME}: LibMMS itself is only for receiving MMS streams, it doesn't handle
+${NAME}: sending at all.
+${NAME}:
+${NAME}: Homepage: https://launchpad.net/libmms
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=${URL[sf]}/${SRCNAME[0]}/${SRCNAME[0]}/${VERSION}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz
+SRCCOPY[0]="LGPL21"
+
+build0()
+{
+sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' pkgconfig/Makefile.in
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}"
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc AUTHORS
+changelog ChangeLog
+}
diff --git a/libs_video/libmpeg2/libmpeg2-0.5.1-gcc46.patch.xz b/libs_video/libmpeg2/libmpeg2-0.5.1-gcc46.patch.xz
new file mode 100644
index 0000000..713bf7c
--- /dev/null
+++ b/libs_video/libmpeg2/libmpeg2-0.5.1-gcc46.patch.xz
Binary files differ
diff --git a/libs_video/libmpeg2/libmpeg2-0.5.1-optflags.patch.xz b/libs_video/libmpeg2/libmpeg2-0.5.1-optflags.patch.xz
new file mode 100644
index 0000000..0b5b325
--- /dev/null
+++ b/libs_video/libmpeg2/libmpeg2-0.5.1-optflags.patch.xz
Binary files differ
diff --git a/libs_video/libmpeg2/libmpeg2.build b/libs_video/libmpeg2/libmpeg2.build
new file mode 100755
index 0000000..a74d303
--- /dev/null
+++ b/libs_video/libmpeg2/libmpeg2.build
@@ -0,0 +1,64 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=libmpeg2
+VERSION=0.5.1
+BUILD=2
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# 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 ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: libmpeg2
+${NAME}:
+${NAME}: Libmpeg2 is a free library for decoding mpeg-2 and mpeg-1 video
+${NAME}: streams.
+${NAME}:
+${NAME}: Homepage: http://libmpeg2.sf.net
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=http://libmpeg2.sourceforge.net/files/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz
+SRCCOPY[0]="GPL2"
+
+build0()
+{
+sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' libmpeg2/{,convert/}Makefile.in
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --disable-sdl
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc AUTHORS
+changelog NEWS
+rm -f \
+ ${PKG}${SYS_DIR[bin]}/{mpeg2dec,corrupt_mpeg2} \
+ ${PKG}${SYS_DIR[man]}/man1/mpeg2dec.1
+}
diff --git a/libs_video/libschroedinger/libschroedinger.build b/libs_video/libschroedinger/libschroedinger.build
new file mode 100755
index 0000000..2c12b21
--- /dev/null
+++ b/libs_video/libschroedinger/libschroedinger.build
@@ -0,0 +1,64 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=libschroedinger
+VERSION=1.0.11
+BUILD=2
+DEPENDS=('orc >= 0.4.16-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# 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 ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: schroedinger (DIRAC video codec)
+${NAME}:
+${NAME}: Dirac is an advanced royalty-free video compression format designed
+${NAME}: for a wide ranger of uses, from delivering low-resolution web content
+${NAME}: to broadcasting HD and beyond, to near-lossless studio editing.
+${NAME}:
+${NAME}: Homepage: http://diracvideo.org
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=schroedinger
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=http://diracvideo.org/download/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz
+SRCCOPY[0]="GPL2 LGPL21 MIT MPL"
+
+build0()
+{
+sed -i 's|$(libdir)/pkgconfig|$(datadir)/pkgconfig|g' configure
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --enable-shared=yes \
+ --enable-static=no \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --with-html-dir="${SYS_DIR[html]}" \
+ --with-thread=pthread
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc AUTHORS
+changelog NEWS
+rm -rf ${PKG}${SYS_DIR[html]}
+}
diff --git a/libs_video/libschroedinger/schroedinger-1.0.11-ltmain.patch.xz b/libs_video/libschroedinger/schroedinger-1.0.11-ltmain.patch.xz
new file mode 100644
index 0000000..1b0f062
--- /dev/null
+++ b/libs_video/libschroedinger/schroedinger-1.0.11-ltmain.patch.xz
Binary files differ
diff --git a/libs_video/libtheora/libtheora.build b/libs_video/libtheora/libtheora.build
new file mode 100755
index 0000000..808abf7
--- /dev/null
+++ b/libs_video/libtheora/libtheora.build
@@ -0,0 +1,64 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=libtheora
+VERSION=1.1.1
+BUILD=3
+DEPENDS=('libvorbis >= 1.3.3-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# 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 ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: libtheora (Theora video codec)
+${NAME}:
+${NAME}: Theora is a free and open video compression format from the Xiph.org
+${NAME}: Foundation. Like all our multimedia technology it can be used to
+${NAME}: distribute film and video online and on disc without the licensing
+${NAME}: and royalty fees or vendor lock-in associated with other formats.
+${NAME}:
+${NAME}: Theora scales from postage stamp to HD resolution, and is considered
+${NAME}: particularly competitive at low bitrates. It is in the same class as
+${NAME}: MPEG-4/DiVX, and like the Vorbis audio codec it has lots of room for
+${NAME}: improvement as encoder technology develops.
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=http://downloads.xiph.org/releases/${NAME}/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2
+
+build0()
+{
+sed -i 's|$(datadir)/doc/$(PACKAGE)-$(VERSION)|$(datadir)/doc/$(PACKAGE)|g' doc/Makefile.in
+sed -i 's|$(libdir)/pkgconfig|$(datadir)/pkgconfig|g' Makefile.in
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --disable-examples
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc AUTHORS
+changelog CHANGES
+license COPYING
+rm -rf ${PKG}${SYS_DIR[doc]}/${SRCNAME[0]}
+}
diff --git a/libs_video/libvpx/libvpx.build b/libs_video/libvpx/libvpx.build
new file mode 100755
index 0000000..5527b7c
--- /dev/null
+++ b/libs_video/libvpx/libvpx.build
@@ -0,0 +1,63 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=libvpx
+VERSION=1.3.0
+BUILD=1
+DEPENDS=('glib >= 2.38.2-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# 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 ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: libvpx (WebM VP8 codec)
+${NAME}:
+${NAME}: WebM is an open, royalty-free, media file format designed for the
+${NAME}: web.
+${NAME}:
+${NAME}: WebM defines the file container structure, video and audio formats.
+${NAME}: WebM files consist of video streams compressed with the VP8 video
+${NAME}: codec and audio streams compressed with the Vorbis audio codec. The
+${NAME}: WebM file structure is based on the Matroska container.
+${NAME}:
+${NAME}: Homepage: http://webmproject.org
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=v${VERSION}
+SRCPACK[0]=http://webm.googlecode.com/files/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2
+SRCCOPY[0]="BSD3"
+
+build0()
+{
+sed -i 's|$(LIBSUBDIR)/pkgconfig|/share/pkgconfig|g' libs.mk
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --prefix="${SYS_DIR[usr]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --disable-install-docs \
+ --disable-install-srcs \
+ --enable-shared \
+ --enable-pic \
+ --enable-runtime-cpu-detect \
+ --enable-postproc \
+ --enable-vp9 \
+ --enable-vp8
+make ${JOBS} verbose=1
+make install DIST_DIR="${PKG}${SYS_DIR[usr]}"
+doc AUTHORS
+changelog CHANGELOG
+rm -f ${PKG}${SYS_DIR[lib]}/*.a
+}
diff --git a/libs_video/libx264/libx264.build b/libs_video/libx264/libx264.build
new file mode 100755
index 0000000..024b4c9
--- /dev/null
+++ b/libs_video/libx264/libx264.build
@@ -0,0 +1,58 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=libx264
+VERSION=20140422
+BUILD=1
+DEPENDS=('xorg_libs >= 7.7-4')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# 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 ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: libx264
+${NAME}:
+${NAME}: A library for encoding video streams into the H.264/MPEG-4 AVC
+${NAME}: format. This format is used by many web services such as Youtube,
+${NAME}: Facebook, Vimeo and Hulu. It is also used for Google Talk webcam
+${NAME}: support.
+${NAME}:
+${NAME}: Homepage: http://www.videolan.org/developers/x264.html
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=x264
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=ftp://ftp.videolan.org/pub/x264/snapshots/last_${SRCNAME[0]}.tar.bz2
+SRCROOT[0]=${SRCNAME[0]}-snapshot-${SRCVERS[0]}-2245
+SRCCOPY[0]="GPL2"
+
+build0()
+{
+sed -i 's|$(libdir)/pkgconfig|/usr/share/pkgconfig|g' Makefile
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --prefix="${SYS_DIR[usr]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --includedir="${SYS_DIR[include]}/x264" \
+ --extra-cflags="${FLAGS}" \
+ --enable-shared \
+ --enable-pic
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc AUTHORS
+}
diff --git a/libs_video/libxvidcore/libxvidcore.build b/libs_video/libxvidcore/libxvidcore.build
new file mode 100755
index 0000000..32d0db5
--- /dev/null
+++ b/libs_video/libxvidcore/libxvidcore.build
@@ -0,0 +1,67 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=libxvidcore
+VERSION=1.3.2
+BUILD=2
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# 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 ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: xvidcore (XviD library)
+${NAME}:
+${NAME}: XviD is a high performance and high quality MPEG-4 video de-/encoding
+${NAME}: solution. In short terms, it's a format in the same vein as DivX but
+${NAME}: it is Open Source.
+${NAME}:
+${NAME}: Homepage: http://www.xvid.org
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=xvidcore
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=http://downloads.xvid.org/downloads/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2
+SRCROOT[0]=${SRCNAME[0]}
+SRCCOPY[0]="GPL2"
+
+build0()
+{
+(
+cd build/generic
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}"
+make ${JOBS} V=1
+make install DESTDIR="${PKG}"
+)
+doc AUTHORS
+changelog ChangeLog
+chmod 0755 ${PKG}${SYS_DIR[lib]}/libxvidcore.so.4.3
+(
+ cd ${PKG}${SYS_DIR[lib]}
+ ln -sf libxvidcore.so.4.3 libxvidcore.so.4
+ ln -sf libxvidcore.so.4.3 libxvidcore.so
+)
+rm -f ${PKG}${SYS_DIR[lib]}/*.a
+}
diff --git a/libs_video/v4l_utils/v4l_utils.build b/libs_video/v4l_utils/v4l_utils.build
new file mode 100755
index 0000000..3ace981
--- /dev/null
+++ b/libs_video/v4l_utils/v4l_utils.build
@@ -0,0 +1,91 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=v4l_utils
+VERSION=0.9.3
+BUILD=1
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# 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 ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: v4l_utils (Video 4 Linux library and utilities)
+${NAME}:
+${NAME}: A collection of libraries that add a thin abstraction layer on top
+${NAME}: of devices supported by Video4Linux2 (V4L2).
+${NAME}:
+${NAME}: Homepage: http://people.atrpms.net/~hdegoede
+${NAME}:
+${NAME}: This package also includes the w_scan utility which allows to do
+${NAME}: frequency scans for DVB and ATSC transmissions.
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=v4l-utils
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=http://linuxtv.org/downloads/v4l-utils/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2
+SRCCOPY[0]="LGPL21 GPL2"
+
+build0()
+{
+sed -i 's|pkgconfigdir=$libdir/pkgconfig|pkgconfigdir=$datadir/pkgconfig|g' configure
+sed -i 's|udevrulesdir=$with_udevdir/rules.d|udevrulesdir=$with_udevdir|g' configure
+sed -i 's|keytablesystemdir=$with_udevdir/rc_keymaps|keytablesystemdir=/usr/share/hwdata/rc_keymaps|g' configure
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --disable-silent-rules \
+ --disable-rpath \
+ --enable-shared=yes \
+ --enable-static=no \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --includedir="${SYS_DIR[include]}/v4l" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --disable-qv4l2 \
+ --with-libv4l2subdir="exec/v4l" \
+ --with-libv4l1subdir="exec/v4l" \
+ --with-libv4lconvertsubdir="exec/v4l" \
+ --with-udevdir="${SYS_DIR[udevrules]}"
+make ${JOBS} V=1
+make install DESTDIR="${PKG}"
+changelog ChangeLog
+rmdir ${PKG}${SYS_DIR[etc]}/rc_keymaps
+}
+
+SRCNAME[1]=w_scan
+SRCVERS[1]=20121111
+SRCPACK[1]=http://wirbel.htpc-forum.de/w_scan/${SRCNAME[1]}-${SRCVERS[1]}.tar.bz2
+
+build1()
+{
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}"
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc README doc/README.file_formats
+changelog ChangeLog
+}