summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-08-03 15:12:00 +0000
committerPhil Blundell <philb@gnu.org>2004-08-03 15:12:00 +0000
commit7b129ebc059c3c21caecd61189b21bccb309306c (patch)
treeb65c2ba5da36adb2ad16e9c0154507a08d430208
parentd66f03f7b26ad096fafbb72ba3347bae043b4d6f (diff)
add gstreamer.xsession script
BKrev: 410fab40_XVz6JnnPPC-WrdTtLTtiw
-rw-r--r--gstreamer/gstreamer-0.8.3/gstreamer.xsession0
-rw-r--r--gstreamer/gstreamer_0.8.3.oe33
2 files changed, 33 insertions, 0 deletions
diff --git a/gstreamer/gstreamer-0.8.3/gstreamer.xsession b/gstreamer/gstreamer-0.8.3/gstreamer.xsession
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/gstreamer/gstreamer-0.8.3/gstreamer.xsession
diff --git a/gstreamer/gstreamer_0.8.3.oe b/gstreamer/gstreamer_0.8.3.oe
index e69de29bb2..019dc380f4 100644
--- a/gstreamer/gstreamer_0.8.3.oe
+++ b/gstreamer/gstreamer_0.8.3.oe
@@ -0,0 +1,33 @@
+PR = "r1"
+
+DESCRIPTION = "GStreamer is a multimedia framework for encoding and decoding video and sound. \
+It supports a wide range of formats including mp3, ogg, avi, mpeg and quicktime."
+DEPENDS = "glib-2.0 gettext-native libxml2 popt"
+SECTION = "base"
+PRIORITY = "optional"
+
+FILES_${PN} += " ${libdir}/gstreamer-0.8/*.so"
+FILES_${PN}-dev += " ${libdir}/gstreamer-0.8/*.la ${libdir}/gstreamer-0.8/*.a"
+
+SRC_URI = "http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.bz2 \
+ file://gstreamer.xsession \
+ file://configure-largefile.patch;patch=1;pnum=0"
+
+EXTRA_OECONF = "--disable-docs-build --disable-dependency-tracking"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ oe_runmake install prefix=${STAGING_DIR} \
+ bindir=${STAGING_BINDIR} \
+ includedir=${STAGING_INCDIR} \
+ libdir=${STAGING_LIBDIR} \
+ datadir=${STAGING_DATADIR} \
+ mandir=${STAGING_DIR}/share/man
+}
+
+do_install_append() {
+ install -d ${D}/etc/X11/Xsession.d
+ install ${WORKDIR}/gstreamer.xsession ${D}/etc/X11/Xsession.d/90gst-register
+}
+