# gstreamer (and friends)
# =========
# gstreamer is not compatible with the 0.8.x series, but both can be
# installed at the same time.
# If you want to uninstall anything covered below, or just remove files from
# an old version before installing a new one, cd into the source directory,
# run 'make uninstall' (as root), remove the source directory, then remove
# the tarball.
# If you have gst-player installed, which works with gstreamer 0.8.x, and
# are going to upgrade to gstreamer 0.10.x, cd into it's source and
# 'make uninstall' it. It is no longer covered here - if a 0.10.x version
# is released, I'll add it again.
# Create directories for source and tarballs
mkdir -p -m 0700 ~/installed/gstreamer ~/src/gstreamer
# gstreamer 0.10.2
# ================
# Slackware 9.0's 'gstreamer' package includes 0.6.0, 9.1's includes 0.6.3
# and a patched version in 'patches', 10.0's includes 0.8.3, and 10.1's
# includes 0.8.7 As of Slackware 10.2, Gnome is no longer included (neither
# is gstreamer).
cd
test -f installed/gstreamer/gstreamer-0.10.2.tar.bz2 &&
mv installed/gstreamer/gstreamer-0.10.2.tar.bz2 .
test ! -f gstreamer-0.10.2.tar.bz2 &&
wget http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-0.10.2.tar.bz2
# If you're upgrading from a version of gstreamer that used gst-plugins to
# the current version that uses gst-plugins-(base|good|bad|ugly), cd into
# the gst-plugins source directory and 'make uninstall' (as root) before
# proceeding here.
cd
test -f installed/gst-plugins-base-0.10.2.tar.bz2 &&
mv installed/gst-plugins-base-0.10.2.tar.bz2 .
test ! -f gst-plugins-base-0.10.2.tar.bz2 &&
wget http://gstreamer.freedesktop.org/src/gst-plugins-base/\
gst-plugins-base-0.10.2.tar.bz2
find src src/gstreamer -maxdepth 1 -type d -name "gst-plugins-?.*" \
-exec rm -r {} \;
find src src/gstreamer -maxdepth 1 -type d -name "gst-plugins-base-*" \
-exec rm -r {} \;
cd src/gstreamer
tar xjvf ~/gst-plugins-base-0.10.2.tar.bz2
cd gst-plugins-base-0.10.2
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib \
--disable-nls
make
su -c "make install ; ldconfig"
cd
rm -f installed/gstreamer/gst-plugins-?.*.tar.* \
installed/gstreamer/gst-plugins-base-*.tar.*
mv gst-plugins-base-0.10.2.tar.bz2 installed/gstreamer/