summaryrefslogtreecommitdiff
path: root/packages/gstreamer/gst-plugin-pulse_0.9.7.bb
blob: 5a83f3915b47889e0f85eb1fe1319ddb7423ecb9 (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
DESCRIPTION = "GStreamer plugin for using pulse audio as sink and source"
HOMEPAGE = "http://0pointer.de/lennart/projects/gst-pulse/"
LICENSE = "GPL"
DEPENDS = "gstreamer pulseaudio"
PR = "r1"

DEFAULT_PREFERENCE = "-1"

SRC_URI = "http://0pointer.de/lennart/projects/gst-pulse/gst-pulse-${PV}.tar.gz \
	file://dont-overload-pulseaudio.patch;patch=1"
S = "${WORKDIR}/gst-pulse-${PV}"

inherit autotools

EXTRA_OECONF = "--disable-lynx"
GST_LIBV = 0.10

do_install() {
	install -d ${D}${libdir}/gstreamer-${GST_LIBV}/
	install -m 0755 src/.libs/libgstpulse.so ${D}${libdir}/gstreamer-${GST_LIBV}
}

export GST_MODDIR=${libdir}/gstreamer-0.10

FILES_${PN} = "${libdir}/gstreamer-0.10/libgstpulse.so"
FILES_${PN}-dev = "\
  ${libdir}/gstreamer-0.10/libgstpulse.a \
  ${libdir}/gstreamer-0.10/libgstpulse.la \
  ${libdir}/gstreamer-0.10/libgstpulse.so*"
FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug"