summaryrefslogtreecommitdiff
path: root/packages/pulseaudio/pulseaudio_0.9.5.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/pulseaudio/pulseaudio_0.9.5.bb')
-rw-r--r--packages/pulseaudio/pulseaudio_0.9.5.bb42
1 files changed, 42 insertions, 0 deletions
diff --git a/packages/pulseaudio/pulseaudio_0.9.5.bb b/packages/pulseaudio/pulseaudio_0.9.5.bb
new file mode 100644
index 0000000000..6b3e734c59
--- /dev/null
+++ b/packages/pulseaudio/pulseaudio_0.9.5.bb
@@ -0,0 +1,42 @@
+DESCRIPTION = "Pulseaudio is a sound server for Linux and Unix-like operating systems."
+HOMEPAGE = "http://www.pulseaudio.org"
+AUTHOR = "Lennart Poettering"
+SECTION = "libs/multimedia"
+LICENSE = "LGPL"
+
+DEPENDS = "liboil avahi libsamplerate0 libsndfile1 libtool"
+# optional
+DEPENDS += "alsa-lib"
+
+PR = "r2"
+
+SRC_URI = "http://0pointer.de/lennart/projects/pulseaudio/pulseaudio-${PV}.tar.gz"
+
+inherit autotools
+
+EXTRA_OECONF = "\
+ --disable-lynx \
+ --without-x \
+ --without-glib \
+ --without-jack \
+ --with-alsa \
+ --with-oss \
+ "
+
+PARALLEL_MAKE = ""
+
+LEAD_SONAME = "libpulse.so"
+
+PACKAGES =+ "${PN}-conf ${PN}-bin"
+PACKAGES_DYNAMIC = "pulseaudio-module-* pulseaudio-lib-*"
+
+FILES_${PN}-conf = "${sysconfdir}"
+FILES_${PN}-bin = "${bindir}/*"
+
+python populate_packages_prepend() {
+ #bb.data.setVar('PKG_pulseaudio', 'pulseaudio', d)
+
+ plugindir = bb.data.expand('${libdir}/pulse-0.9/modules/', d)
+ do_split_packages(d, plugindir, '^module-(.*)\.so$', 'pulseaudio-module-%s', 'PulseAudio module for %s', extra_depends='' )
+ do_split_packages(d, plugindir, '^lib(.*)\.so$', 'pulseaudio-lib-%s', 'PulseAudio library for %s', extra_depends='' )
+}