New port: net-im/neochat

neochat is a KDE fork of net-im/spectral, using KDE technologies on
top of the Qt bits from spectral. It's not clear if spectral is still
being developed. If not, I'll deprecate the spectral port in a while.

One UI glitch is present, because of KDE Frameworks 5.75 -- the
requirement for 5.76 is patched out in the port, because 5.76
has not landed yet.
This commit is contained in:
Adriaan de Groot 2020-11-20 22:23:30 +00:00
parent 1700edcf38
commit 238967e2da
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=555794
6 changed files with 59 additions and 0 deletions

View File

@ -76,6 +76,7 @@
SUBDIR += meanwhile
SUBDIR += mikutter
SUBDIR += mtxclient
SUBDIR += neochat
SUBDIR += nextcloud-talk
SUBDIR += nheko
SUBDIR += openfire

34
net-im/neochat/Makefile Normal file
View File

@ -0,0 +1,34 @@
# $FreeBSD$
PORTNAME= neochat
PORTVERSION= 0.1.0
CATEGORIES= net-im
MAINTAINER= adridg@FreeBSD.org
COMMENT= Glossy Matrix IM client based on KDE technologies
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSES/GPL-3.0-only.txt
LIB_DEPENDS= libcmark.so:textproc/cmark \
libqt5keychain.so:security/qtkeychain
BUILD_DEPENDS= libquotient>=0.6.2:net-im/libquotient
USES= cmake compiler:c++17-lang gl kde:5 pkgconfig qt:5 tar:bz2
USE_GL= gl
USE_QT= core dbus declarative graphicaleffects gui imageformats \
multimedia network quickcontrols quickcontrols2 \
svg widgets xml \
buildtools_build linguist_build qmake_build
USE_KDE= config i18n kirigami2 notifications \
ecm_build
COMMIT= 1c6f1f7353dee450228d14a44f4d23968a4d890d
DISTFILES= ${PORTNAME}-${COMMIT}.tar.bz2:neochat
MASTER_SITES= https://invent.kde.org/network/${PORTNAME}/-/archive/${COMMIT}/:neochat
# This is a hack before the first KDE release service release, since we're
# fetching GIT hashes rather than a tidy tarball.
WRKSRC= ${WRKDIR}/${PORTNAME}-${COMMIT}
.include <bsd.port.mk>

3
net-im/neochat/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1605890058
SHA256 (neochat-1c6f1f7353dee450228d14a44f4d23968a4d890d.tar.bz2) = 67a2f558f137ee9babdd4e6b029e950819f5481d2e1edc706c35fa3c425b2c3d
SIZE (neochat-1c6f1f7353dee450228d14a44f4d23968a4d890d.tar.bz2) = 131918

View File

@ -0,0 +1,11 @@
--- CMakeLists.txt.orig 2020-11-20 16:39:59 UTC
+++ CMakeLists.txt
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.1)
project(Neochat)
-set(KF5_MIN_VERSION "5.76.0")
+set(KF5_MIN_VERSION "5.75.0")
set(QT_MIN_VERSION "5.15.0")
find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)

5
net-im/neochat/pkg-descr Normal file
View File

@ -0,0 +1,5 @@
Neochat is a client for Matrix, the decentralized communication protocol
for instant messaging. It is a fork of Spectral, using KDE frameworks,
most notably Kirigami, KConfig and KI18n.
WWW: https://invent.kde.org/network/neochat

5
net-im/neochat/pkg-plist Normal file
View File

@ -0,0 +1,5 @@
bin/neochat
share/applications/org.kde.neochat.desktop
share/icons/hicolor/scalable/apps/neochat.svg
share/knotifications5/neochat.notifyrc
share/metainfo/org.kde.neochat.appdata.xml