8c48f47bcd
After this afternoon's accidental update, fix the port and complete the update. - Spectral expects some unreleased and unpackaged dependencies, which is why the DISTFILES are a mess: it's gitlab, except this one dependency on github, and this other one. - libQuotient is net-im/libQuaternion, except that spectral needs a newer-than-the-latest-unreleased version. - there is a rather arbitrary and hackish patch to avoid a compile error -- during template expansion of visit() I sometimes got a compiler crash, more often an error about returning a value in a void function. Since the whole package is glued together with unreleased submodules, I spent some time trying to fix it, and then decided that this is non-essential functionality. Two events trigger the compile error, so I commented them out. PORTREVISION bumped because there's a tiny chance that something might have built out of the mess that there was earlier.
43 lines
1.3 KiB
Makefile
43 lines
1.3 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= spectral
|
|
PORTVERSION= 817
|
|
PORTREVISION= 1
|
|
CATEGORIES= net-im
|
|
|
|
MAINTAINER= adridg@FreeBSD.org
|
|
COMMENT= Glossy Matrix IM client based on Qt technologies
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libqt5keychain.so:security/qtkeychain \
|
|
libcmark.so:textproc/cmark
|
|
|
|
USES= cmake compiler:c++17-lang gl pkgconfig qt:5 tar:bz2
|
|
USE_GL= gl
|
|
USE_QT= core dbus declarative graphicaleffects gui imageformats \
|
|
multimedia network quickcontrols quickcontrols2 svg widgets \
|
|
buildtools_build linguist_build qmake_build
|
|
|
|
CMAKE_ON= USE_INTREE_LIBQMC
|
|
|
|
SFPMNAME= SortFilterProxyModel
|
|
SFPMVERSION= 36befddf5d57faad990e72c88c5844794f274145
|
|
QUOTNAME= libQuotient
|
|
QUOTVERSION= 58dfe74390ebdd8ec6611d3b8fecfe7d051ff955
|
|
DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.bz2:spectral \
|
|
${SFPMVERSION}.zip:sfpm \
|
|
${QUOTVERSION}.zip:quot
|
|
MASTER_SITES= https://gitlab.com/spectral-im/spectral/-/archive/${PORTVERSION}/:spectral \
|
|
https://github.com/oKcerG/${SFPMNAME}/archive/:sfpm \
|
|
https://github.com/quotient-im/${QUOTNAME}/archive/:quot
|
|
|
|
|
|
post-extract:
|
|
${RMDIR} ${WRKSRC}/include/${SFPMNAME} ${WRKSRC}/include/${QUOTNAME}
|
|
${LN} -s ${WRKDIR}/${SFPMNAME}-${SFPMVERSION} ${WRKSRC}/include/${SFPMNAME}
|
|
${LN} -s ${WRKDIR}/${QUOTNAME}-${QUOTVERSION} ${WRKSRC}/include/${QUOTNAME}
|
|
|
|
.include <bsd.port.mk>
|