| 52 |
52 |
PIPEWIRE_DOCS_USEFLAG="man"
|
| 53 |
53 |
fi
|
| 54 |
54 |
|
| 55 |
|
KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
|
|
55 |
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
| 56 |
56 |
fi
|
| 57 |
57 |
|
| 58 |
58 |
DESCRIPTION="Multimedia processing graphs"
|
| 59 |
59 |
HOMEPAGE="https://pipewire.org/"
|
| 60 |
|
SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-1.4.7-0001-don-t-include-standard-C-headers-inside-of-extern-C.patch.xz"
|
| 61 |
60 |
|
| 62 |
61 |
LICENSE="MIT LGPL-2.1+ GPL-2"
|
| 63 |
62 |
# ABI was broken in 0.3.42 for https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/49
|
| 64 |
63 |
SLOT="0/0.4"
|
| 65 |
64 |
IUSE="${PIPEWIRE_DOCS_USEFLAG} bluetooth elogind dbus doc echo-cancel extra ffmpeg fftw flatpak gstreamer gsettings"
|
| 66 |
|
IUSE+=" ieee1394 jack-client jack-sdk libcamera liblc3 loudness lv2 modemmanager pipewire-alsa readline roc selinux"
|
|
65 |
IUSE+=" ieee1394 jack-client jack-sdk libcamera loudness lv2 modemmanager pipewire-alsa readline roc selinux"
|
| 67 |
66 |
IUSE+=" pulseaudio sound-server ssl system-service systemd test v4l X zeroconf"
|
| 68 |
67 |
|
| 69 |
68 |
# Once replacing system JACK libraries is possible, it's likely that
|
| ... | ... | |
| 123 |
122 |
bluetooth? (
|
| 124 |
123 |
dev-libs/glib
|
| 125 |
124 |
media-libs/fdk-aac
|
|
125 |
media-sound/liblc3
|
| 126 |
126 |
media-libs/libldac
|
| 127 |
127 |
media-libs/libfreeaptx
|
| 128 |
128 |
media-libs/opus
|
| ... | ... | |
| 156 |
156 |
!media-sound/jack2
|
| 157 |
157 |
)
|
| 158 |
158 |
libcamera? ( media-libs/libcamera:= )
|
| 159 |
|
liblc3? ( media-sound/liblc3 )
|
| 160 |
159 |
loudness? ( media-libs/libebur128:=[${MULTILIB_USEDEP}] )
|
| 161 |
160 |
lv2? ( media-libs/lilv )
|
| 162 |
161 |
modemmanager? ( >=net-misc/modemmanager-1.10.0 )
|
| ... | ... | |
| 193 |
192 |
|
| 194 |
193 |
PATCHES=(
|
| 195 |
194 |
"${FILESDIR}"/${PN}-0.3.25-enable-failed-mlock-warning.patch
|
| 196 |
|
"${FILESDIR}"/${PN}-1.4.6-no-automagic-ebur128.patch
|
| 197 |
|
"${FILESDIR}"/${PN}-1.4.6-no-automagic-fftw.patch
|
| 198 |
|
"${WORKDIR}"/${PN}-1.4.7-0001-don-t-include-standard-C-headers-inside-of-extern-C.patch
|
| 199 |
195 |
)
|
| 200 |
196 |
|
| 201 |
197 |
pkg_setup() {
|
| ... | ... | |
| 237 |
233 |
$(meson_native_use_feature gstreamer)
|
| 238 |
234 |
$(meson_native_use_feature gstreamer gstreamer-device-provider)
|
| 239 |
235 |
$(meson_native_use_feature gsettings)
|
| 240 |
|
$(meson_native_use_feature systemd)
|
|
236 |
$(meson_native_use_feature systemd libsystemd)
|
| 241 |
237 |
-Dlogind=${logind}
|
| 242 |
238 |
-Dlogind-provider=$(usex systemd 'libsystemd' 'libelogind')
|
| 243 |
239 |
|
| ... | ... | |
| 262 |
258 |
$(meson_native_use_feature bluetooth bluez5-backend-hsphfpd)
|
| 263 |
259 |
$(meson_native_use_feature bluetooth bluez5-codec-aac)
|
| 264 |
260 |
$(meson_native_use_feature bluetooth bluez5-codec-aptx)
|
|
261 |
$(meson_native_use_feature bluetooth bluez5-codec-lc3)
|
| 265 |
262 |
$(meson_native_use_feature bluetooth bluez5-codec-ldac)
|
| 266 |
263 |
$(meson_native_use_feature bluetooth bluez5-codec-g722)
|
| 267 |
264 |
$(meson_native_use_feature bluetooth opus)
|
| ... | ... | |
| 281 |
278 |
-Devl=disabled # Matches upstream
|
| 282 |
279 |
-Dtest=disabled # fakesink and fakesource plugins
|
| 283 |
280 |
-Dbluez5-codec-lc3plus=disabled # unpackaged
|
| 284 |
|
$(meson_native_use_feature liblc3 bluez5-codec-lc3)
|
| 285 |
281 |
$(meson_feature loudness ebur128)
|
| 286 |
282 |
$(meson_feature fftw)
|
| 287 |
283 |
$(meson_native_use_feature lv2)
|
| ... | ... | |
| 316 |
312 |
|
| 317 |
313 |
# TODO
|
| 318 |
314 |
-Dsnap=disabled
|
|
315 |
-Donnxruntime=disabled
|
|
316 |
-Dbluez5-plc-spandsp=disabled
|
|
317 |
-Dbluez5-codec-ldac-dec=disabled
|
| 319 |
318 |
)
|
| 320 |
319 |
|
| 321 |
320 |
# This installs the schema file for pulseaudio-daemon, iff we are replacing
|