Difference between revisions of "Gstreamer-core"

From CBLFS
Jump to navigationJump to search
(32Bit)
(Added optional dependency and altered build instructions to accomodate)
Line 17: Line 17:
 
* [[LibXML2]]
 
* [[LibXML2]]
 
=== Optional ===
 
=== Optional ===
 +
* [[Gobject-introspection]]
 
* [[Check]]
 
* [[Check]]
 
* [[Valgrind]]
 
* [[Valgrind]]
Line 54: Line 55:
 
Compile the package:
 
Compile the package:
  
  NM=nm CC="gcc ${BUILD32}" USE_ARCH=32 \
+
  export CC="gcc ${BUILD32}"
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
+
export USE_ARCH=32
  ./configure --prefix=/usr --build=${CLFS_TARGET32} &&
+
  export PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}"
 +
  NM=nm ./configure --prefix=/usr --build=${CLFS_TARGET32} &&
 
  make
 
  make
  
Line 66: Line 68:
 
   mv -v $prog{,-32}
 
   mv -v $prog{,-32}
 
  done
 
  done
 +
unset PKG_CONFIG_PATH
 +
unset USE_ARCH
 +
unset CC
  
 
=== N32 ===
 
=== N32 ===
Line 71: Line 76:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILDN32}" USE_ARCH=n32 \
+
  export CC="gcc ${BUILDN32}"
  PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
+
export USE_ARCH=n32
 +
  export PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}"
 
  ./configure --prefix=/usr --libdir=/usr/lib32 &&
 
  ./configure --prefix=/usr --libdir=/usr/lib32 &&
 
  make
 
  make
Line 83: Line 89:
 
   mv -v $prog{,-n32}
 
   mv -v $prog{,-n32}
 
  done
 
  done
 +
unset PKG_CONFIG_PATH
 +
unset USE_ARCH
 +
unset CC
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 88: Line 97:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD64}" USE_ARCH=64 \
+
  export CC="gcc ${BUILD64}"
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
+
export USE_ARCH=64
 +
  export PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}"
 
  ./configure --prefix=/usr --libdir=/usr/lib64 &&
 
  ./configure --prefix=/usr --libdir=/usr/lib64 &&
 
  make
 
  make
Line 107: Line 117:
 
     chown -v -R root:root /usr/share/doc/gstreamer-{{Gstreamer-Version}}/*/html
 
     chown -v -R root:root /usr/share/doc/gstreamer-{{Gstreamer-Version}}/*/html
 
  fi
 
  fi
 +
unset USE_ARCH
 +
unset PKG_CONFIG_PATH
 +
unset CC
  
 
== Content ==
 
== Content ==

Revision as of 23:04, 8 January 2010

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}"
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}"
./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}"
./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.