freebsd-ports/multimedia/qt5-multimedia/Makefile
Jason E. Hale 2a5c778173 Qt5: Update to 5.15.10
Update devel/qt5-script* and www/qt5-webengine to 5.15.15-lts
Update devel/pyside2* and devel/shiboken2 to 5.15.10

Release note: https://code.qt.io/cgit/qt/qtreleasenotes.git/about/qt/5.15.10/release-note.md

PR:		273934
Exp-run by:	antoine
2023-09-25 11:35:16 -04:00

62 lines
1.9 KiB
Makefile

PORTNAME= multimedia
PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH}
CATEGORIES= multimedia
PKGNAMEPREFIX= qt5-
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt audio, video, radio and camera support module
# LICENSE set via USES_QT5 (bsd.qt.mk)
USES= compiler:c++11-lang gl gnome perl5 pkgconfig qmake:norecursive \
qt-dist:5,multimedia xorg
USE_GL= gl
USE_GNOME= glib20
USE_PERL5= build
USE_QT= core declarative gui network opengl widgets \
buildtools:build
USE_XORG= x11 xext xv
QT_CONFIG= xlib
# TODO: Bug 225100: the machinery in bsd.qt.mk's qt-post-install target does
# not seem to account for the case of a module no longer defining QT_DEFINES:
# the lines in qconfig-modules.h including said module's qconfig-<module>.h
# will remain. We're setting it below to avoid build errors, but this needs to
# be fixed properly later.
QT_DEFINES= _QTMULTIMEDIA_DUMMY
OPTIONS_DEFINE= GSTREAMER OPENAL
OPTIONS_DEFAULT= ALSA GSTREAMER OPENAL
OPTIONS_GROUP= AUDIOPLUGIN
OPTIONS_GROUP_AUDIOPLUGIN= ALSA PULSEAUDIO
OPTIONS_SUB= yes
AUDIOPLUGIN_DESC= Audio plugins to build
OPENAL_DESC= 3D positional spatialized sound support
OPENAL_USES= openal
OPENAL_VARS= QT_CONFIG+=openal
OPENAL_VARS_OFF= QT_CONFIG+=-openal \
QMAKE_CONFIGURE_ARGS+=-no-openal
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
ALSA_VARS= QT_CONFIG+=alsa
ALSA_VARS_OFF= QT_CONFIG+=-alsa \
QMAKE_CONFIGURE_ARGS+=-no-alsa
GSTREAMER_BUILD_DEPENDS=${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat
GSTREAMER_USES= gstreamer
GSTREAMER_USE= GSTREAMER=bad
GSTREAMER_VARS= QT_CONFIG+=gstreamer-1.0 \
QMAKE_CONFIGURE_ARGS+=-gstreamer 1.0
GSTREAMER_VARS_OFF= QT_CONFIG+=-gstreamer-1.0 \
QMAKE_CONFIGURE_ARGS+=-no-gstreamer
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
PULSEAUDIO_VARS= QT_CONFIG+=pulseaudio
PULSEAUDIO_VARS_OFF= QT_CONFIG+=-pulseaudio \
QMAKE_CONFIGURE_ARGS+=-no-pulseaudio
.include <bsd.port.mk>