blob: 8556d26cfdd272fb4b80494f515e97f60c5174ff (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
PORTNAME= multimedia
DISTVERSION= ${QT6_VERSION}
CATEGORIES= multimedia
PKGNAMEPREFIX= qt6-
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt audio, video, radio and camera support module
BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers
LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon
USES= cmake compiler:c++17-lang gl localbase:ldflags pkgconfig qt-dist:6
USE_GL= opengl
USE_QT= base declarative shadertools:build
CFLAGS_powerpc= -DPFFFT_SIMD_DISABLE
CXXFLAGS_powerpc64= -mvsx
OPTIONS_DEFINE= FFMPEG GSTREAMER Q3D V4L VAAPI X11
OPTIONS_DEFAULT= FFMPEG GSTREAMER PULSEAUDIO Q3D V4L VAAPI X11
AUDIO_DESC= Low-level audio backend
OPTIONS_SINGLE= AUDIO
OPTIONS_SINGLE_AUDIO= ALSA PULSEAUDIO
OPTIONS_SUB= yes
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
ALSA_CMAKE_BOOL= FEATURE_alsa
FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
FFMPEG_CMAKE_BOOL= FEATURE_ffmpeg
GSTREAMER_USES= gnome gstreamer:1
GSTREAMER_USE= GL=egl GNOME=glib20 GSTREAMER=bad,gl,good,ugly
GSTREAMER_CMAKE_BOOL= FEATURE_gstreamer \
FEATURE_gstreamer_1_0 \
FEATURE_gstreamer_app \
FEATURE_gstreamer_gl \
FEATURE_gstreamer_photography
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
PULSEAUDIO_CMAKE_BOOL= FEATURE_pulseaudio
Q3D_DESC= Spatial audio support via QtQuick3D
Q3D_USE= QT=quick3d,shadertools
Q3D_CMAKE_BOOL= FEATURE_spatialaudio_quick3d
V4L_BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat
V4L_CMAKE_BOOL= FEATURE_linux_v4l
V4L_IMPLIES= ${"${PORT_OPTIONS:MFFMPEG}":?FFMPEG:GSTREAMER}
VAAPI_LIB_DEPENDS= libva.so:multimedia/libva
VAAPI_USE= GL=egl
VAAPI_CMAKE_BOOL= FEATURE_vaapi
VAAPI_IMPLIES= FFMPEG
# We assume that the Qt stack has been built with consistent X11 options.
# QT_FEATURE_xlib is defined globally by devel/qt6-base based upon whether
# the X11 option was enabled in that port.
X11_USES= xorg
X11_USE= XORG=x11,xext,xrandr
X11_IMPLIES= FFMPEG
.include <bsd.port.mk>
|