diff options
Diffstat (limited to 'meta/recipes-multimedia/pulseaudio/pulseaudio.inc')
-rw-r--r-- | meta/recipes-multimedia/pulseaudio/pulseaudio.inc | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc index b73576e38c..3569752974 100644 --- a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc +++ b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc | |||
@@ -5,14 +5,14 @@ SECTION = "libs/multimedia" | |||
5 | LICENSE = "GPLv2+ & LGPLv2.1" | 5 | LICENSE = "GPLv2+ & LGPLv2.1" |
6 | LIC_FILES_CHKSUM = "file://GPL;md5=4325afd396febcb659c36b49533135d4 \ | 6 | LIC_FILES_CHKSUM = "file://GPL;md5=4325afd396febcb659c36b49533135d4 \ |
7 | file://LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1 \ | 7 | file://LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1 \ |
8 | file://src/pulsecore/resampler.h;beginline=4;endline=23;md5=c3d539b93f8c82a1780bfa3cfa544a95" | 8 | file://src/pulsecore/resampler.h;beginline=4;endline=21;md5=09794012ae16912c0270f3280cc8ff84" |
9 | 9 | ||
10 | DEPENDS = "libatomics-ops liboil libsamplerate0 libsndfile1 libtool" | 10 | DEPENDS = "libatomics-ops liboil libsndfile1 libtool" |
11 | # optional | 11 | # optional |
12 | DEPENDS += "udev alsa-lib glib-2.0 dbus gconf" | 12 | DEPENDS += "udev alsa-lib glib-2.0 dbus gconf" |
13 | DEPENDS += "json-c gdbm speex libxml-parser-perl-native libcap" | 13 | DEPENDS += "json-c gdbm speex libxml-parser-perl-native libcap" |
14 | 14 | ||
15 | inherit autotools pkgconfig useradd gettext perlnative bluetooth | 15 | inherit autotools pkgconfig useradd gettext perlnative bluetooth systemd |
16 | 16 | ||
17 | # *.desktop rules wont be generated during configure and build will fail | 17 | # *.desktop rules wont be generated during configure and build will fail |
18 | # if using --disable-nls | 18 | # if using --disable-nls |
@@ -27,18 +27,20 @@ EXTRA_OECONF = "\ | |||
27 | --disable-xen \ | 27 | --disable-xen \ |
28 | --with-database=simple \ | 28 | --with-database=simple \ |
29 | --without-fftw \ | 29 | --without-fftw \ |
30 | --without-zsh-completion-dir \ | ||
30 | --with-udev-rules-dir=`pkg-config --variable=udevdir udev`/rules.d \ | 31 | --with-udev-rules-dir=`pkg-config --variable=udevdir udev`/rules.d \ |
31 | ac_cv_header_valgrind_memcheck_h=no \ | 32 | ac_cv_header_valgrind_memcheck_h=no \ |
32 | " | 33 | " |
33 | 34 | ||
34 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', '${BLUEZ}', '', d)} \ | 35 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', '${BLUEZ}', '', d)} \ |
35 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ | ||
36 | ${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)} \ | 36 | ${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)} \ |
37 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" | 37 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \ |
38 | ${@bb.utils.contains('DISTRO_FEATURES', '3g', 'ofono', '', d)}" | ||
38 | PACKAGECONFIG[bluez4] = "--enable-bluez4,--disable-bluez4,bluez4 sbc" | 39 | PACKAGECONFIG[bluez4] = "--enable-bluez4,--disable-bluez4,bluez4 sbc" |
39 | PACKAGECONFIG[bluez5] = "--enable-bluez5,--disable-bluez5,bluez5 sbc" | 40 | PACKAGECONFIG[bluez5] = "--enable-bluez5,--disable-bluez5,bluez5 sbc" |
41 | PACKAGECONFIG[ofono] = "--enable-bluez5-ofono-headset,--disable-bluez5-ofono-headset,ofono" | ||
40 | PACKAGECONFIG[gtk] = "--enable-gtk3,--disable-gtk3,gtk+3" | 42 | PACKAGECONFIG[gtk] = "--enable-gtk3,--disable-gtk3,gtk+3" |
41 | PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd" | 43 | PACKAGECONFIG[systemd] = "--enable-systemd-daemon --enable-systemd-login --enable-systemd-journal,--disable-systemd-daemon --disable-systemd-login --disable-systemd-journal,systemd" |
42 | PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 libxtst libice libsm libxcb" | 44 | PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 libxtst libice libsm libxcb" |
43 | PACKAGECONFIG[avahi] = "--enable-avahi,--disable-avahi,avahi" | 45 | PACKAGECONFIG[avahi] = "--enable-avahi,--disable-avahi,avahi" |
44 | PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack" | 46 | PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack" |
@@ -93,6 +95,10 @@ FILES_${PN}-dev += "${libdir}/pulse-${PV}/modules/*.la ${datadir}/vala ${libdir} | |||
93 | FILES_${PN}-conf = "${sysconfdir}" | 95 | FILES_${PN}-conf = "${sysconfdir}" |
94 | FILES_${PN}-bin += "${sysconfdir}/default/volatiles/volatiles.04_pulse" | 96 | FILES_${PN}-bin += "${sysconfdir}/default/volatiles/volatiles.04_pulse" |
95 | FILES_${PN}-server = "${bindir}/pulseaudio ${bindir}/start-* ${sysconfdir} ${bindir}/pactl */udev/rules.d/*.rules" | 97 | FILES_${PN}-server = "${bindir}/pulseaudio ${bindir}/start-* ${sysconfdir} ${bindir}/pactl */udev/rules.d/*.rules" |
98 | |||
99 | #SYSTEMD_PACKAGES = "${PN}-server" | ||
100 | SYSTEMD_SERVICE_${PN}-server = "pulseaudio.service" | ||
101 | |||
96 | FILES_${PN}-misc = "${bindir}/* ${libdir}/pulseaudio/libpulsedsp.so" | 102 | FILES_${PN}-misc = "${bindir}/* ${libdir}/pulseaudio/libpulsedsp.so" |
97 | 103 | ||
98 | # Allow the pulseaudio package to be created empty as a placeholder (-dbg and -dev depend on it) | 104 | # Allow the pulseaudio package to be created empty as a placeholder (-dbg and -dev depend on it) |