49eaa88d7d
- To allow for co-instability, the header files have been moved to a prefix. This location might change again in the future, if upstream adapts their build system for co-instability. - The android related file is simply not cared about in the Qt6 version, to allow for co-instability. Approved by: adridg
42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
PORTNAME= Quaternion
|
|
DISTVERSION= 0.0.95.1
|
|
PORTREVISION= 4
|
|
CATEGORIES= net-im
|
|
|
|
MAINTAINER= adridg@FreeBSD.org
|
|
COMMENT= Matrix IM client based on Qt technologies
|
|
WWW= https://github.com/quotient-im/Quaternion/
|
|
|
|
LICENSE= GPLv3+
|
|
LICENSE_FILE= ${WRKSRC}/LICENSES/GPL-3.0-or-later.txt
|
|
|
|
LIB_DEPENDS= libqt5keychain.so:security/qtkeychain@qt5 \
|
|
libsecret-1.so:security/libsecret \
|
|
libolm.so:security/olm
|
|
BUILD_DEPENDS= libquotient-qt5>=0.8.1:net-im/libquotient@qt5
|
|
# Quotient is a static lib, doesn't need to be in RUN_DEPENDS
|
|
|
|
USES= cmake compiler:c++17-lang desktop-file-utils \
|
|
gettext-runtime gnome \
|
|
localbase:ldflags qt:5 tar:xz
|
|
USE_GNOME= glib20
|
|
USE_QT= core dbus declarative gui multimedia network \
|
|
quickcontrols quickcontrols2 sql widgets \
|
|
buildtools:build linguist:build qmake:build
|
|
|
|
CMAKE_OFF= BUILD_WITH_QT6
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= quotient-im
|
|
GH_TAGNAME= 447d8ec4f990499fb589a37b7e8eae8c6781cadc
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
|
USES+= llvm:max=15
|
|
CPP= clang-cpp${LLVM_VERSION}
|
|
CC= clang${LLVM_VERSION}
|
|
CXX= clang++${LLVM_VERSION}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|