diff options
author | Carlos Rafael Giani <crg7475@mailbox.org> | 2023-06-24 15:27:14 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-06-24 09:01:53 -0700 |
commit | 3f1cbeb61512f2423df527e5e4eb476ac763dcb6 (patch) | |
tree | 67db825cb95e52dc24d21533b5023936e08a008e | |
parent | 8431c01ae9239c1b808d2785adb0adf01b7846b1 (diff) | |
download | meta-openembedded-3f1cbeb61512f2423df527e5e4eb476ac763dcb6.tar.gz |
pipewire: Improve packageconfigs
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.71.bb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.71.bb b/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.71.bb index 051776cce..414ae3ea8 100644 --- a/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.71.bb +++ b/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.71.bb | |||
@@ -88,7 +88,7 @@ PACKAGECONFIG:class-target ??= " \ | |||
88 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd systemd-system-service systemd-user-service', '', d)} \ | 88 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd systemd-system-service systemd-user-service', '', d)} \ |
89 | ${@bb.utils.filter('DISTRO_FEATURES', 'alsa vulkan pulseaudio', d)} \ | 89 | ${@bb.utils.filter('DISTRO_FEATURES', 'alsa vulkan pulseaudio', d)} \ |
90 | ${PIPEWIRE_SESSION_MANAGER} \ | 90 | ${PIPEWIRE_SESSION_MANAGER} \ |
91 | ${FFMPEG_AVAILABLE} avahi flatpak gstreamer gsettings jack libusb pw-cat raop sndfile v4l2 udev volume webrtc-echo-cancelling libcamera \ | 91 | ${FFMPEG_AVAILABLE} avahi flatpak gstreamer gsettings jack libusb pw-cat raop sndfile v4l2 udev volume webrtc-echo-cancelling libcamera readline \ |
92 | " | 92 | " |
93 | 93 | ||
94 | # "jack" and "pipewire-jack" packageconfigs cannot be both enabled, | 94 | # "jack" and "pipewire-jack" packageconfigs cannot be both enabled, |
@@ -101,6 +101,10 @@ PACKAGECONFIG[avahi] = "-Davahi=enabled,-Davahi=disabled,avahi" | |||
101 | PACKAGECONFIG[bluez] = "-Dbluez5=enabled,-Dbluez5=disabled,bluez5 sbc" | 101 | PACKAGECONFIG[bluez] = "-Dbluez5=enabled,-Dbluez5=disabled,bluez5 sbc" |
102 | PACKAGECONFIG[bluez-aac] = "-Dbluez5-codec-aac=enabled,-Dbluez5-codec-aac=disabled,fdk-aac" | 102 | PACKAGECONFIG[bluez-aac] = "-Dbluez5-codec-aac=enabled,-Dbluez5-codec-aac=disabled,fdk-aac" |
103 | PACKAGECONFIG[bluez-opus] = "-Dbluez5-codec-opus=enabled,-Dbluez5-codec-opus=disabled,libopus" | 103 | PACKAGECONFIG[bluez-opus] = "-Dbluez5-codec-opus=enabled,-Dbluez5-codec-opus=disabled,libopus" |
104 | # From the pipewire git log: | ||
105 | # "Some Linux phones doesn't use oFono but ModemManager to control the modem." | ||
106 | # This packageconfig enables modemmanager specific code in the BlueZ backend. | ||
107 | PACKAGECONFIG[bluez-backend-native-mm] = "-Dbluez5-backend-native-mm=enabled,-Dbluez5-backend-native-mm=disabled,modemmanager" | ||
104 | PACKAGECONFIG[docs] = "-Ddocs=enabled,-Ddocs=disabled,doxygen-native graphviz-native" | 108 | PACKAGECONFIG[docs] = "-Ddocs=enabled,-Ddocs=disabled,doxygen-native graphviz-native" |
105 | PACKAGECONFIG[ffmpeg] = "-Dffmpeg=enabled,-Dffmpeg=disabled,ffmpeg" | 109 | PACKAGECONFIG[ffmpeg] = "-Dffmpeg=enabled,-Dffmpeg=disabled,ffmpeg" |
106 | PACKAGECONFIG[flatpak] = "-Dflatpak=enabled,-Dflatpak=disabled,glib-2.0" | 110 | PACKAGECONFIG[flatpak] = "-Dflatpak=enabled,-Dflatpak=disabled,glib-2.0" |
@@ -116,6 +120,9 @@ PACKAGECONFIG[pipewire-alsa] = "-Dpipewire-alsa=enabled,-Dpipewire-alsa=disabled | |||
116 | PACKAGECONFIG[pipewire-jack] = "-Dpipewire-jack=enabled -Dlibjack-path=${libdir}/${PW_MODULE_SUBDIR}/jack,-Dpipewire-jack=disabled,jack,,pipewire-jack,jack" | 120 | PACKAGECONFIG[pipewire-jack] = "-Dpipewire-jack=enabled -Dlibjack-path=${libdir}/${PW_MODULE_SUBDIR}/jack,-Dpipewire-jack=disabled,jack,,pipewire-jack,jack" |
117 | PACKAGECONFIG[pw-cat] = "-Dpw-cat=enabled,-Dpw-cat=disabled" | 121 | PACKAGECONFIG[pw-cat] = "-Dpw-cat=enabled,-Dpw-cat=disabled" |
118 | PACKAGECONFIG[raop] = "-Draop=enabled,-Draop=disabled,openssl" | 122 | PACKAGECONFIG[raop] = "-Draop=enabled,-Draop=disabled,openssl" |
123 | # Starting with version 0.3.60, readline usage can be turned off in pw-cli. | ||
124 | # If it is disabled, getline() is used as a fallback. | ||
125 | PACKAGECONFIG[readline] = "-Dreadline=enabled,-Dreadline=disabled,readline" | ||
119 | PACKAGECONFIG[sdl2] = "-Dsdl2=enabled,-Dsdl2=disabled,libsdl2" | 126 | PACKAGECONFIG[sdl2] = "-Dsdl2=enabled,-Dsdl2=disabled,libsdl2" |
120 | PACKAGECONFIG[sndfile] = "-Dsndfile=enabled,-Dsndfile=disabled,libsndfile1" | 127 | PACKAGECONFIG[sndfile] = "-Dsndfile=enabled,-Dsndfile=disabled,libsndfile1" |
121 | PACKAGECONFIG[systemd] = "-Dsystemd=enabled,-Dsystemd=disabled,systemd" | 128 | PACKAGECONFIG[systemd] = "-Dsystemd=enabled,-Dsystemd=disabled,systemd" |