diff --git a/accessibility/qt5-speech/Makefile b/accessibility/qt5-speech/Makefile index e4d9491da5da..e0eb3a7f6136 100644 --- a/accessibility/qt5-speech/Makefile +++ b/accessibility/qt5-speech/Makefile @@ -1,39 +1,41 @@ PORTNAME= speech PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= accessibility PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Accessibilty features for Qt5 USES= compiler:c++11-lang gl pkgconfig perl5 qmake:outsource,norecursive \ qt-dist:5,speech xorg USE_GL= gl USE_PERL5= extract USE_QT= core gui buildtools:build qmake:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} OPTIONS_DEFINE= ALSA OPTIONS_GROUP= BACKEND OPTIONS_GROUP_BACKEND= SPEECHD FLITE OPTIONS_DEFAULT= SPEECHD OPTIONS_SUB= yes SPEECHD_DESC= Speech Dispatcher Backend SPEECHD_USES= gettext-runtime gnome SPEECHD_USE= GNOME=glib20 SPEECHD_LIB_DEPENDS= libspeechd.so:accessibility/speech-dispatcher SPEECHD_VARS= QMAKE_CONFIGURE_ARGS+=--feature-speechd SPEECHD_VARS_OFF= QMAKE_CONFIGURE_ARGS+=--no-feature-speechd FLITE_DESC= Festival Lite Backend FLITE_LIB_DEPENDS= libflite.so:audio/flite FLITE_USE= QT=multimedia,network FLITE_VARS= QMAKE_CONFIGURE_ARGS+=--feature-flite FLITE_VARS_OFF= QMAKE_CONFIGURE_ARGS+=--no-feature-flite --no-feature-flite_alsa ALSA_IMPLIES= FLITE ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_VARS= QMAKE_CONFIGURE_ARGS+=--feature-flite_alsa ALSA_VARS_OFF= QMAKE_CONFIGURE_ARGS+=--no-feature-flite_alsa .include diff --git a/comms/qt5-connectivity/Makefile b/comms/qt5-connectivity/Makefile index 87fde0e4b281..a763c306ea2b 100644 --- a/comms/qt5-connectivity/Makefile +++ b/comms/qt5-connectivity/Makefile @@ -1,13 +1,15 @@ PORTNAME= connectivity PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= comms PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt connectivity (Bluetooth/NFC) module USES= compiler:c++11-lang perl5 qmake qt-dist:5,connectivity USE_PERL5= build USE_QT= concurrent core declarative buildtools:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include diff --git a/comms/qt5-sensors/Makefile b/comms/qt5-sensors/Makefile index 4aa2a8deacd0..c227ad79e4ce 100644 --- a/comms/qt5-sensors/Makefile +++ b/comms/qt5-sensors/Makefile @@ -1,13 +1,15 @@ PORTNAME= sensors PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= comms PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt sensors module USES= compiler:c++11-lang perl5 qmake:norecursive qt-dist:5,sensors USE_PERL5= build USE_QT= core declarative buildtools:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include diff --git a/comms/qt5-serialbus/Makefile b/comms/qt5-serialbus/Makefile index 8d6383b666f7..eccb7fe8ba0e 100644 --- a/comms/qt5-serialbus/Makefile +++ b/comms/qt5-serialbus/Makefile @@ -1,14 +1,16 @@ PORTNAME= serialbus PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= comms PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt functions to access industrial bus systems USES= compiler:c++11-lib perl5 qmake qt-dist:5,serialbus USE_PERL5= extract USE_QT= core network serialport buildtools:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} QT_BINARIES= yes .include diff --git a/comms/qt5-serialport/Makefile b/comms/qt5-serialport/Makefile index 6d146d533fc4..a21296882c02 100644 --- a/comms/qt5-serialport/Makefile +++ b/comms/qt5-serialport/Makefile @@ -1,13 +1,15 @@ PORTNAME= serialport PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= comms PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt functions to access serial ports USES= compiler:c++11-lang libtool perl5 qmake qt-dist:5,serialport USE_PERL5= extract USE_QT= core buildtools:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include diff --git a/databases/qt5-sql/Makefile b/databases/qt5-sql/Makefile index fa1f1ed8cbff..5cea48690be2 100644 --- a/databases/qt5-sql/Makefile +++ b/databases/qt5-sql/Makefile @@ -1,24 +1,26 @@ PORTNAME= sql PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= databases PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt SQL database integration module USES= compiler:c++11-lang perl5 qmake:no_env qt-dist:5,base USE_PERL5= extract USE_QT= core qmake:build buildtools:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} HAS_CONFIGURE= yes CONFIGURE_ARGS= -no-gui -no-xcb BUILD_WRKSRC= ${WRKSRC}/src/${PORTNAME} INSTALL_WRKSRC= ${BUILD_WRKSRC} post-configure: .for d in src/sql ${MKDIR} ${WRKSRC}/${d} cd ${WRKSRC}/${d} && ${SETENV} ${QMAKE_ENV} ${_QMAKE} ${QMAKE_ARGS} ${WRKSRC}/${d} .endfor .include diff --git a/devel/qt5-concurrent/Makefile b/devel/qt5-concurrent/Makefile index 9532f9a11665..ff96f0726168 100644 --- a/devel/qt5-concurrent/Makefile +++ b/devel/qt5-concurrent/Makefile @@ -1,27 +1,29 @@ PORTNAME= concurrent PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= devel PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt multi-threading module USES= compiler:c++11-lang perl5 qmake:no_env qt-dist:5,base USE_PERL5= extract USE_QT= core qmake:build buildtools:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} HAS_CONFIGURE= yes CONFIGURE_ARGS= -no-gui -no-xcb BUILD_WRKSRC= ${WRKSRC}/src/${PORTNAME} INSTALL_WRKSRC= ${BUILD_WRKSRC} QT_DEFINES= CONCURRENT QT_CONFIG= concurrent post-configure: .for d in src/concurrent ${MKDIR} ${WRKSRC}/${d} cd ${WRKSRC}/${d} && ${SETENV} ${QMAKE_ENV} ${_QMAKE} ${QMAKE_ARGS} ${WRKSRC}/${d} .endfor .include diff --git a/devel/qt5-dbus/Makefile b/devel/qt5-dbus/Makefile index 394cca577a21..22dfe5bacd4c 100644 --- a/devel/qt5-dbus/Makefile +++ b/devel/qt5-dbus/Makefile @@ -1,46 +1,48 @@ PORTNAME= dbus PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= devel PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt D-Bus inter-process communication module LIB_DEPENDS= libdbus-1.so:devel/dbus USES= compiler:c++11-lang perl5 qmake:no_env qt-dist:5,base USE_PERL5= extract USE_QT= core qmake:build buildtools:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} HAS_CONFIGURE= yes CONFIGURE_ARGS= -no-gui -no-xcb BUILD_WRKSRC= ${WRKSRC}/src/${PORTNAME} INSTALL_WRKSRC= ${BUILD_WRKSRC} TOOLS= qdbuscpp2xml qdbusxml2cpp QT_BINARIES= yes QT_DEFINES= DBUS QT_CONFIG= dbus post-configure: .for d in src/dbus src/tools/qdbuscpp2xml src/tools/qdbusxml2cpp ${MKDIR} ${WRKSRC}/${d} cd ${WRKSRC}/${d} && ${SETENV} ${QMAKE_ENV} ${_QMAKE} ${QMAKE_ARGS} ${WRKSRC}/${d} .endfor post-build: .for t in ${TOOLS} @cd ${WRKSRC}/src/tools/${t} && \ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \ ${_MAKE_JOBS} ${MAKE_ARGS} ${ALL_TARGET} .endfor post-install: .for t in ${TOOLS} @cd ${WRKSRC}/src/tools/${t} && \ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \ ${MAKE_ARGS} ${INSTALL_TARGET} .endfor .include diff --git a/devel/qt5-designer/Makefile b/devel/qt5-designer/Makefile index e7132a956fef..bae576adb1f3 100644 --- a/devel/qt5-designer/Makefile +++ b/devel/qt5-designer/Makefile @@ -1,37 +1,39 @@ PORTNAME= designer PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= devel PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt 5 graphical user interface designer USES= compiler:c++11-lang perl5 qmake qt-dist:5,tools USE_PERL5= build USE_QT= assistant:run core declarative gui network printsupport uiplugin \ widgets xml buildtools:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} DESKTOP_ENTRIES="Qt 5 Designer" "" \ "${PREFIX}/share/pixmaps/designer-qt5.png" \ "${PREFIX}/${QT_BINDIR_REL}/designer" \ "Development;Qt;" true BUILD_WRKSRC= ${WRKSRC}/src/${PORTNAME} INSTALL_WRKSRC= ${WRKSRC}/src/${PORTNAME} QT_BINARIES= yes post-patch: # uiplugin is built in x11-toolkits/qt5-uiplugin. # uitools is built in devel/qt5-uitools. ${REINPLACE_CMD} -e '/uiplugin/ d' -e '/uitools/ d' \ ${WRKSRC}/src/${PORTNAME}/src/src.pro post-install: ${INSTALL_DATA} ${WRKSRC}/src/${PORTNAME}/src/designer/images/designer.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/designer-qt5.png # The generated .pc file refers to a nonexistent other .pc file ${REINPLACE_CMD} -e '/^Requires/s/Qt5UiPlugin//' \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/Qt5Designer.pc .include diff --git a/devel/qt5-help/Makefile b/devel/qt5-help/Makefile index ed70e5baf977..42c8c3e2d7f4 100644 --- a/devel/qt5-help/Makefile +++ b/devel/qt5-help/Makefile @@ -1,16 +1,18 @@ PORTNAME= help PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= devel PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt online help integration module USES= compiler:c++11-lang perl5 qmake qt-dist:5,tools USE_PERL5= build USE_QT= core gui network sql widgets \ buildtools:build sql-sqlite3:run +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} QT_BINARIES= yes .include diff --git a/devel/qt5-location/Makefile b/devel/qt5-location/Makefile index f4f5ccf5bd22..91aaf52781ed 100644 --- a/devel/qt5-location/Makefile +++ b/devel/qt5-location/Makefile @@ -1,14 +1,16 @@ PORTNAME= location PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= devel PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt location module USES= compiler:c++11-lang perl5 qmake:norecursive qt-dist:5,location USE_PERL5= build USE_QT= concurrent core dbus declarative gui network serialport \ buildtools:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include diff --git a/devel/qt5-remoteobjects/Makefile b/devel/qt5-remoteobjects/Makefile index feccc271254d..9324617a3f5f 100644 --- a/devel/qt5-remoteobjects/Makefile +++ b/devel/qt5-remoteobjects/Makefile @@ -1,17 +1,19 @@ PORTNAME= remoteobjects PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= devel PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt5 Remote Objects module USES= compiler:c++11-lang gl perl5 qmake qt-dist:5 USE_GL= gl USE_PERL5= build USE_QT= core declarative network \ buildtools:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} QT_BINARIES= yes .include diff --git a/devel/qt5-script/Makefile b/devel/qt5-script/Makefile index cd8e2cddefbc..34fade48e748 100644 --- a/devel/qt5-script/Makefile +++ b/devel/qt5-script/Makefile @@ -1,29 +1,30 @@ PORTNAME= script PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt 4-compatible scripting module USES= compiler:c++11-lang perl5 qmake qt-dist:5,script USE_PERL5= extract USE_QT= core buildtools:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} # Keep make(1) from descending into src/script/obj/ (qmake:outsource # doesn't work). MAKE_ENV= MAKEOBJDIR=. # Source version from qt-dist.mk QT5_VERSION= ${_KDE_script_VERSION} post-patch: @${REINPLACE_CMD} -e '/scripttools/ d' \ ${WRKSRC}/src/src.pro # Fix version mismatches for CMake post-configure: @${REINPLACE_CMD} -e '/${QT5_VERSION} $${_Qt5Script_FIND_VERSION_EXACT}/s|${QT5_VERSION}|'"$$(${MAKE} -C ../qt5-core -VQT5_VERSION)"'|' \ ${WRKSRC}/lib/cmake/Qt5Script/Qt5ScriptConfig.cmake .include diff --git a/devel/qt5-scripttools/Makefile b/devel/qt5-scripttools/Makefile index b1de205c921f..17b46fa16b80 100644 --- a/devel/qt5-scripttools/Makefile +++ b/devel/qt5-scripttools/Makefile @@ -1,28 +1,29 @@ PORTNAME= scripttools PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt Script additional components USES= compiler:c++11-lang perl5 qmake qt-dist:5,script USE_PERL5= build USE_QT= core gui script widgets buildtools:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} BUILD_WRKSRC= ${WRKSRC}/src/${PORTNAME} INSTALL_WRKSRC= ${WRKSRC}/src/${PORTNAME} # Source version from qt-dist.mk QT5_VERSION= ${_KDE_script_VERSION} # Link in QtScript port _QT5_ADDITIONAL_LINK= script # Fix version mismatches for CMake post-configure: @${REINPLACE_CMD} -e '/${QT5_VERSION} $${_Qt5ScriptTools_FIND_VERSION_EXACT}/s|${QT5_VERSION}|'"$$(${MAKE} -C ../qt5-core -VQT5_VERSION)"'|' \ ${WRKSRC}/lib/cmake/Qt5ScriptTools/Qt5ScriptToolsConfig.cmake .include diff --git a/devel/qt5-scxml/Makefile b/devel/qt5-scxml/Makefile index 16e579dcfcf0..8e290f631fe9 100644 --- a/devel/qt5-scxml/Makefile +++ b/devel/qt5-scxml/Makefile @@ -1,15 +1,17 @@ PORTNAME= scxml PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= devel PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt5 SCXML module USES= compiler:c++11-lang perl5 qmake qt-dist:5,scxml USE_PERL5= build USE_QT= core declarative network buildtools:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} QT_BINARIES= yes .include diff --git a/devel/qt5-testlib/Makefile b/devel/qt5-testlib/Makefile index e883878f2180..6332499fbd94 100644 --- a/devel/qt5-testlib/Makefile +++ b/devel/qt5-testlib/Makefile @@ -1,24 +1,26 @@ PORTNAME= testlib PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= devel PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt unit testing module USES= compiler:c++11-lang perl5 qmake:no_env qt-dist:5,base USE_PERL5= extract USE_QT= core qmake:build buildtools:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} HAS_CONFIGURE= yes CONFIGURE_ARGS= -no-gui -no-xcb BUILD_WRKSRC= ${WRKSRC}/src/${PORTNAME} INSTALL_WRKSRC= ${BUILD_WRKSRC} post-configure: .for d in src/testlib ${MKDIR} ${WRKSRC}/${d} cd ${WRKSRC}/${d} && ${SETENV} ${QMAKE_ENV} ${_QMAKE} ${QMAKE_ARGS} ${WRKSRC}/${d} .endfor .include diff --git a/graphics/qt5-3d/Makefile b/graphics/qt5-3d/Makefile index e2e8188bd949..0f7cf8beb18b 100644 --- a/graphics/qt5-3d/Makefile +++ b/graphics/qt5-3d/Makefile @@ -1,23 +1,25 @@ PORTNAME= 3d PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= graphics PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt3D module LIB_DEPENDS= libassimp.so:multimedia/assimp USES= compiler:c++11-lang perl5 pkgconfig qmake:norecursive qt-dist:5,3d USE_PERL5= extract USE_QT= concurrent core declarative gui network buildtools:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} OPTIONS_DEFINE_amd64= AVX OPTIONS_DEFINE_i386= AVX AVX_DESC= Build for Intel CPUs with AVX* support (Haswell+) AVX_EXTRA_PATCHES= ${FILESDIR}/extrapatch-src_core_configure.json QT_BINARIES= yes .include diff --git a/graphics/qt5-opengl/Makefile b/graphics/qt5-opengl/Makefile index 8769038a9b31..b6281e94ca9a 100644 --- a/graphics/qt5-opengl/Makefile +++ b/graphics/qt5-opengl/Makefile @@ -1,27 +1,29 @@ PORTNAME= opengl PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= graphics PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt 5-compatible OpenGL support module USES= compiler:c++11-lang gl perl5 qmake:no_env qt-dist:5,base USE_GL= gl USE_PERL5= extract USE_QT= core gui widgets qmake:build buildtools:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} HAS_CONFIGURE= yes BUILD_WRKSRC= ${WRKSRC}/src/${PORTNAME} INSTALL_WRKSRC= ${BUILD_WRKSRC} QT_DEFINES= OPENGL QT_CONFIG= opengl post-configure: .for d in src/opengl ${MKDIR} ${WRKSRC}/${d} cd ${WRKSRC}/${d} && ${SETENV} ${QMAKE_ENV} ${_QMAKE} ${QMAKE_ARGS} ${WRKSRC}/${d} .endfor .include diff --git a/graphics/qt5-svg/Makefile b/graphics/qt5-svg/Makefile index 85bd01a3b956..acfb5d69163e 100644 --- a/graphics/qt5-svg/Makefile +++ b/graphics/qt5-svg/Makefile @@ -1,13 +1,15 @@ PORTNAME= svg PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= graphics PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt SVG support module USES= compiler:c++11-lang perl5 qmake qt-dist:5,svg USE_PERL5= build USE_QT= core gui widgets buildtools:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include diff --git a/graphics/qt5-wayland/Makefile b/graphics/qt5-wayland/Makefile index df6e9b59b53c..8c0b9d0f9c16 100644 --- a/graphics/qt5-wayland/Makefile +++ b/graphics/qt5-wayland/Makefile @@ -1,26 +1,28 @@ PORTNAME= wayland PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= graphics wayland PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt5 wrapper for Wayland BUILD_DEPENDS= ${LOCALBASE}/include/libdrm/drm_fourcc.h:graphics/libdrm LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libwayland-egl.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c++11-lang gl gnome perl5 pkgconfig qmake:norecursive \ qt-dist:5,wayland xorg USE_GL= egl gl USE_GNOME= glib20 USE_PERL5= build USE_QT= core dbus gui declarative \ buildtools:build qmake:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} USE_XORG= x11 xcomposite QT_BINARIES= yes .include diff --git a/multimedia/qt5-multimedia/Makefile b/multimedia/qt5-multimedia/Makefile index 9438dcc80ff4..dd9a0f765fbb 100644 --- a/multimedia/qt5-multimedia/Makefile +++ b/multimedia/qt5-multimedia/Makefile @@ -1,63 +1,64 @@ PORTNAME= multimedia PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} -PORTREVISION= 1 +PORTREVISION= 2 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_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} 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-.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_RUN_DEPENDS= alsa-plugins>=0:audio/alsa-plugins 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 diff --git a/net/qt5-network/Makefile b/net/qt5-network/Makefile index c92c8074b1f0..4685b1473397 100644 --- a/net/qt5-network/Makefile +++ b/net/qt5-network/Makefile @@ -1,50 +1,52 @@ PORTNAME= network PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= net PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt network module USES= compiler:c++11-lang perl5 qmake:no_env qt-dist:5,base ssl USE_PERL5= extract USE_QT= core buildtools:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} HAS_CONFIGURE= yes CONFIGURE_ARGS= -no-gui -no-xcb BUILD_WRKSRC= ${WRKSRC}/src/${PORTNAME} INSTALL_WRKSRC= ${BUILD_WRKSRC} QT_DEFINES= OPENSSL SSL QT_CONFIG= openssl .include # LibreSSL does not currently support BIO_ADDR in DTLSv1_listen() .if ${SSL_DEFAULT:Mlibressl*} CONFIGURE_ARGS+= -no-feature-dtls .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${BUILD_WRKSRC}/ssl/qsslsocket_openssl.cpp @${REINPLACE_CMD} -e 's|%%OPENSSLLIB%%|${OPENSSLLIB}|g' \ ${BUILD_WRKSRC}/ssl/qsslsocket_openssl_symbols.cpp post-configure: .for d in src/network src/plugins/bearer/generic ${MKDIR} ${WRKSRC}/${d} cd ${WRKSRC}/${d} && ${SETENV} ${QMAKE_ENV} ${_QMAKE} ${QMAKE_ARGS} ${WRKSRC}/${d} .endfor post-build: @cd ${WRKSRC}/src/plugins/bearer/generic && \ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \ ${_MAKE_JOBS} ${MAKE_ARGS} ${ALL_TARGET} post-install: @cd ${WRKSRC}/src/plugins/bearer/generic && \ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \ ${MAKE_ARGS} ${INSTALL_TARGET} .include diff --git a/net/qt5-networkauth/Makefile b/net/qt5-networkauth/Makefile index 2255dfdc9dbf..491c8802b377 100644 --- a/net/qt5-networkauth/Makefile +++ b/net/qt5-networkauth/Makefile @@ -1,14 +1,16 @@ PORTNAME= networkauth PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= net PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt network auth module USES= compiler:c++11-lang perl5 qmake:no_env qt-dist:5 USE_PERL5= extract USE_QT= core network \ buildtools:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include diff --git a/print/qt5-printsupport/Makefile b/print/qt5-printsupport/Makefile index a62b8603597d..b9b94e5bc450 100644 --- a/print/qt5-printsupport/Makefile +++ b/print/qt5-printsupport/Makefile @@ -1,56 +1,58 @@ PORTNAME= printsupport PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= print PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt print support module USES= compiler:c++11-lang perl5 qmake:no_env qt-dist:5,base USE_PERL5= extract USE_QT= core gui widgets qmake:build buildtools:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} HAS_CONFIGURE= yes BUILD_WRKSRC= ${WRKSRC}/src/${PORTNAME} INSTALL_WRKSRC= ${BUILD_WRKSRC} OPTIONS_DEFINE= CUPS OPTIONS_DEFAULT=CUPS OPTIONS_SUB= yes CUPS_CONFIGURE_ON= -cups CUPS_CONFIGURE_OFF= -no-cups CUPS_LIB_DEPENDS= libcups.so:print/cups .include .if ${PORT_OPTIONS:MCUPS} QT_DEFINES+= CUPS QT_CONFIG+= cups MORE_WRKSRCS+= src/plugins/printsupport .else QT_DEFINES+= -CUPS QT_CONFIG+= -cups .endif post-configure: .for d in src/printsupport ${MORE_WRKSRCS} ${MKDIR} ${WRKSRC}/${d} cd ${WRKSRC}/${d} && ${SETENV} ${QMAKE_ENV} ${_QMAKE} ${QMAKE_ARGS} ${WRKSRC}/${d} .endfor post-build: .if ${PORT_OPTIONS:MCUPS} @cd ${WRKSRC}/src/plugins/${PORTNAME}/cups && \ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \ ${_MAKE_JOBS} ${MAKE_ARGS} ${ALL_TARGET} .endif post-install: .if ${PORT_OPTIONS:MCUPS} @cd ${WRKSRC}/src/plugins/${PORTNAME}/cups && \ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \ ${MAKE_ARGS} ${INSTALL_TARGET} .endif .include diff --git a/textproc/qt5-xml/Makefile b/textproc/qt5-xml/Makefile index 60db446925db..ffe53be3e66e 100644 --- a/textproc/qt5-xml/Makefile +++ b/textproc/qt5-xml/Makefile @@ -1,24 +1,26 @@ PORTNAME= xml PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= textproc PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt SAX and DOM implementations USES= compiler:c++11-lang perl5 qmake:no_env qt-dist:5,base USE_PERL5= extract USE_QT= core qmake:build buildtools:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} HAS_CONFIGURE= yes CONFIGURE_ARGS= -no-gui -no-xcb BUILD_WRKSRC= ${WRKSRC}/src/${PORTNAME} INSTALL_WRKSRC= ${BUILD_WRKSRC} post-configure: .for d in src/xml ${MKDIR} ${WRKSRC}/${d} cd ${WRKSRC}/${d} && ${SETENV} ${QMAKE_ENV} ${_QMAKE} ${QMAKE_ARGS} ${WRKSRC}/${d} .endfor .include diff --git a/textproc/qt5-xmlpatterns/Makefile b/textproc/qt5-xmlpatterns/Makefile index 3e7fe12b77c1..c55fb777bea8 100644 --- a/textproc/qt5-xmlpatterns/Makefile +++ b/textproc/qt5-xmlpatterns/Makefile @@ -1,15 +1,17 @@ PORTNAME= xmlpatterns PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= textproc PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt support for XPath, XQuery, XSLT and XML Schema USES= compiler:c++11-lang perl5 qmake:norecursive qt-dist:5,xmlpatterns USE_PERL5= build USE_QT= core declarative network buildtools:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} QT_BINARIES= yes .include diff --git a/www/qt5-webchannel/Makefile b/www/qt5-webchannel/Makefile index e73f96fdb667..b56aceae2da5 100644 --- a/www/qt5-webchannel/Makefile +++ b/www/qt5-webchannel/Makefile @@ -1,18 +1,20 @@ PORTNAME= webchannel PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= www PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt 5 library for integration of C++/QML with HTML/js clients USES= compiler:c++11-lang perl5 qmake:norecursive qt-dist:5,webchannel USE_PERL5= build USE_QT= core declarative \ buildtools:build declarative-test:build testlib:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} # The default EXTRACT_AFTER_ARGS value excludes examples/ from the extracted # tarball, which we need during the build. EXTRACT_AFTER_ARGS= --no-same-owner --no-same-permissions .include diff --git a/www/qt5-webengine/Makefile b/www/qt5-webengine/Makefile index c1864b0d30c7..82986332de6c 100644 --- a/www/qt5-webengine/Makefile +++ b/www/qt5-webengine/Makefile @@ -1,173 +1,174 @@ # 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. # - We need to see if more "use_system_" flags can be passed. # - The process of porting QtWebEngine needs to be documented so we can move to # newer releases more easily. # # Also note that, due to the insane amount of patches this port needs, it tends # to lag behind the rest of the official Qt5 ones, which is why we set # QT5_VERSION and DISTINFO_FILE here. # In order to successfully build this port in poudriere you need to add # MAX_FILES_qt5_webengine=4096 to /usr/local/etc/poudriere.conf PORTNAME= webengine PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt 5 library to render web content BUILD_DEPENDS= bison:devel/bison \ ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \ ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libdbus-1.so:devel/dbus \ libdouble-conversion.so:devel/double-conversion \ libevent.so:devel/libevent \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libjsoncpp.so:devel/jsoncpp \ liblcms2.so:graphics/lcms2 \ libnspr4.so:devel/nspr \ libnss3.so:security/nss \ libopenh264.so:multimedia/openh264 \ libopus.so:audio/opus \ libpci.so:devel/libpci \ libpng.so:graphics/png \ libre2.so:devel/re2 \ libsnappy.so:archivers/snappy \ libvpx.so:multimedia/libvpx \ libwebp.so:graphics/webp DISTINFO_FILE= ${.CURDIR}/distinfo QT5_VERSION= ${_KDE_webengine_VERSION} OPTIONS_SINGLE= AUDIO OPTIONS_SINGLE_AUDIO= ALSA PULSEAUDIO SNDIO OPTIONS_DEFAULT= ALSA 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_VARS= QMAKE_CONFIGURE_ARGS+=-alsa ALSA_VARS_OFF= QMAKE_CONFIGURE_ARGS+=-no-alsa PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_VARS= QMAKE_CONFIGURE_ARGS+=-pulseaudio PULSEAUDIO_VARS_OFF= QMAKE_CONFIGURE_ARGS+=-no-pulseaudio SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_VARS= QMAKE_CONFIGURE_ARGS+=-sndio SNDIO_VARS_OFF= QMAKE_CONFIGURE_ARGS+=-no-sndio # We pass `norecursive' to USES=qmake because src/plugins/plugins.pro checks # whether webenginewidgets is available, which fails when qmake processes all # .pro files at once. USES= gl gnome gperf jpeg minizip ninja:build nodejs:build,lts \ perl5 pkgconfig python:build qmake:norecursive,outsource \ qt-dist:5,webengine shebangfix xorg USE_GL= gl USE_GNOME= glib20 libxml2 libxslt USE_PERL5= build USE_QT= core declarative gui location network printsupport \ webchannel widgets \ buildtools:build designer:build qmake:build USE_XORG= x11 xcb xcomposite xcursor xdamage xext xfixes xi xkbfile \ xorgproto xrandr xrender xscrnsaver xtst +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} QMAKE_CONFIGURE_ARGS= -proprietary-codecs -system-ffmpeg # We could just set it to an empty string as well. "all" does not account for # dependencies correctly in the generated Makefiles, use the right target here. ALL_TARGET= first # We need ar(1) from ports because the Chromium code uses the @file syntax. # We then need to ensure ld(1) from ports is used because of the archives ar(1) # generated. USE_BINUTILS= yes CC+= "-B${LOCALBASE}/bin" CXX+= "-B${LOCALBASE}/bin" # 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. # Since we use USES=qmake:norecursive, we also need to pass some variables to # MAKE_ENV because part of the configuration process happens during the build. 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} QT_BINARIES= yes .include .if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} PLIST_SUB+= BE="" LE="@comment " .else PLIST_SUB+= BE="@comment " LE="" .endif post-extract: # Install FreeBSD's freebsd.pri file. ${CP} ${FILESDIR}/freebsd.pri ${WRKSRC}/src/buildtools/config/freebsd.pri post-extract-SNDIO-on: @cd ${WRKSRC}/src/3rdparty/chromium/media/audio && ${MKDIR} sndio openbsd @${CP} ${FILESDIR}/sndio_*put.* \ ${WRKSRC}/src/3rdparty/chromium/media/audio/sndio @${CP} ${FILESDIR}/audio_manager_openbsd.* \ ${WRKSRC}/src/3rdparty/chromium/media/audio/openbsd post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/src/3rdparty/chromium/base/linux_util.cc \ ${WRKSRC}/src/3rdparty/chromium/base/test/BUILD.gn \ ${WRKSRC}/src/3rdparty/chromium/build/toolchain/gcc_toolchain.gni \ ${WRKSRC}/src/3rdparty/chromium/chrome/common/chrome_paths.cc \ ${WRKSRC}/src/3rdparty/chromium/third_party/pdfium/core/fxge/fx_ge_linux.cpp \ ${WRKSRC}/src/3rdparty/gn/build/gen.py @${REINPLACE_CMD} -E -e 's|^(MODULE_VERSION = ).*|\1${QT5_VERSION}|' \ ${WRKSRC}/.qmake.conf .if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} @${REINPLACE_CMD} -e 's/icudtl.dat/icudtb.dat/' \ ${WRKSRC}/src/core/core_module.pro .endif pre-configure: # Link in ${PYTHON_CMD} to ${CONFIGURE_WRKSRC}/bin -- the scripts hardcode 'python' # in too many places to reasonably patch. So just link in ${PYTHON_CMD} to work around # $LOCALBASE/bin/python being python3 if the default versions is set to 3.x. ${MKDIR} ${CONFIGURE_WRKSRC}/bin && ${LN} -s ${PYTHON_CMD} ${CONFIGURE_WRKSRC}/bin/python # Unbundle a few dependencies. cd ${WRKSRC}/src/3rdparty/chromium && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} \ ./build/linux/unbundle/replace_gn_files.py --system-libraries\ fontconfig freetype harfbuzz-ng libdrm libevent libpng libwebp libxml libxslt openh264 opus || ${FALSE} # Rerun syncqt.pl -- otherwise the resulting package misses some forwarding headers. cd ${WRKSRC} && ${QT_BINDIR}/syncqt.pl -version ${QT5_VERSION} post-build: # Fix version mismatches for CMake .for module in Pdf PdfWidgets WebEngine WebEngineCore WebEngineWidgets @${REINPLACE_CMD} -e '/${QT5_VERSION} $${_Qt5${module}_FIND_VERSION_EXACT}/s|${QT5_VERSION}|'"$$(${MAKE} -C ../../devel/qt5-core -VQT5_VERSION)"'|' \ ${BUILD_WRKSRC}/lib/cmake/Qt5${module}/Qt5${module}Config.cmake .endfor .include diff --git a/www/qt5-websockets/Makefile b/www/qt5-websockets/Makefile index 8021b81ca0d2..4f5f67f93164 100644 --- a/www/qt5-websockets/Makefile +++ b/www/qt5-websockets/Makefile @@ -1,13 +1,15 @@ PORTNAME= websockets PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= www PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt implementation of WebSocket protocol USES= compiler:c++11-lang perl5 qmake:norecursive qt-dist:5,websockets USE_PERL5= extract USE_QT= buildtools:build core network +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include diff --git a/www/qt5-webview/Makefile b/www/qt5-webview/Makefile index 86e237fd67d2..9d3ac0ff7c7b 100644 --- a/www/qt5-webview/Makefile +++ b/www/qt5-webview/Makefile @@ -1,24 +1,26 @@ PORTNAME= webview PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= www PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt component for displaying web content USES= compiler:c++11-lang gl perl5 qmake:norecursive qt-dist:5 USE_GL= gl USE_PERL5= build USE_QT= core declarative gui location network webchannel \ buildtools:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include .if ${ARCH} == amd64 || ${ARCH} == i386 PLIST_SUB+= WEBENGINE="" USE_QT+= webengine .else PLIST_SUB+= WEBENGINE="@comment " .endif .include diff --git a/x11-toolkits/qt5-charts/Makefile b/x11-toolkits/qt5-charts/Makefile index 130b5a11faa0..156d6cf82120 100644 --- a/x11-toolkits/qt5-charts/Makefile +++ b/x11-toolkits/qt5-charts/Makefile @@ -1,14 +1,16 @@ PORTNAME= charts PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= x11-toolkits PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt 5 charts module USES= compiler:c++11-lang perl5 qmake qt-dist:5,charts tar:xz USE_PERL5= build USE_QT= core declarative network gui widgets designer \ buildtools:build qmake:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include diff --git a/x11-toolkits/qt5-datavis3d/Makefile b/x11-toolkits/qt5-datavis3d/Makefile index f2aa821fb0dc..0d8d0fa5a2d4 100644 --- a/x11-toolkits/qt5-datavis3d/Makefile +++ b/x11-toolkits/qt5-datavis3d/Makefile @@ -1,14 +1,16 @@ PORTNAME= datavis3d PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= x11-toolkits PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt 5 3D data visualization module USE_PERL5= build USE_QT= core declarative network gui widgets designer buildtools:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} USES= compiler:c++11-lang perl5 qmake qt-dist:5,datavis3d .include diff --git a/x11-toolkits/qt5-declarative-test/Makefile b/x11-toolkits/qt5-declarative-test/Makefile index cd19fb851273..3eec0ea9d81c 100644 --- a/x11-toolkits/qt5-declarative-test/Makefile +++ b/x11-toolkits/qt5-declarative-test/Makefile @@ -1,31 +1,33 @@ PORTNAME= declarative-test PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= x11-toolkits PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt declarative framework for dynamic user interface (testing) WWW= https://qt-project.org USES= compiler:c++11-lang gl perl5 python:build qmake:norecursive \ qt-dist:5,declarative USE_GL= gl USE_PERL5= build USE_QT= core declarative gui network sql testlib widgets \ buildtools:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} CONFLICTS= qt5-declarative-render2d-* qt5-qml qt5-quick BINARY_ALIAS= python=${PYTHON_CMD} QT_BINARIES= yes TOOLS= qmltestrunner post-patch: # qtdeclarative.pro wants to run python, replace that with PYTHON_CMD ${REINPLACE_CMD} '/py_out/s#python#${PYTHON_CMD}#g' \ ${WRKSRC}/qtdeclarative.pro ${REINPLACE_CMD} 's,python,${PYTHON_CMD},g' \ ${WRKSRC}/src/3rdparty/masm/masm.pri .include diff --git a/x11-toolkits/qt5-declarative/Makefile b/x11-toolkits/qt5-declarative/Makefile index 275baf21c810..c86556381c4d 100644 --- a/x11-toolkits/qt5-declarative/Makefile +++ b/x11-toolkits/qt5-declarative/Makefile @@ -1,34 +1,36 @@ PORTNAME= declarative PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= x11-toolkits PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt declarative framework for dynamic user interfaces WWW= https://qt-project.org USES= compiler:c++11-lang gl perl5 python:build qmake:norecursive \ qt-dist:5 USE_GL= gl USE_PERL5= build USE_QT= core gui network sql widgets \ buildtools:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} CONFLICTS= qt5-declarative-render2d-* qt5-qml qt5-quick BINARY_ALIAS= python=${PYTHON_CMD} QT_BINARIES= yes QT_DEFINES= ACCESSIBILITY QT_CONFIG= accessibility accessibility-atspi-bridge TOOLS= qml qmlcachegen qmleasing qmlformat qmlimportscanner qmllint qmlmin \ qmlplugindump qmlpreview qmlprofiler qmlscene qmltyperegistrar post-patch: # qtdeclarative.pro wants to run python, replace that with PYTHON_CMD ${REINPLACE_CMD} '/py_out/s#python#${PYTHON_CMD}#g' \ ${WRKSRC}/qtdeclarative.pro ${REINPLACE_CMD} 's,python,${PYTHON_CMD},g' \ ${WRKSRC}/src/3rdparty/masm/masm.pri .include diff --git a/x11-toolkits/qt5-gamepad/Makefile b/x11-toolkits/qt5-gamepad/Makefile index 7f093a844670..05a30cfb1b43 100644 --- a/x11-toolkits/qt5-gamepad/Makefile +++ b/x11-toolkits/qt5-gamepad/Makefile @@ -1,15 +1,17 @@ PORTNAME= gamepad PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= x11-toolkits PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt 5 Gamepad Module BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto USES= compiler:c++11-lang perl5 qmake:norecursive qt-dist:5,gamepad USE_PERL5= build USE_QT= core declarative gui buildtools:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include diff --git a/x11-toolkits/qt5-quick3d/Makefile b/x11-toolkits/qt5-quick3d/Makefile index 0fc442b51705..e0d742349b52 100644 --- a/x11-toolkits/qt5-quick3d/Makefile +++ b/x11-toolkits/qt5-quick3d/Makefile @@ -1,19 +1,21 @@ PORTNAME= quick3d PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= x11-toolkits PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Set of controls for building complete interfaces in Qt Quick3D WWW= https://qt-project.org LIB_DEPENDS= libassimp.so:multimedia/assimp USES= compiler:c++11-lang perl5 qmake qt-dist:5 USE_PERL5= build USE_QT= core declarative gui network opengl \ buildtools:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} QT_BINARIES= yes .include diff --git a/x11-toolkits/qt5-quickcontrols2/Makefile b/x11-toolkits/qt5-quickcontrols2/Makefile index 8b9f55b246cb..f4307ec04946 100644 --- a/x11-toolkits/qt5-quickcontrols2/Makefile +++ b/x11-toolkits/qt5-quickcontrols2/Makefile @@ -1,18 +1,20 @@ PORTNAME= quickcontrols2 PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= x11-toolkits PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Set of controls for building complete interfaces in Qt Quick WWW= https://qt-project.org BROKEN_armv6= fails to install: pkg-static: Unable to access file DayOfWeekRow.qmlc: No such file or directory USES= compiler:c++11-lang perl5 qmake:norecursive qt-dist:5 USE_PERL5= build USE_QT= core declarative gui widgets \ buildtools:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} QT_DIST= ${PORTNAME} .include diff --git a/x11-toolkits/qt5-virtualkeyboard/Makefile b/x11-toolkits/qt5-virtualkeyboard/Makefile index b78e20f9e1ad..8eabe54908c9 100644 --- a/x11-toolkits/qt5-virtualkeyboard/Makefile +++ b/x11-toolkits/qt5-virtualkeyboard/Makefile @@ -1,19 +1,21 @@ PORTNAME= virtualkeyboard PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= x11-toolkits PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt 5 Virtual Keyboard Module LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell USES= compiler:c++11-lang pkgconfig qmake qt-dist:5,virtualkeyboard xorg USE_QT= core declarative network gui widgets svg buildtools:build +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} USE_XORG= xcb # Disable the builtin layouts -- otherwise we need to pull in a lot of other # stuff. QMAKE_ARGS= CONFIG+=disable-layouts .include diff --git a/x11-toolkits/qt5-widgets/Makefile b/x11-toolkits/qt5-widgets/Makefile index a22e410ea354..4b1ab8e817da 100644 --- a/x11-toolkits/qt5-widgets/Makefile +++ b/x11-toolkits/qt5-widgets/Makefile @@ -1,72 +1,74 @@ PORTNAME= widgets PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= x11-toolkits PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt C++ widgets module USES= compiler:c++11-lang perl5 qmake:no_env qt-dist:5,base xorg USE_PERL5= extract USE_QT= core gui qmake:build buildtools:build USE_XORG= x11 +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} HAS_CONFIGURE= yes BUILD_WRKSRC= ${WRKSRC}/src/${PORTNAME} INSTALL_WRKSRC= ${BUILD_WRKSRC} MORE_WRKSRCS= src/tools/uic QT_BINARIES= yes QT_DEFINES= ACCESSIBILITY WIDGETS XSYNC QT_CONFIG= accessibility accessibility-atspi-bridge xlib OPTIONS_DEFINE= GTK3 OPTIONS_SUB= YES GTK3_DESC= GTK-based Qt theme GTK3_USES= gnome GTK3_USE= GNOME=gtk30 QT=dbus GTK3_CONFIGURE_ON= -gtk GTK3_CONFIGURE_OFF= -no-gtk .include .if ${PORT_OPTIONS:MGTK3} QT_DEFINES+= STYLE_GTK QT_CONFIG+= gtk MORE_WRKSRCS+= src/plugins/platformthemes .else QT_DEFINES+= -STYLE_GTK QT_CONFIG+= -gtk .endif post-configure: .for d in src/tools/uic src/widgets ${MORE_WRKSRCS} ${MKDIR} ${WRKSRC}/${d} cd ${WRKSRC}/${d} && ${SETENV} ${QMAKE_ENV} ${_QMAKE} ${QMAKE_ARGS} ${WRKSRC}/${d} .endfor pre-build: cd ${WRKSRC}/src/tools/uic && \ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \ ${_MAKE_JOBS} ${MAKE_ARGS} ${ALL_TARGET} post-build: .for d in ${MORE_WRKSRCS} @cd ${WRKSRC}/${d} && \ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \ ${_MAKE_JOBS} ${MAKE_ARGS} ${ALL_TARGET} .endfor post-install: .for d in src/tools/uic ${MORE_WRKSRCS} @cd ${WRKSRC}/${d} && \ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \ ${MAKE_ARGS} ${INSTALL_TARGET} .endfor ${INSTALL_DATA} ${BUILD_WRKSRC}/dialogs/images/qtlogo-64.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/qt5logo.png ${RLN} ${STAGEDIR}${QT_BINDIR}/uic ${STAGEDIR}${PREFIX}/bin/uic-qt5 .include diff --git a/x11/qt5-x11extras/Makefile b/x11/qt5-x11extras/Makefile index 9c2b119b21bf..290f29f00bc1 100644 --- a/x11/qt5-x11extras/Makefile +++ b/x11/qt5-x11extras/Makefile @@ -1,14 +1,16 @@ PORTNAME= x11extras PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= x11 PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt platform-specific features for X11-based systems USES= compiler:c++11-lang perl5 qmake qt-dist:5,x11extras perl5 USE_PERL5= extract USE_QT= core gui \ buildtools:build # syncqt +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include