diff options
Diffstat (limited to 'meta/recipes-multimedia/pulseaudio/pulseaudio.inc')
-rw-r--r-- | meta/recipes-multimedia/pulseaudio/pulseaudio.inc | 64 |
1 files changed, 29 insertions, 35 deletions
diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc index 48759bca62..cf4be7ed40 100644 --- a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc +++ b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc | |||
@@ -56,49 +56,47 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0e5cd938de1a7a53ea5adac38cc10c39 \ | |||
56 | file://src/pulsecore/filter/biquad.h;beginline=1;endline=4;md5=6d46d1365206528a20137355924233c1 \ | 56 | file://src/pulsecore/filter/biquad.h;beginline=1;endline=4;md5=6d46d1365206528a20137355924233c1 \ |
57 | " | 57 | " |
58 | 58 | ||
59 | # libtool is needed for libltdl, used in module loading. | ||
59 | DEPENDS = "libatomic-ops libsndfile1 libtool" | 60 | DEPENDS = "libatomic-ops libsndfile1 libtool" |
60 | # optional | 61 | # optional |
61 | DEPENDS += "udev alsa-lib glib-2.0" | 62 | DEPENDS += "udev alsa-lib glib-2.0" |
62 | DEPENDS += "speexdsp libxml-parser-perl-native libcap" | 63 | DEPENDS += "speexdsp libxml-parser-perl-native libcap" |
63 | 64 | ||
64 | inherit autotools bash-completion pkgconfig useradd gettext perlnative systemd manpages gsettings | 65 | inherit bash-completion meson pkgconfig useradd gettext perlnative systemd manpages gsettings |
65 | 66 | ||
66 | # *.desktop rules wont be generated during configure and build will fail | 67 | # *.desktop rules wont be generated during configure and build will fail |
67 | # if using --disable-nls | 68 | # if using --disable-nls |
68 | USE_NLS = "yes" | 69 | USE_NLS = "yes" |
69 | 70 | ||
70 | EXTRA_OECONF = "\ | 71 | EXTRA_OEMESON = "\ |
71 | --disable-hal-compat \ | 72 | -Dhal-compat=false \ |
72 | --disable-orc \ | 73 | -Dorc=disabled \ |
73 | --enable-tcpwrap=no \ | 74 | -Daccess_group=audio \ |
74 | --with-access-group=audio \ | 75 | -Dopenssl=disabled \ |
75 | --disable-openssl \ | 76 | -Ddatabase=simple \ |
76 | --with-database=simple \ | 77 | -Dzshcompletiondir=no \ |
77 | --without-zsh-completion-dir \ | 78 | -Dudevrulesdir=`pkg-config --variable=udevdir udev`/rules.d \ |
78 | --with-udev-rules-dir=`pkg-config --variable=udevdir udev`/rules.d \ | 79 | -Dvalgrind=disabled \ |
79 | ac_cv_header_valgrind_memcheck_h=no \ | 80 | -Dtests=false \ |
80 | --disable-tests \ | 81 | -Drunning-from-build-tree=false \ |
81 | --disable-running-from-build-tree \ | ||
82 | --disable-esound \ | ||
83 | --disable-gconf \ | ||
84 | " | 82 | " |
85 | 83 | ||
86 | # soxr (the SoX Resampler library) doesn't seem to be currently packaged in | 84 | # soxr (the SoX Resampler library) doesn't seem to be currently packaged in |
87 | # oe-core nor meta-oe, so let's not add a PACKAGECONFIG entry for it for now. | 85 | # oe-core nor meta-oe, so let's not add a PACKAGECONFIG entry for it for now. |
88 | EXTRA_OECONF += "--without-soxr" | 86 | EXTRA_OEMESON += "-Dsoxr=disabled" |
89 | 87 | ||
90 | # The FFTW dependency (for module-equalizer-sink) was removed in commit | 88 | # The FFTW dependency (for module-equalizer-sink) was removed in commit |
91 | # ddbd713293 without explaining why it was not made a PACKAGECONFIG item | 89 | # ddbd713293 without explaining why it was not made a PACKAGECONFIG item |
92 | # instead. Oh well, let's keep it disabled until someone expresses some | 90 | # instead. Oh well, let's keep it disabled until someone expresses some |
93 | # interest in having it enabled. | 91 | # interest in having it enabled. |
94 | EXTRA_OECONF += "--without-fftw" | 92 | EXTRA_OEMESON += "-Dfftw=disabled" |
95 | 93 | ||
96 | # The "adrian" echo canceller implementation has a non-standard license | 94 | # The "adrian" echo canceller implementation has a non-standard license |
97 | # (src/modules/echo-cancel/adrian-license.txt). It's a permissive license, so | 95 | # (src/modules/echo-cancel/adrian-license.txt). It's a permissive license, so |
98 | # the licensing terms are probably not problematic, but it would be an extra | 96 | # the licensing terms are probably not problematic, but it would be an extra |
99 | # hassle to add the license to OE-Core's set of licenses. The canceller isn't | 97 | # hassle to add the license to OE-Core's set of licenses. The canceller isn't |
100 | # very good anyway, better alternatives exist (such as the webrtc canceller). | 98 | # very good anyway, better alternatives exist (such as the webrtc canceller). |
101 | EXTRA_OECONF += "--disable-adrian-aec" | 99 | EXTRA_OEMESON += "-Dadrian-aec=false" |
102 | 100 | ||
103 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez5', '', d)} \ | 101 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez5', '', d)} \ |
104 | ${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)} \ | 102 | ${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)} \ |
@@ -107,26 +105,22 @@ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez5' | |||
107 | dbus gsettings \ | 105 | dbus gsettings \ |
108 | " | 106 | " |
109 | 107 | ||
110 | PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus" | 108 | PACKAGECONFIG[dbus] = "-Ddbus=enabled,-Ddbus=disabled,dbus" |
111 | PACKAGECONFIG[bluez5] = "--enable-bluez5,--disable-bluez5,bluez5 sbc" | 109 | PACKAGECONFIG[bluez5] = "-Dbluez5=true,-Dbluez5=false,bluez5 sbc" |
112 | PACKAGECONFIG[gsettings] = "--enable-gsettings,--disable-gsettings,glib-2.0-native glib-2.0" | 110 | PACKAGECONFIG[gsettings] = "-Dgsettings=enabled,-Dgsettings=disabled,glib-2.0-native glib-2.0" |
113 | PACKAGECONFIG[ofono] = "--enable-bluez5-ofono-headset,--disable-bluez5-ofono-headset,ofono" | 111 | PACKAGECONFIG[ofono] = "-Dbluez5-ofono-headset=true,-Dbluez5-ofono-headset=false,ofono" |
114 | PACKAGECONFIG[gtk] = "--enable-gtk3,--disable-gtk3,gtk+3" | 112 | PACKAGECONFIG[gtk] = "-Dgtk=enabled,-Dgtk=disabled,gtk+3" |
115 | PACKAGECONFIG[systemd] = "--enable-systemd-daemon --enable-systemd-login --enable-systemd-journal --with-systemduserunitdir=${systemd_user_unitdir},--disable-systemd-daemon --disable-systemd-login --disable-systemd-journal,systemd" | 113 | PACKAGECONFIG[systemd] = "-Dsystemd=enabled -Dsystemduserunitdir=${systemd_user_unitdir},-Dsystemd=disabled,systemd" |
116 | PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 libxtst libice libsm libxcb" | 114 | PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,virtual/libx11 libxtst libice libsm libxcb" |
117 | PACKAGECONFIG[avahi] = "--enable-avahi,--disable-avahi,avahi" | 115 | PACKAGECONFIG[avahi] = "-Davahi=enabled,-Davahi=disabled,avahi" |
118 | PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack" | 116 | PACKAGECONFIG[jack] = "-Djack=enabled,-Djack=disabled,jack" |
119 | # Since many embedded systems don't have non-root users, it's useful to be | 117 | # Since many embedded systems don't have non-root users, it's useful to be |
120 | # able to use pulseaudio autospawn for root as well. | 118 | # able to use pulseaudio autospawn for root as well. |
121 | PACKAGECONFIG[autospawn-for-root] = ",,," | 119 | PACKAGECONFIG[autospawn-for-root] = ",,," |
122 | PACKAGECONFIG[lirc] = "--enable-lirc,--disable-lirc,lirc" | 120 | PACKAGECONFIG[lirc] = "-Dlirc=enabled,-Dlirc=disabled,lirc" |
123 | PACKAGECONFIG[webrtc] = "--enable-webrtc-aec,--disable-webrtc-aec,webrtc-audio-processing" | 121 | PACKAGECONFIG[webrtc] = "-Dwebrtc-aec=enabled,-Dwebrtc-aec=disabled,webrtc-audio-processing" |
124 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | 122 | PACKAGECONFIG[ipv6] = "-Dipv6=true,-Dipv6=false," |
125 | PACKAGECONFIG[manpages] = "--enable-manpages, --disable-manpages, " | 123 | PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false," |
126 | |||
127 | EXTRA_OECONF_append_arm = "${@bb.utils.contains("TUNE_FEATURES", "neon", "", " --enable-neon-opt=no", d)}" | ||
128 | EXTRA_OECONF_append_armeb = "${@bb.utils.contains("TUNE_FEATURES", "neon", "", " --enable-neon-opt=no", d)}" | ||
129 | |||
130 | 124 | ||
131 | export TARGET_PFPU = "${TARGET_FPU}" | 125 | export TARGET_PFPU = "${TARGET_FPU}" |
132 | 126 | ||