devel/qca: add flavors for Qt 5 and Qt 6
This commit is contained in:
parent
827afb1759
commit
630a8a1ea5
@ -13,11 +13,16 @@ _INCLUDE_QCA_MK= yes
|
||||
IGNORE+= USES=qca takes no arguments
|
||||
. endif
|
||||
|
||||
_QCA_LIB= libqca-qt5.so
|
||||
. if empty(USES:Mqt*)
|
||||
IGNORE+= Qt version not specified
|
||||
. endif
|
||||
|
||||
_QCA_LIB= libqca-qt${_QT_VER}.so
|
||||
|
||||
_QCA_DEFAULT_PORT= devel/qca
|
||||
_QCA_CHOSEN_PORT= DEFAULT
|
||||
_QCA_FLAVOR= qt${_QT_VER}
|
||||
|
||||
LIB_DEPENDS+= ${_QCA_LIB}:${_QCA_${_QCA_CHOSEN_PORT}_PORT}
|
||||
LIB_DEPENDS+= ${_QCA_LIB}:${_QCA_${_QCA_CHOSEN_PORT}_PORT}@${_QCA_FLAVOR}
|
||||
|
||||
.endif
|
||||
|
@ -1,7 +1,7 @@
|
||||
PORTNAME= amarok
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 2.9.71
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= audio kde
|
||||
|
||||
MAINTAINER= kde@FreeBSD.org
|
||||
|
@ -1,6 +1,6 @@
|
||||
PORTNAME= kbibtex
|
||||
DISTVERSION= 0.9.2
|
||||
PORTREVISION= 33
|
||||
PORTREVISION= 34
|
||||
CATEGORIES= databases kde
|
||||
MASTER_SITES= KDE/stable/KBibTeX/${DISTVERSION}
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
PORTNAME= kdeconnect-kde
|
||||
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= deskutils kde kde-applications
|
||||
|
||||
MAINTAINER= kde@FreeBSD.org
|
||||
|
@ -1,5 +1,6 @@
|
||||
PORTNAME= kdepim-runtime
|
||||
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= deskutils kde kde-applications
|
||||
|
||||
MAINTAINER= kde@FreeBSD.org
|
||||
|
@ -1,5 +1,6 @@
|
||||
PORTNAME= okteta
|
||||
DISTVERSION= 0.26.9
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= devel kde
|
||||
MASTER_SITES= KDE/stable/${PORTNAME}/${DISTVERSION}/src
|
||||
|
@ -1,8 +1,9 @@
|
||||
PORTNAME= qca
|
||||
DISTVERSION= 2.3.4
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= KDE/stable/qca/${PORTVERSION}
|
||||
PKGNAMESUFFIX= -qt5
|
||||
PKGNAMESUFFIX= -${FLAVOR}
|
||||
|
||||
MAINTAINER= kde@FreeBSD.org
|
||||
COMMENT= Cross-platform crypto API for Qt ${FLAVOR:C/qt//}
|
||||
@ -10,10 +11,13 @@ COMMENT= Cross-platform crypto API for Qt ${FLAVOR:C/qt//}
|
||||
LICENSE= LGPL21
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
FLAVORS= qt5 qt6
|
||||
FLAVOR?= qt5
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
|
||||
RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
|
||||
|
||||
USES= cmake compiler:c++11-lang qt:5 tar:xz
|
||||
USES= cmake compiler:c++11-lang qt:${FLAVOR:S/qt//} tar:xz
|
||||
CMAKE_ARGS= -DBUILD_PLUGINS=none -DBUILD_TESTS=no \
|
||||
-DPKGCONFIG_INSTALL_PREFIX=${PREFIX}/libdata/pkgconfig \
|
||||
-DQCA_FEATURE_INSTALL_DIR=${QT_MKSPECDIR}/features \
|
||||
@ -21,10 +25,17 @@ CMAKE_ARGS= -DBUILD_PLUGINS=none -DBUILD_TESTS=no \
|
||||
CONFIGURE_ENV= QC_CERTSTORE_PATH=${LOCALBASE}/share/certs/ca-root-nss.crt
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
CMAKE_ARGS+= -DQCA_SUFFIX=qt5
|
||||
USE_QT= core buildtools_build qmake_build
|
||||
CMAKE_ARGS+= -DQCA_SUFFIX=${FLAVOR} \
|
||||
-D${FLAVOR:tu}:BOOL=TRUE
|
||||
_USE_QT5= core buildtools_build qmake_build
|
||||
_USE_QT6= 5compat base
|
||||
USE_QT= ${_USE_QT${FLAVOR:S/qt//}}
|
||||
|
||||
PLIST_SUB= SHLIB_VER=${PORTVERSION}
|
||||
_PLIST_SUB_QT5= QT5_ONLY=""
|
||||
_PLIST_SUB_QT6= QT5_ONLY="@comment "
|
||||
PLIST_SUB= SHLIB_VER=${PORTVERSION} \
|
||||
QCA_QT_VERSION=${FLAVOR} \
|
||||
${_PLIST_SUB_QT${FLAVOR:S/qt//}}
|
||||
|
||||
OPTIONS_DEFINE= BOTAN GNUPG OPENSSL SASL TEST
|
||||
OPTIONS_DEFAULT=GNUPG OPENSSL
|
||||
|
@ -1,33 +1,33 @@
|
||||
bin/mozcerts-qt5
|
||||
bin/qcatool-qt5
|
||||
include/Qca-qt5/QtCrypto/QtCrypto
|
||||
include/Qca-qt5/QtCrypto/qca.h
|
||||
include/Qca-qt5/QtCrypto/qca_basic.h
|
||||
include/Qca-qt5/QtCrypto/qca_cert.h
|
||||
include/Qca-qt5/QtCrypto/qca_core.h
|
||||
include/Qca-qt5/QtCrypto/qca_export.h
|
||||
include/Qca-qt5/QtCrypto/qca_keystore.h
|
||||
include/Qca-qt5/QtCrypto/qca_publickey.h
|
||||
include/Qca-qt5/QtCrypto/qca_safetimer.h
|
||||
include/Qca-qt5/QtCrypto/qca_securelayer.h
|
||||
include/Qca-qt5/QtCrypto/qca_securemessage.h
|
||||
include/Qca-qt5/QtCrypto/qca_support.h
|
||||
include/Qca-qt5/QtCrypto/qca_textfilter.h
|
||||
include/Qca-qt5/QtCrypto/qca_tools.h
|
||||
include/Qca-qt5/QtCrypto/qca_version.h
|
||||
include/Qca-qt5/QtCrypto/qcaprovider.h
|
||||
include/Qca-qt5/QtCrypto/qpipe.h
|
||||
lib/cmake/Qca-qt5/Qca-qt5Config.cmake
|
||||
lib/cmake/Qca-qt5/Qca-qt5ConfigVersion.cmake
|
||||
lib/cmake/Qca-qt5/Qca-qt5Targets-%%CMAKE_BUILD_TYPE%%.cmake
|
||||
lib/cmake/Qca-qt5/Qca-qt5Targets.cmake
|
||||
lib/libqca-qt5.so
|
||||
lib/libqca-qt5.so.2
|
||||
lib/libqca-qt5.so.%%SHLIB_VER%%
|
||||
%%BOTAN%%lib/qca-qt5/crypto/libqca-botan.so
|
||||
%%SASL%%lib/qca-qt5/crypto/libqca-cyrus-sasl.so
|
||||
%%GNUPG%%lib/qca-qt5/crypto/libqca-gnupg.so
|
||||
%%OPENSSL%%lib/qca-qt5/crypto/libqca-ossl.so
|
||||
%%QT_MKSPECDIR%%/features/crypto.prf
|
||||
libdata/pkgconfig/qca2-qt5.pc
|
||||
man/man1/qcatool-qt5.1.gz
|
||||
bin/mozcerts-%%QCA_QT_VERSION%%
|
||||
bin/qcatool-%%QCA_QT_VERSION%%
|
||||
include/Qca-%%QCA_QT_VERSION%%/QtCrypto/QtCrypto
|
||||
include/Qca-%%QCA_QT_VERSION%%/QtCrypto/qca.h
|
||||
include/Qca-%%QCA_QT_VERSION%%/QtCrypto/qca_basic.h
|
||||
include/Qca-%%QCA_QT_VERSION%%/QtCrypto/qca_cert.h
|
||||
include/Qca-%%QCA_QT_VERSION%%/QtCrypto/qca_core.h
|
||||
include/Qca-%%QCA_QT_VERSION%%/QtCrypto/qca_export.h
|
||||
include/Qca-%%QCA_QT_VERSION%%/QtCrypto/qca_keystore.h
|
||||
include/Qca-%%QCA_QT_VERSION%%/QtCrypto/qca_publickey.h
|
||||
include/Qca-%%QCA_QT_VERSION%%/QtCrypto/qca_safetimer.h
|
||||
include/Qca-%%QCA_QT_VERSION%%/QtCrypto/qca_securelayer.h
|
||||
include/Qca-%%QCA_QT_VERSION%%/QtCrypto/qca_securemessage.h
|
||||
include/Qca-%%QCA_QT_VERSION%%/QtCrypto/qca_support.h
|
||||
include/Qca-%%QCA_QT_VERSION%%/QtCrypto/qca_textfilter.h
|
||||
include/Qca-%%QCA_QT_VERSION%%/QtCrypto/qca_tools.h
|
||||
include/Qca-%%QCA_QT_VERSION%%/QtCrypto/qca_version.h
|
||||
include/Qca-%%QCA_QT_VERSION%%/QtCrypto/qcaprovider.h
|
||||
include/Qca-%%QCA_QT_VERSION%%/QtCrypto/qpipe.h
|
||||
lib/cmake/Qca-%%QCA_QT_VERSION%%/Qca-%%QCA_QT_VERSION%%Config.cmake
|
||||
lib/cmake/Qca-%%QCA_QT_VERSION%%/Qca-%%QCA_QT_VERSION%%ConfigVersion.cmake
|
||||
lib/cmake/Qca-%%QCA_QT_VERSION%%/Qca-%%QCA_QT_VERSION%%Targets-%%CMAKE_BUILD_TYPE%%.cmake
|
||||
lib/cmake/Qca-%%QCA_QT_VERSION%%/Qca-%%QCA_QT_VERSION%%Targets.cmake
|
||||
lib/libqca-%%QCA_QT_VERSION%%.so
|
||||
lib/libqca-%%QCA_QT_VERSION%%.so.2
|
||||
lib/libqca-%%QCA_QT_VERSION%%.so.%%SHLIB_VER%%
|
||||
%%BOTAN%%lib/qca-%%QCA_QT_VERSION%%/crypto/libqca-botan.so
|
||||
%%SASL%%lib/qca-%%QCA_QT_VERSION%%/crypto/libqca-cyrus-sasl.so
|
||||
%%GNUPG%%lib/qca-%%QCA_QT_VERSION%%/crypto/libqca-gnupg.so
|
||||
%%OPENSSL%%lib/qca-%%QCA_QT_VERSION%%/crypto/libqca-ossl.so
|
||||
%%QT5_ONLY%%%%QT_MKSPECDIR%%/features/crypto.prf
|
||||
%%QT5_ONLY%%libdata/pkgconfig/qca2-%%QCA_QT_VERSION%%.pc
|
||||
man/man1/qcatool-%%QCA_QT_VERSION%%.1.gz
|
||||
|
@ -1,6 +1,6 @@
|
||||
PORTNAME= calligra
|
||||
DISTVERSION= 3.2.1
|
||||
PORTREVISION= 41
|
||||
PORTREVISION= 42
|
||||
CATEGORIES= editors kde
|
||||
MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}
|
||||
DIST_SUBDIR= KDE/${PORTNAME}
|
||||
|
@ -1,5 +1,6 @@
|
||||
PORTNAME= skrooge
|
||||
DISTVERSION= 2.28.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= finance kde
|
||||
MASTER_SITES= KDE/stable/${PORTNAME}
|
||||
DIST_SUBDIR= KDE/${PORTNAME}
|
||||
|
@ -1,5 +1,6 @@
|
||||
PORTNAME= ksirk
|
||||
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= games kde kde-applications
|
||||
|
||||
MAINTAINER= kde@FreeBSD.org
|
||||
|
@ -1,5 +1,6 @@
|
||||
PORTNAME= okular
|
||||
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= graphics kde kde-applications
|
||||
|
||||
MAINTAINER= kde@FreeBSD.org
|
||||
|
@ -1,5 +1,6 @@
|
||||
PORTNAME= qgis
|
||||
DISTVERSION= 3.22.10
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= graphics geography
|
||||
MASTER_SITES= https://qgis.org/downloads/
|
||||
PKGNAMESUFFIX= -ltr
|
||||
|
@ -1,5 +1,6 @@
|
||||
PORTNAME= qgis
|
||||
DISTVERSION= 3.26.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= graphics geography
|
||||
MASTER_SITES= https://qgis.org/downloads/
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
PORTNAME= konversation
|
||||
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= irc kde kde-applications
|
||||
|
||||
MAINTAINER= kde@FreeBSD.org
|
||||
|
@ -1,6 +1,6 @@
|
||||
PORTNAME= quassel
|
||||
DISTVERSION= 0.14.0
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= irc
|
||||
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${DISTVERSION}/
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
PORTNAME= kopete
|
||||
PORTVERSION= ${KDE_APPLICATIONS_VERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net-im kde kde-applications
|
||||
|
||||
MAINTAINER= kde@FreeBSD.org
|
||||
|
@ -1,5 +1,6 @@
|
||||
PORTNAME= ktp-auth-handler
|
||||
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net-im kde kde-applications
|
||||
|
||||
MAINTAINER= kde@FreeBSD.org
|
||||
|
@ -1,5 +1,6 @@
|
||||
PORTNAME= psi
|
||||
PORTVERSION= 1.5
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net-im
|
||||
MASTER_SITES= SF/${PORTNAME}/Psi/${PORTVERSION}
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
PORTNAME= libktorrent
|
||||
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net-p2p kde kde-applications
|
||||
|
||||
MAINTAINER= kde@FreeBSD.org
|
||||
|
@ -1,5 +1,6 @@
|
||||
PORTNAME= kget
|
||||
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net kde kde-applications
|
||||
|
||||
MAINTAINER= kde@FreeBSD.org
|
||||
|
@ -1,5 +1,6 @@
|
||||
PORTNAME= messagelib
|
||||
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net kde kde-applications
|
||||
|
||||
MAINTAINER= kde@FreeBSD.org
|
||||
|
@ -1,7 +1,7 @@
|
||||
PORTNAME= qoauth
|
||||
PORTVERSION= 2.0.0
|
||||
DISTVERSIONPREFIX= v
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
CATEGORIES= net devel security
|
||||
PKGNAMESUFFIX= -qt5
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
PORTNAME= kadu
|
||||
PORTVERSION= 4.3
|
||||
PORTREVISION= 23
|
||||
PORTREVISION= 24
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= polish net-im
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/:kadu \
|
||||
|
@ -1,5 +1,6 @@
|
||||
PORTNAME= kwallet
|
||||
DISTVERSION= ${KDE_FRAMEWORKS_VERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils kde kde-frameworks
|
||||
|
||||
PATCH_SITES= https://invent.kde.org/frameworks/kwallet/-/commit/
|
||||
|
@ -1,6 +1,6 @@
|
||||
PORTNAME= choqok
|
||||
DISTVERSION= 1.7.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= www kde
|
||||
MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION:R}/src
|
||||
DIST_SUBDIR= KDE/${PORTNAME}
|
||||
|
@ -1,6 +1,6 @@
|
||||
PORTNAME= kactivitymanagerd
|
||||
DISTVERSION= ${KDE_PLASMA_VERSION}
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= x11 kde kde-plasma
|
||||
|
||||
MAINTAINER= kde@FreeBSD.org
|
||||
|
Loading…
Reference in New Issue
Block a user