blob: 2173aef96983bcaf003d4ce2aa9ec5a9709cbf6b (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
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"
PROVIDES = "esound"
RPROVIDES = "esound"
PR = "r2"
SRC_URI = "http://0pointer.de/lennart/projects/pulseaudio/pulseaudio-${PV}.tar.gz"
inherit autotools pkgconfig
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}/*"
CONFFILES_${PN}-conf = "\
${sysconfdir}/pulse/default.pa \
${sysconfdir}/pulse/daemon.conf \
${sysconfdir}/pulse/client.conf \
"
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='' )
}
|