mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
a25eafc3bc
Very big thanks go again to kai@ who provided the www/qt5-webengine upgrade (to 5.14.0). Notably, video capture support was re-enabled. Announcement: https://www.qt.io/blog/qt-5.14-has-released PR: 244964 Exp-run by: antoine
63 lines
1.9 KiB
Makefile
63 lines
1.9 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= multimedia
|
|
DISTVERSION= ${QT5_VERSION}
|
|
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 pkgconfig qmake:norecursive \
|
|
qt-dist:5,multimedia xorg
|
|
USE_GL= gl
|
|
USE_GNOME= glib20
|
|
USE_QT= core declarative gui network opengl widgets \
|
|
buildtools_build
|
|
USE_XORG= x11 xext xv
|
|
USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL}
|
|
|
|
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_RADIO= AUDIOPLUGIN
|
|
OPTIONS_RADIO_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_USE= GSTREAMER1=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>
|