diff --git a/net-im/Makefile b/net-im/Makefile --- a/net-im/Makefile +++ b/net-im/Makefile @@ -112,6 +112,7 @@ SUBDIR += prosody SUBDIR += prosody-modules SUBDIR += psi + SUBDIR += psi-plus SUBDIR += purple-discord SUBDIR += purple-facebook SUBDIR += purple-googlechat diff --git a/net-im/psi-plus/Makefile b/net-im/psi-plus/Makefile new file mode 100644 --- /dev/null +++ b/net-im/psi-plus/Makefile @@ -0,0 +1,52 @@ +PORTNAME= psi-plus +DISTVERSION= 1.5.1599 +CATEGORIES= net-im + +MAINTAINER= ports@shiori.com.br +COMMENT= Qt-based XMPP client. Development version + +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libminizip.so:archivers/minizip \ + libusrsctp.so:net/libusrsctp + +USES= cmake compiler:c++11-lang desktop-file-utils pkgconfig qca qt:5 \ + ssl tar:xz xorg + +USE_GITHUB= yes +GH_PROJECT= psi-plus-snapshots + +USE_QT= concurrent core dbus gui multimedia network sql svg widgets \ + x11extras xml buildtools_build qmake_build sql-sqlite3_run + +USE_XORG= ice sm x11 xcb xext xscrnsaver + +OPTIONS_DEFINE= PLUGINS +OPTIONS_DEFAULT= HUNSPELL PLUGINS + +OPTIONS_RADIO= SPELLCHECK +OPTIONS_RADIO_SPELLCHECK= ENCHANT HUNSPELL + +OPTIONS_SUB= yes + +ENCHANT_DESC= Spell checking support via Enchant +PLUGINS_DESC= Usability and encryption add-ons e.g. OMEMO, OPENPGP, OTR +SPELLCHECK_DESC= Spell checker backend + +ENCHANT_LIB_DEPENDS= libenchant-2.so:textproc/enchant2 +ENCHANT_CMAKE_BOOL= USE_ENCHANT + +HUNSPELL_LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell +HUNSPELL_CMAKE_BOOL= USE_HUNSPELL + +PLUGINS_LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ + libgpg-error.so:security/libgpg-error \ + libhttp_parser.so:www/http-parser \ + libotr.so:security/libotr \ + libsignal-protocol-c.so:net/libsignal-protocol-c \ + libtidy.so:www/tidy-lib +PLUGINS_CMAKE_BOOL= ENABLE_PLUGINS +PLUGINS_CMAKE_ON= -DBUILD_PLUGINS="extendedoptionsplugin;imageplugin;imagepreviewplugin;omemoplugin;openpgpplugin;otrplugin" + +.include diff --git a/net-im/psi-plus/distinfo b/net-im/psi-plus/distinfo new file mode 100644 --- /dev/null +++ b/net-im/psi-plus/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1643077312 +SHA256 (psi-plus-psi-plus-snapshots-1.5.1599_GH0.tar.gz) = ffe2429a2b5be3ff955c7264fc367d76db4cc291859f6a99f4f6fad4d396b2a6 +SIZE (psi-plus-psi-plus-snapshots-1.5.1599_GH0.tar.gz) = 5948011 diff --git a/net-im/psi-plus/pkg-descr b/net-im/psi-plus/pkg-descr new file mode 100644 --- /dev/null +++ b/net-im/psi-plus/pkg-descr @@ -0,0 +1,7 @@ +Psi+ is the development version of Psi, a client for the XMPP procotol. +Written in C++ and based on the Qt library, it is extensible and implements +handful XEPs like whiteboarding, MAM, OMEMO encryption and OTR messaging. + +It does not require KDE to run. + +WWW: http://psi-plus.com/ diff --git a/net-im/psi-plus/pkg-plist b/net-im/psi-plus/pkg-plist new file mode 100644 --- /dev/null +++ b/net-im/psi-plus/pkg-plist @@ -0,0 +1,43 @@ +bin/psi-plus +%%PLUGINS%%lib/psi-plus/plugins/libextendedoptionsplugin.so +%%PLUGINS%%lib/psi-plus/plugins/libimageplugin.so +%%PLUGINS%%lib/psi-plus/plugins/libimagepreviewplugin.so +%%PLUGINS%%lib/psi-plus/plugins/libomemoplugin.so +%%PLUGINS%%lib/psi-plus/plugins/libopenpgpplugin.so +%%PLUGINS%%lib/psi-plus/plugins/libotrplugin.so +share/applications/psi-plus.desktop +share/icons/hicolor/128x128/apps/psi-plus.png +share/icons/hicolor/16x16/apps/psi-plus.png +share/icons/hicolor/32x32/apps/psi-plus.png +share/icons/hicolor/48x48/apps/psi-plus.png +share/icons/hicolor/64x64/apps/psi-plus.png +share/metainfo/psi-plus.appdata.xml +share/pixmaps/psi-plus.png +%%DATADIR%%/COPYING +%%DATADIR%%/README.html +%%DATADIR%%/certs/README +%%DATADIR%%/certs/startcom_ca.crt +%%DATADIR%%/certs/startcom_ca_new.crt +%%DATADIR%%/client_icons.txt +%%DATADIR%%/iconsets/roster/README +%%DATADIR%%/iconsets/roster/crystal-gadu.jisp +%%DATADIR%%/iconsets/roster/crystal-roster.jisp +%%DATADIR%%/iconsets/roster/crystal-service.jisp +%%DATADIR%%/iconsets/roster/crystal-sms.jisp +%%DATADIR%%/iconsets/roster/stellar-1.jisp +%%DATADIR%%/sound/attention.wav +%%DATADIR%%/sound/chat1.wav +%%DATADIR%%/sound/chat2.wav +%%DATADIR%%/sound/chess_error.wav +%%DATADIR%%/sound/chess_finish.wav +%%DATADIR%%/sound/chess_move.wav +%%DATADIR%%/sound/chess_start.wav +%%DATADIR%%/sound/email.wav +%%DATADIR%%/sound/ft_complete.wav +%%DATADIR%%/sound/ft_incoming.wav +%%DATADIR%%/sound/offline.wav +%%DATADIR%%/sound/online.wav +%%DATADIR%%/sound/pepnotify.wav +%%DATADIR%%/sound/reminder.wav +%%DATADIR%%/sound/send.wav +%%DATADIR%%/sound/watcher.wav