Skip to content

Instantly share code, notes, and snippets.

@ksophocleous
Last active August 29, 2015 14:08
Show Gist options
  • Save ksophocleous/81593b97c5c0ac38babe to your computer and use it in GitHub Desktop.
Save ksophocleous/81593b97c5c0ac38babe to your computer and use it in GitHub Desktop.
gstreamer and plugins 1.4.4
#!/bin/bash
set -e
cd $HOME
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" > /etc/apt/sources.list.d/mono-xamarin.list
apt-get update
apt-get install -y bison git-core autoconf pkg-config libtool autopoint gtk-doc-tools flex libogg-dev libtheora-dev \
libvorbis-dev libpango1.0-dev libspeex-dev libwavpack-dev libopus-dev libvpx-dev yasm libgtk2.0-dev mono-devel
VERSION=1.4.5
export GST_PLUGIN_PATH=$HOME/gstreamer/lib
export PKG_CONFIG_PATH=$HOME/gstreamer/lib/pkgconfig
wget http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${VERSION}.tar.xz
tar xf gstreamer-${VERSION}.tar.xz
(cd gstreamer-${VERSION} && ./configure --prefix=$HOME/gstreamer && make install)
wget http://gstreamer.freedesktop.org/data/src/gst-plugins-base/gst-plugins-base-${VERSION}.tar.xz
tar xf gst-plugins-base-${VERSION}.tar.xz
(cd gst-plugins-base-${VERSION} && ./configure --prefix=$HOME/gstreamer && make install)
wget http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${VERSION}.tar.xz
tar xf gst-plugins-good-${VERSION}.tar.xz
(cd gst-plugins-good-${VERSION} && ./configure --prefix=$HOME/gstreamer && make install)
wget http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${VERSION}.tar.xz
tar xf gst-plugins-bad-${VERSION}.tar.xz
(cd gst-plugins-bad-${VERSION} && ./configure --prefix=$HOME/gstreamer && make install)
wget http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${VERSION}.tar.xz
tar xf gst-plugins-ugly-${VERSION}.tar.xz
(cd gst-plugins-ugly-${VERSION} && ./configure --prefix=$HOME/gstreamer && make install)
wget http://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${VERSION}.tar.xz
tar xf gst-libav-${VERSION}.tar.xz
(cd gst-libav-${VERSION} && ./configure --prefix=$HOME/gstreamer && make install)
export PATH=$PATH:$HOME/gstreamer/bin
git clone https://github.com/mono/gtk-sharp.git
(cd gtk-sharp && git checkout gtk-sharp-2-12-branch && ./bootstrap-2.12 --prefix=$HOME/gstreamer && make install)
git clone https://github.com/gstreamer-sharp/gstreamer-sharp.git
(cd gstreamer-sharp && git checkout 1.4 && ./autogen.sh --prefix=$HOME/gstreamer && make install)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment