1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="Multimedia (audio, video, radio, camera) library for the Qt5 framework"
9 if [[ ${QT5_BUILD_TYPE} == release ]]; then
10 KEYWORDS="amd64 arm ~arm64 ~hppa ~ppc ppc64 ~sparc ~x86"
13 IUSE="alsa gles2-only gstreamer openal pulseaudio qml widgets"
17 ~dev-qt/qtgui-${PV}[gles2-only=]
18 ~dev-qt/qtnetwork-${PV}
19 alsa? ( media-libs/alsa-lib )
22 media-libs/gstreamer:1.0
23 media-libs/gst-plugins-bad:1.0
24 media-libs/gst-plugins-base:1.0
26 pulseaudio? ( media-sound/pulseaudio[glib] )
28 ~dev-qt/qtdeclarative-${PV}
29 gles2-only? ( ~dev-qt/qtgui-${PV}[egl] )
30 openal? ( media-libs/openal )
33 ~dev-qt/qtopengl-${PV}
34 ~dev-qt/qtwidgets-${PV}[gles2-only=]
38 gstreamer? ( x11-base/xorg-proto )
42 sed -i -e '/CONFIG\s*+=/ s/optimize_full//' \
43 src/multimedia/multimedia.pro || die
45 qt_use_disable_config openal openal \
46 src/imports/imports.pro
48 qt_use_disable_mod qml quick \
50 src/plugins/plugins.pro
52 qt_use_disable_mod widgets widgets \
54 src/gsttools/gsttools.pro \
55 src/plugins/gstreamer/common.pri
67 qt5-build_src_configure