summaryrefslogtreecommitdiff
path: root/packages/pulseaudio/pulse.inc
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-06-13 17:29:54 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-06-13 17:29:54 +0000
commit3ddc7888534e1c11c5a64b67aa2276f1baa57811 (patch)
tree32a4c7e8daa797cf3f1c1bbb5c88a62a89ac75c3 /packages/pulseaudio/pulse.inc
parentfdcc51a356e836eddab6e14a02d92ab20050a1d5 (diff)
pulseaudio: beautify pulse.inc, add gcc4 compliance patch, make 0.9.6 the new default
Diffstat (limited to 'packages/pulseaudio/pulse.inc')
-rw-r--r--packages/pulseaudio/pulse.inc38
1 files changed, 14 insertions, 24 deletions
diff --git a/packages/pulseaudio/pulse.inc b/packages/pulseaudio/pulse.inc
index d4a9c5ef54..0158a8a9cc 100644
--- a/packages/pulseaudio/pulse.inc
+++ b/packages/pulseaudio/pulse.inc
@@ -6,29 +6,30 @@ LICENSE = "LGPL"
DEPENDS = "libatomics-ops liboil avahi libsamplerate0 libsndfile1 libtool"
# optional
-DEPENDS += "alsa-lib"
-
-PR = "r2"
-
-SRC_URI = "http://0pointer.de/lennart/projects/pulseaudio/pulseaudio-${PV}.tar.gz"
-
-SRC_URI += "file://volatiles.04_pulse"
+DEPENDS += "alsa-lib glib-2.0"
+SRC_URI = "http://0pointer.de/lennart/projects/pulseaudio/pulseaudio-${PV}.tar.gz \
+ file://gcc4-compile-fix.patch;patch=1 \
+ file://volatiles.04_pulse"
inherit autotools pkgconfig
EXTRA_OECONF = "\
- --disable-lynx \
+ --disable-lynx \
--without-x \
- --without-glib \
--without-jack \
+ --with-glib \
--with-alsa \
--with-oss \
"
PARALLEL_MAKE = ""
-export TARGET_PFPU="${TARGET_FPU}"
+export TARGET_PFPU = "${TARGET_FPU}"
+
+do_stage() {
+ autotools_stage_all
+}
do_install_append() {
install -d ${D}${sysconfdir}/default/volatiles
@@ -39,17 +40,14 @@ do_install_append() {
fi
}
-
-PACKAGES =+ "libpulsecore libpulse libpulse-simple libpulse-browse libpulse-mainloop-glib pulseaudio-server \
- pulseaudio-misc pulseaudio-gconf-helper"
+PACKAGES =+ "libpulsecore libpulse libpulse-simple libpulse-browse libpulse-mainloop-glib \
+ pulseaudio-server pulseaudio-misc pulseaudio-gconf-helper"
#upgrade path:
RREPLACES_pulseaudio-server = "libpulse-bin libpulse-conf"
-
PACKAGES_DYNAMIC = "pulseaudio-lib* pulseaudio-module* libpulse-lib* libpulse-module* "
-
FILES_libpulsecore = "${libdir}/libpulsecore.so.*"
FILES_libpulse = "${libdir}/libpulse.so.*"
FILES_libpulse-simple = "${libdir}/libpulse-simple.so.*"
@@ -91,18 +89,10 @@ else
fi
}
-
-
-
-do_stage() {
- autotools_stage_all
-}
-
-
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='' )
+ do_split_packages(d, plugindir, '^lib(.*)\.so$', 'pulseaudio-lib-%s', 'PulseAudio library for %s', extra_depends='' )
}