diff options
-rw-r--r-- | meta/recipes-multimedia/alsa/alsa-plugins_1.0.29.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-plugins_1.0.29.bb b/meta/recipes-multimedia/alsa/alsa-plugins_1.0.29.bb index 5105e778953..80f04464823 100644 --- a/meta/recipes-multimedia/alsa/alsa-plugins_1.0.29.bb +++ b/meta/recipes-multimedia/alsa/alsa-plugins_1.0.29.bb @@ -50,7 +50,9 @@ do_install_append() { rm ${D}${libdir}/alsa-lib/*.la # We use the example as is, so just drop the .example suffix. - mv ${D}${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf.example ${D}${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf + if [ "${@bb.utils.contains('PACKAGECONFIG', 'pulseaudio', 'yes', 'no', d)}" = "yes" ]; then + mv ${D}${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf.example ${D}${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf + fi } python populate_packages_prepend() { |