summaryrefslogtreecommitdiff
path: root/gstreamer/gstreamer_0.8.5.oe
blob: 20ac9bbcc2bffde281031bad5f3c6d4aad86e74a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
PR = "r0"

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  libxml2 popt"
SECTION = "x11/network"
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 gettext

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
}