mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
Add gst-plugin-pulse
This commit is contained in:
parent
1a5ccf1dde
commit
13ac7cba37
|
@ -0,0 +1,13 @@
|
|||
Index: gst-pulse-0.9.7/src/pulsesink.c
|
||||
===================================================================
|
||||
--- gst-pulse-0.9.7.orig/src/pulsesink.c
|
||||
+++ gst-pulse-0.9.7/src/pulsesink.c
|
||||
@@ -477,6 +477,8 @@ static guint gst_pulsesink_write(GstAudi
|
||||
length -= l;
|
||||
|
||||
sum += l;
|
||||
+
|
||||
+ usleep( 500 );
|
||||
}
|
||||
|
||||
pa_threaded_mainloop_unlock(pulsesink->mainloop);
|
29
meta-openmoko/packages/gstreamer/gst-plugin-pulse_0.9.7.bb
Normal file
29
meta-openmoko/packages/gstreamer/gst-plugin-pulse_0.9.7.bb
Normal file
|
@ -0,0 +1,29 @@
|
|||
DESCRIPTION = "GStreamer plugin for using pulse audio as sink and source"
|
||||
HOMEPAGE = "http://0pointer.de/lennart/projects/gst-pulse/"
|
||||
LICENSE = "GPL"
|
||||
DEPENDS = "gstreamer pulseaudio gst-plugins-base"
|
||||
PR = "r1"
|
||||
|
||||
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"
|
||||
|
Loading…
Reference in New Issue
Block a user