Gstreamer-core

From CBLFS
Revision as of 00:41, 9 January 2010 by Lunaryn (talk | contribs) (multilib fix for gobject-introspection)
Jump to navigationJump to search
Download Source: http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-0.10.31.tar.bz2

Introduction to Gstreamer-core

The GStreamer package contains a streaming media framework that enables applications to share a common set of plugins for things like video decoding and encoding, audio encoding and decoding, audio and video filters, audio visualisation, Web streaming and anything else that streams in real-time or otherwise. It is modelled after research software worked on at the Oregon Graduate Institute.

After installing GStreamer, you'll likely need to install one or more of the Gst-plugins-base, Gst-plugins-good, Gst-plugins-ugly, Gst-plugins-bad, and Gst-ffmpeg packages.

Project Homepage: http://www.gstreamer.net

Dependencies

Required

Optional

Required to build the API Documentation

Required to build the manuals

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
make

Install the package

make install &&
install -v -m755 -d /usr/share/doc/gstreamer-0.10.31/design &&
install -v -m644 docs/design/*.txt \
                    /usr/share/doc/gstreamer-0.10.31/design &&
if [ -d /usr/share/doc/gstreamer-0.10.31/faq/html ]; then
    chown -v -R root:root /usr/share/doc/gstreamer-0.10.31/*/html
fi

Multilib

32Bit

Compile the package:

export CC="gcc ${BUILD32}"
export USE_ARCH=32
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}"
sed -i 's/gir-1.0/&-32/' $(grep -lr gir-1.0 *) &&
NM=nm ./configure --prefix=/usr --build=${CLFS_TARGET32} &&
make

Install the package:

make install &&
for prog in /usr/bin/gst-{feedback,inspect,launch,typefind,xmlinspect,xmllaunch}{,-0.10}
do
  mv -v $prog{,-32}
done
unset PKG_CONFIG_PATH
unset USE_ARCH
unset CC

N32

Compile the package:

export CC="gcc ${BUILDN32}"
export USE_ARCH=n32
export PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}"
sed -i 's/gir-1.0/&-n32/' $(grep -lr gir-1.0 *) &&
./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package:

make install &&
for prog in /usr/bin/gst-{feedback,inspect,launch,typefind,xmlinspect,xmllaunch}{,-0.10}
do
  mv -v $prog{,-n32}
done
unset PKG_CONFIG_PATH
unset USE_ARCH
unset CC

64Bit

Compile the package:

export CC="gcc ${BUILD64}"
export USE_ARCH=64
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}"
sed -i 's/gir-1.0/&-64/' $(grep -lr gir-1.0 *) &&
./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package:

make install &&
for prog in /usr/bin/gst-{feedback,inspect,launch,typefind,xmlinspect,xmllaunch}{,-0.10}
do
  mv -v $prog{,-64}
  ln -sfv multiarch_wrapper $prog
done &&
install -v -m755 -d /usr/share/doc/gstreamer-0.10.31/design &&
install -v -m644 docs/design/*.txt \
                    /usr/share/doc/gstreamer-0.10.31/design &&
if [ -d /usr/share/doc/gstreamer-0.10.31/faq/html ]; then
    chown -v -R root:root /usr/share/doc/gstreamer-0.10.31/*/html
fi
unset USE_ARCH
unset PKG_CONFIG_PATH
unset CC

Content

Installed Programs: gst-feedback{,-0.10}, gst-inspect{,-0.10}, gst-launch{,-0.10}, gst-typefind{,-0.10}, gst-xmllaunch{,-0.10} and gst-xmlinspect{,-0.10}

Installed Libraries: libgstbase-0.10.{so,a}, libgstcheck-0.10.{so,a}, libgstcontroller-0.10.{so,a}, libgstdataprotocol-0.10.{so,a}, libgstnet-0.10.{so,a}, libgstreamer-0.10.{so,a}, and libgst*.{so,a} plugin modules

Installed Directories: /usr/include/gstreamer-0.10, /usr/lib/gstreamer-0.10, /usr/share/doc/gstreamer-0.10, /usr/share/gtk-doc/html/gstreamer{,-libs,-plugins}-0.10

Short Descriptions

gst-feedback-0.10: generates debug info for GStreamer bug reports.

gst-inspect-0.10: prints information about a GStreamer plugin or element.

gst-launch-0.10: is a tool that builds and runs basic GStreamer pipelines.

gst-typefind-0.10: uses the GStreamer type finding system to determine the relevant GStreamer plugin to parse or decode a file, and determine the corresponding MIME type.

gst-xmlinspect-0.10: prints information about a GStreamer plugin or element in XML document format.

gst-xmllaunch-0.10: is used to build and run a basic GStreamer pipeline, loading it from an XML description.