diff --git a/accessibility/qt6-speech/Makefile b/accessibility/qt6-speech/Makefile index df0b8bde11e3..7d2d11bee0c9 100644 --- a/accessibility/qt6-speech/Makefile +++ b/accessibility/qt6-speech/Makefile @@ -1,33 +1,35 @@ PORTNAME= speech DISTVERSION= ${QT6_VERSION} +PORTREVISION= 1 CATEGORIES= accessibility PKGNAMEPREFIX= qt6- MAINTAINER= kde@FreeBSD.org COMMENT= Accessibilty features for Qt6 USES= cmake compiler:c++17-lang gl pkgconfig qt-dist:6 USE_GL= opengl USE_QT= base declarative multimedia +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} OPTIONS_DEFINE= ALSA OPTIONS_DEFAULT= SPEECHD OPTIONS_GROUP= BACKEND OPTIONS_GROUP_BACKEND= SPEECHD FLITE OPTIONS_SUB= yes FLITE_DESC= Festival Lite Backend SPEECHD_DESC= Speech Dispatcher Backend ALSA_IMPLIES= FLITE ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_ALSA FLITE_LIB_DEPENDS= libflite.so:audio/flite FLITE_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Flite SPEECHD_LIB_DEPENDS= libspeechd.so:accessibility/speech-dispatcher SPEECHD_USES= gettext-runtime gnome SPEECHD_USE= GNOME=glib20 SPEECHD_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_SpechDispatcher .include diff --git a/comms/qt6-connectivity/Makefile b/comms/qt6-connectivity/Makefile index 5ea80f101bee..9e2b0b56b604 100644 --- a/comms/qt6-connectivity/Makefile +++ b/comms/qt6-connectivity/Makefile @@ -1,15 +1,17 @@ PORTNAME= connectivity DISTVERSION= ${QT6_VERSION} +PORTREVISION= 1 CATEGORIES= comms PKGNAMEPREFIX= qt6- MAINTAINER= kde@FreeBSD.org COMMENT= Qt connectivity (Bluetooth/NFC) module BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers LIB_DEPENDS= libpcsclite.so:devel/pcsc-lite USES= cmake compiler:c++11-lang pkgconfig qt-dist:6,connectivity USE_QT= base +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include diff --git a/comms/qt6-sensors/Makefile b/comms/qt6-sensors/Makefile index 61b8e7f7ae23..601eaec358d0 100644 --- a/comms/qt6-sensors/Makefile +++ b/comms/qt6-sensors/Makefile @@ -1,14 +1,16 @@ PORTNAME= sensors DISTVERSION= ${QT6_VERSION} +PORTREVISION= 1 CATEGORIES= comms PKGNAMEPREFIX= qt6- MAINTAINER= kde@FreeBSD.org COMMENT= Qt sensors module BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers USES= cmake compiler:c++17-lang pkgconfig qt-dist:6 USE_QT= base declarative +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include diff --git a/comms/qt6-serialbus/Makefile b/comms/qt6-serialbus/Makefile index cf5551a70f96..9a4d0c8cc94f 100644 --- a/comms/qt6-serialbus/Makefile +++ b/comms/qt6-serialbus/Makefile @@ -1,14 +1,16 @@ PORTNAME= serialbus DISTVERSION= ${QT6_VERSION} +PORTREVISION= 1 CATEGORIES= comms PKGNAMEPREFIX= qt6- MAINTAINER= kde@FreeBSD.org COMMENT= Qt functions to access industrial bus systems BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers USES= cmake compiler:c++17-lang qt-dist:6 USE_QT= base serialport +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include diff --git a/comms/qt6-serialport/Makefile b/comms/qt6-serialport/Makefile index 111c23acc4b1..18ddff66ccd3 100644 --- a/comms/qt6-serialport/Makefile +++ b/comms/qt6-serialport/Makefile @@ -1,15 +1,17 @@ PORTNAME= serialport DISTVERSION= ${QT6_VERSION} +PORTREVISION= 1 CATEGORIES= comms PKGNAMEPREFIX= qt6- MAINTAINER= kde@FreeBSD.org COMMENT= Qt functions to access serial ports BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers LIB_DEPENDS= libudev.so:devel/libudev-devd USES= cmake compiler:c++17-lang pkgconfig qt-dist:6 USE_QT= base +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include diff --git a/devel/qt6-grpc/Makefile b/devel/qt6-grpc/Makefile index 8afd878ac160..092ca61b2f0d 100644 --- a/devel/qt6-grpc/Makefile +++ b/devel/qt6-grpc/Makefile @@ -1,17 +1,18 @@ PORTNAME= grpc DISTVERSION= ${QT6_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel PKGNAMEPREFIX= qt6- MAINTAINER= kde@FreeBSD.org COMMENT= Qt 6 gRPC module LIB_DEPENDS= libabsl_base.so:devel/abseil \ libprotobuf.so:devel/protobuf USES= cmake compiler:c++17-lang gl pkgconfig qt-dist:6 USE_GL= opengl USE_QT= base declarative +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include diff --git a/devel/qt6-location/Makefile b/devel/qt6-location/Makefile index 7754c53784d2..d740988f1373 100644 --- a/devel/qt6-location/Makefile +++ b/devel/qt6-location/Makefile @@ -1,16 +1,18 @@ PORTNAME= location DISTVERSION= ${QT6_VERSION} +PORTREVISION= 1 CATEGORIES= devel PKGNAMEPREFIX= qt6- MAINTAINER= kde@FreeBSD.org COMMENT= Qt 6 API to create viable mapping solutions BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon USES= cmake compiler:c++17-lang gl pkgconfig qt-dist:6 USE_GL= opengl USE_QT= base declarative positioning shadertools +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include diff --git a/devel/qt6-positioning/Makefile b/devel/qt6-positioning/Makefile index 714fb0c005a5..c28742f0871d 100644 --- a/devel/qt6-positioning/Makefile +++ b/devel/qt6-positioning/Makefile @@ -1,16 +1,18 @@ PORTNAME= positioning DISTVERSION= ${QT6_VERSION} +PORTREVISION= 1 CATEGORIES= devel PKGNAMEPREFIX= qt6- MAINTAINER= kde@FreeBSD.org COMMENT= Qt 6 API to provide positioning information via QML and C++ BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon USES= cmake compiler:c++17-lang gl pkgconfig qt-dist:6 USE_GL= opengl USE_QT= base declarative serialport +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include diff --git a/devel/qt6-remoteobjects/Makefile b/devel/qt6-remoteobjects/Makefile index fe9684b8f7b9..771d578a8c1b 100644 --- a/devel/qt6-remoteobjects/Makefile +++ b/devel/qt6-remoteobjects/Makefile @@ -1,15 +1,17 @@ PORTNAME= remoteobjects DISTVERSION= ${QT6_VERSION} +PORTREVISION= 1 CATEGORIES= devel PKGNAMEPREFIX= qt6- MAINTAINER= kde@FreeBSD.org COMMENT= Qt6 Remote Objects module BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers USES= cmake compiler:c++17-lang gl pkgconfig qt-dist:6 USE_GL= opengl USE_QT= base declarative +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include diff --git a/devel/qt6-scxml/Makefile b/devel/qt6-scxml/Makefile index 74d5c4cd01b9..0d9bbcaa61a3 100644 --- a/devel/qt6-scxml/Makefile +++ b/devel/qt6-scxml/Makefile @@ -1,16 +1,18 @@ PORTNAME= scxml DISTVERSION= ${QT6_VERSION} +PORTREVISION= 1 CATEGORIES= devel PKGNAMEPREFIX= qt6- MAINTAINER= kde@FreeBSD.org COMMENT= Qt6 SCXML module BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon USES= cmake compiler:c++17-lang gl pkgconfig qt-dist:6 USE_GL= opengl USE_QT= base declarative +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include diff --git a/graphics/qt6-lottie/Makefile b/graphics/qt6-lottie/Makefile index d84bc1f4fe06..353267352e2c 100644 --- a/graphics/qt6-lottie/Makefile +++ b/graphics/qt6-lottie/Makefile @@ -1,16 +1,18 @@ PORTNAME= lottie DISTVERSION= ${QT6_VERSION} +PORTREVISION= 1 CATEGORIES= graphics PKGNAMEPREFIX= qt6- MAINTAINER= kde@FreeBSD.org COMMENT= QML API for rendering graphics and animations BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon USES= cmake compiler:c++17-lang gl pkgconfig qt-dist:6 USE_GL= opengl USE_QT= base declarative +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include diff --git a/multimedia/qt6-multimedia/Makefile b/multimedia/qt6-multimedia/Makefile index f099cf508f01..3f33e1528b69 100644 --- a/multimedia/qt6-multimedia/Makefile +++ b/multimedia/qt6-multimedia/Makefile @@ -1,85 +1,86 @@ PORTNAME= multimedia DISTVERSION= ${QT6_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 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 +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} CFLAGS_powerpc= -DPFFFT_SIMD_DISABLE CXXFLAGS_powerpc64= -mvsx OPTIONS_DEFINE= FFMPEG GSTREAMER PIPEWIRE Q3D V4L VAAPI X11 OPTIONS_DEFAULT= FFMPEG GSTREAMER PIPEWIRE 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_RUN_DEPENDS= alsa-plugins>=0:audio/alsa-plugins ALSA_CMAKE_BOOL= FEATURE_alsa FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_CMAKE_BOOL= FEATURE_ffmpeg GSTREAMER_LIB_DEPENDS= libdrm.so:graphics/libdrm \ libwayland-client.so:graphics/wayland # As of 2024-09-29, Mk/Uses/xorg.mk freaks out if no modules are defined # via USE_XORG, so FTTB, we must duplicate USES=xorg in the GSTREAMER # and X11 options and cannot hoist it to the main USES declaration as a # noop. GSTREAMER_USES= gnome gstreamer:1 xorg GSTREAMER_USE= GL=egl \ GNOME=glib20 \ GSTREAMER=bad,gl,good,ugly,${"${PORT_OPTIONS:MALSA}":?alsa:pulse} \ XORG=xcb GSTREAMER_CMAKE_BOOL= FEATURE_gstreamer \ FEATURE_gstreamer_1_0 \ FEATURE_gstreamer_app \ FEATURE_gstreamer_gl \ FEATURE_gstreamer_photography PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_CMAKE_BOOL= FEATURE_pipewire PIPEWIRE_IMPLIES= FFMPEG 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 .if ${ARCH} == "i386" && ${MACHINE_CPU:Nsse} CXXFLAGS+= -DDISABLE_SIMD \ -DPFFFT_SIMD_DISABLE .endif .include diff --git a/net/qt6-coap/Makefile b/net/qt6-coap/Makefile index 7b3e521da6b3..e7cb6a26d1c4 100644 --- a/net/qt6-coap/Makefile +++ b/net/qt6-coap/Makefile @@ -1,15 +1,17 @@ PORTNAME= coap DISTVERSIONPREFIX= v DISTVERSION= ${QT6_VERSION} +PORTREVISION= 1 CATEGORIES= net PKGNAMEPREFIX= qt6- MAINTAINER= kde@FreeBSD.org COMMENT= Qt6 CoAP client module USES= cmake compiler:c++17-lang qt-dist:6 USE_GITHUB= yes GH_TUPLE= qt:qtcoap:${DISTVERSIONFULL} USE_QT= base +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include diff --git a/www/qt6-httpserver/Makefile b/www/qt6-httpserver/Makefile index c6930af383fd..30f14a8a2e30 100644 --- a/www/qt6-httpserver/Makefile +++ b/www/qt6-httpserver/Makefile @@ -1,14 +1,16 @@ PORTNAME= httpserver DISTVERSION= ${QT6_VERSION} +PORTREVISION= 1 CATEGORIES= www PKGNAMEPREFIX= qt6- MAINTAINER= kde@FreeBSD.org COMMENT= Lightweight HTTP Server BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers USES= cmake compiler:c++17-lang pkgconfig qt-dist:6 USE_QT= base websockets +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include diff --git a/www/qt6-webchannel/Makefile b/www/qt6-webchannel/Makefile index b016d0a20149..2e94039352ca 100644 --- a/www/qt6-webchannel/Makefile +++ b/www/qt6-webchannel/Makefile @@ -1,14 +1,16 @@ PORTNAME= webchannel DISTVERSION= ${QT6_VERSION} +PORTREVISION= 1 CATEGORIES= www PKGNAMEPREFIX= qt6- MAINTAINER= kde@FreeBSD.org COMMENT= Qt 6 library for integration of C++/QML with HTML/js clients BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers USES= cmake compiler:c++17-lang pkgconfig qt-dist:6 USE_QT= base declarative +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include diff --git a/www/qt6-webengine/Makefile b/www/qt6-webengine/Makefile index 0f3c3fadae52..7db670b9bc4f 100644 --- a/www/qt6-webengine/Makefile +++ b/www/qt6-webengine/Makefile @@ -1,182 +1,184 @@ # QtWebEngine itself is a very thin layer of Qt code on top of a large part of # Chromium (everything up to the content/ layer). As such, most of the work in # this port revolves around taming Chromium and getting it to build on FreeBSD. # While it does build at the moment, there are several items that should be # investigated or improved: # - We are using several stub files, especially in Chromium's base/ and net/ # layers. We should look at implementing the missing bits instead. # - We are currently not using any sandboxing mechanism. # - The process of porting QtWebEngine needs to be documented so we can move to # newer releases more easily. # PORTNAME?= webengine DISTVERSION= ${QT6_VERSION} -PORTREVISION?= 1 # Master port for print/qt6-pdf. Please keep this line. +PORTREVISION?= 2 # Master port for print/qt6-pdf. Please keep this line. CATEGORIES?= www PKGNAMEPREFIX= qt6- MAINTAINER= kde@FreeBSD.org COMMENT?= Qt 6 library to render web content BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} \ ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers LIB_DEPENDS= libfreetype.so:print/freetype2 \ libnss3.so:security/nss \ libopenjp2.so:graphics/openjpeg \ libxkbcommon.so:x11/libxkbcommon USES= bison cmake compiler:c++20-lang gl gperf \ localbase:ldflags ninja:build nodejs:build,lts \ pkgconfig python:build qt-dist:6,webengine USE_GL= opengl USE_QT= base declarative tools USE_XORG= x11 xcb xcomposite xcursor xdamage xext xfixes xi xkbfile \ xrandr xrender xscrnsaver xshmfence xtst CMAKE_ON= QT_FEATURE_webengine_system_ffmpeg \ QT_FEATURE_webengine_proprietary_codecs +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} + .if defined(BUILD_QTPDF) CMAKE_ON+= QT_FEATURE_qtpdf_build CMAKE_OFF+= QT_FEATURE_qtwebengine_build \ QT_GENERATE_SBOM SYS_LIBS= freetype .else BUILD_DEPENDS+= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat LIB_DEPENDS+= libabsl_base.so:devel/abseil \ libavcodec.so:multimedia/ffmpeg \ libdbus-1.so:devel/dbus \ libdrm.so:graphics/libdrm \ libevent.so:devel/libevent \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libharfbuzz.so:print/harfbuzz \ liblcms2.so:graphics/lcms2 \ libnspr4.so:devel/nspr \ libopenh264.so:multimedia/openh264 \ libopus.so:audio/opus \ libpci.so:devel/libpci \ libpng.so:graphics/png \ libre2.so:devel/re2 \ libsnappy.so:archivers/snappy \ libtiff.so:graphics/tiff \ libvpx.so:multimedia/libvpx \ libwebp.so:graphics/webp USES+= gnome jpeg minizip xorg USE_GL+= gbm USE_QT+= positioning quick3d:build webchannel USE_GNOME+= glib20 libxml2 libxslt USE_XORG+= x11 xcb xcomposite xcursor xdamage xext xfixes xi xkbfile \ xrandr xrender xscrnsaver xshmfence xtst CMAKE_ON+= QT_FEATURE_qtwebengine_build CMAKE_OFF+= QT_FEATURE_qtpdf_build SYS_LIBS= freetype harfbuzz-ng libdrm libevent libpng libxml libxslt openh264 opus .endif # The build system reads the environment variable $NINJA_PATH to decide whether # to boostrap ninja or not (and also to invoke it afterwards). CC and CXX are # read by some Chromium code to determine which compiler to invoke when running # some configuration tests. CONFIGURE_ENV+= NINJAFLAGS="-j${MAKE_JOBS_NUMBER}" \ NINJA_PATH="${LOCALBASE}/bin/ninja" \ PATH=${CONFIGURE_WRKSRC}/bin:${LOCALBASE}/bin:${PATH} MAKE_ENV+= CC="${CC}" CXX="${CXX}" \ C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include \ ${CONFIGURE_ENV} # Avoid running multiple make(1) jobs, but only those. Otherwise the build # fails intermittently due race conditions if multiple ninja instances are # running at the same time (mostly for the targets "WebEngineCore" and # "convert_dict"). # # MAKE_JOBS_UNSAFE is too invasive because it also affects the number of jobs # for ninja(1) and would slow everything down which we don't want. We pass the # real number of make jobs via MAKE_JOBS_NUMBER to ninja(1) to CONFIGURE_ENV. DO_MAKE_BUILD= ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} -j1 ${MAKE_ARGS:N${DESTDIRNAME}=*} BINARY_ALIAS= python3=${PYTHON_CMD} .if !defined(BUILD_QTPDF) OPTIONS_DEFINE= DRIVER PIPEWIRE OPTIONS_DEFAULT= ALSA DRIVER PIPEWIRE OPTIONS_SINGLE= AUDIO OPTIONS_SINGLE_AUDIO= ALSA PULSEAUDIO SNDIO OPTIONS_SUB= yes AUDIO_DESC= Audio backend # Need the alsa plugins to get sound at runtime, otherwise messages # that the pcm_oss plugin can't be opened. ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= alsa-plugins>=0:audio/alsa-plugins ALSA_CMAKE_ON= -DQT_FEATURE_webengine_system_alsa:BOOL=ON ALSA_CMAKE_OFF= -DQT_FEATURE_webengine_system_alsa:BOOL=OFF DRIVER_DESC= Install WebEngineDriver DRIVER_CMAKE_ON= -DQT_FEATURE_webenginedriver:BOOL=ON DRIVER_CMAKE_OFF= -DQT_FEATURE_webenginedriver:BOOL=OFF PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_CMAKE_ON= -DQT_FEATURE_webengine_webrtc_pipewire:BOOL=ON PIPEWIRE_CMAKE_OFF= -DQT_FEATURE_webengine_webrtc_pipewire:BOOL=OFF PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_ON= -DQT_FEATURE_webengine_system_pulseaudio:BOOL=ON PULSEAUDIO_CMAKE_OFF= -DQT_FEATURE_webengine_system_pulseaudio:BOOL=OFF SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CMAKE_ON= -DQT_FEATURE_webengine_system_sndio:BOOL=ON SNDIO_CMAKE_OFF= -DQT_FEATURE_webengine_system_sndio:BOOL=OFF .endif .include .if ${ARCH} == i386 || ${ARCH} == armv7 EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-32bit-compress_files_js .endif post-extract: @${MKDIR} ${WRKSRC}/src/3rdparty/chromium/media/audio/sndio \ ${WRKSRC}/src/3rdparty/chromium/sandbox/policy/freebsd \ ${WRKSRC}/src/3rdparty/chromium/sandbox/policy/openbsd post-patch: @${REINPLACE_CMD} -e 's|%%CPPFLAGS%%|${CPPFLAGS}|;s|%%CXXFLAGS%%|${CXXFLAGS}|;s|%%LDFLAGS%%|${LDFLAGS}|' \ ${WRKSRC}/src/host/BUILD.toolchain.gn.in @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/src/3rdparty/chromium/third_party/pdfium/core/fxge/linux/fx_linux_impl.cpp \ ${WRKSRC}/src/3rdparty/chromium/ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc pre-configure: # We used to remove bundled libraries to be sure that webengine uses # system libraries and not shipped ones. # # Leads to missing header errors: icu, libvpx, libwebp, re2, snappy, zlib # No-Op: flac # # Don't attempt to unbundle libraries that the Pdf module doesn't use. It # causes configuration errors. # # cd ${WRKSRC} && ${PYTHON_CMD} \ # ./build/linux/unbundle/remove_bundled_libraries.py [list of preserved] cd ${WRKSRC}/src/3rdparty/chromium && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} \ ./build/linux/unbundle/replace_gn_files.py --system-libraries \ ${SYS_LIBS} || ${FALSE} .if !defined(BUILD_QTPDF) post-install: # Fix for deskutils/calibre, perhaps others, where this empty directory # is created during build causing a fs-violation. ${MKDIR} ${STAGEDIR}${QT_DATADIR}/resources/locales post-install-DRIVER-on: ${STRIP_CMD} ${STAGEDIR}${QT_TOOLDIR}/webenginedriver .endif .include diff --git a/www/qt6-websockets/Makefile b/www/qt6-websockets/Makefile index 356d439b6913..a19b7c6949db 100644 --- a/www/qt6-websockets/Makefile +++ b/www/qt6-websockets/Makefile @@ -1,14 +1,16 @@ PORTNAME= websockets DISTVERSION= ${QT6_VERSION} +PORTREVISION= 1 CATEGORIES= www PKGNAMEPREFIX= qt6- MAINTAINER= kde@FreeBSD.org COMMENT= Qt implementation of WebSocket protocol BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers USES= cmake compiler:c++17-lang pkgconfig qt-dist:6 USE_QT= base declarative +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include diff --git a/www/qt6-webview/Makefile b/www/qt6-webview/Makefile index e584b5616031..cbe673ab4593 100644 --- a/www/qt6-webview/Makefile +++ b/www/qt6-webview/Makefile @@ -1,15 +1,17 @@ PORTNAME= webview DISTVERSION= ${QT6_VERSION} +PORTREVISION= 1 CATEGORIES= www PKGNAMEPREFIX= qt6- MAINTAINER= kde@FreeBSD.org COMMENT= Qt component for displaying web content LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon USES= cmake compiler:c++17-lang gl pkgconfig qt-dist:6 USE_GL= opengl USE_QT= base declarative positioning webchannel webengine +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include diff --git a/x11-toolkits/qt6-charts/Makefile b/x11-toolkits/qt6-charts/Makefile index 1583d2034c40..165fab577ea4 100644 --- a/x11-toolkits/qt6-charts/Makefile +++ b/x11-toolkits/qt6-charts/Makefile @@ -1,15 +1,17 @@ PORTNAME= charts DISTVERSION= ${QT6_VERSION} +PORTREVISION= 1 CATEGORIES= x11-toolkits PKGNAMEPREFIX= qt6- MAINTAINER= kde@FreeBSD.org COMMENT= Qt 6 charts module BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers USES= cmake compiler:c++17-lang gl pkgconfig qt-dist:6 USE_GL= opengl USE_QT= base declarative +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include diff --git a/x11-toolkits/qt6-datavis3d/Makefile b/x11-toolkits/qt6-datavis3d/Makefile index 0c39b47838d2..f408a4008109 100644 --- a/x11-toolkits/qt6-datavis3d/Makefile +++ b/x11-toolkits/qt6-datavis3d/Makefile @@ -1,15 +1,17 @@ PORTNAME= datavis3d DISTVERSION= ${QT6_VERSION} +PORTREVISION= 1 CATEGORIES= x11-toolkits PKGNAMEPREFIX= qt6- MAINTAINER= kde@FreeBSD.org COMMENT= Qt 6 3D data visualization module BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers USES= cmake compiler:c++17-lang gl pkgconfig qt-dist:6 USE_GL= opengl USE_QT= base declarative +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include diff --git a/x11-toolkits/qt6-graphs/Makefile b/x11-toolkits/qt6-graphs/Makefile index 1e6eb4665abb..5909dc73d96e 100644 --- a/x11-toolkits/qt6-graphs/Makefile +++ b/x11-toolkits/qt6-graphs/Makefile @@ -1,16 +1,18 @@ PORTNAME= graphs DISTVERSION= ${QT6_VERSION} +PORTREVISION= 1 CATEGORIES= x11-toolkits PKGNAMEPREFIX= qt6- MAINTAINER= kde@FreeBSD.org COMMENT= Qt 6 graphs module BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon USES= cmake compiler:c++17-lang gl pkgconfig qt-dist:6 USE_GL= opengl USE_QT= base declarative quick3d shadertools +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include diff --git a/x11-toolkits/qt6-virtualkeyboard/Makefile b/x11-toolkits/qt6-virtualkeyboard/Makefile index fa17bb8ffca9..2b59a5ac060f 100644 --- a/x11-toolkits/qt6-virtualkeyboard/Makefile +++ b/x11-toolkits/qt6-virtualkeyboard/Makefile @@ -1,17 +1,19 @@ PORTNAME= virtualkeyboard DISTVERSION= ${QT6_VERSION} +PORTREVISION= 1 CATEGORIES= x11-toolkits PKGNAMEPREFIX= qt6- MAINTAINER= kde@FreeBSD.org COMMENT= Qt 6 Virtual Keyboard Module BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell \ libxkbcommon.so:x11/libxkbcommon USES= cmake compiler:c++17-lang gl pkgconfig qt-dist:6 USE_GL= opengl USE_QT= base declarative svg +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include