diff --git a/net-im/Makefile b/net-im/Makefile index e56e237d586a..00c38a44f58d 100644 --- a/net-im/Makefile +++ b/net-im/Makefile @@ -1,181 +1,182 @@ COMMENT = Instant messaging SUBDIR += beebeep SUBDIR += biboumi SUBDIR += chatterino2 SUBDIR += coccinella SUBDIR += conduit SUBDIR += convey SUBDIR += coyim SUBDIR += cutegram SUBDIR += dendrite SUBDIR += dino SUBDIR += discordo SUBDIR += dissent SUBDIR += echat SUBDIR += ejabberd SUBDIR += farstream SUBDIR += finch SUBDIR += folks SUBDIR += fractal SUBDIR += freetalk SUBDIR += gajim SUBDIR += gloox SUBDIR += gomuks SUBDIR += gotktrix SUBDIR += gotosocial SUBDIR += gurk-rs SUBDIR += iamb SUBDIR += icmpchat SUBDIR += icqlib SUBDIR += jarl SUBDIR += jicofo SUBDIR += jitsi-meet-full SUBDIR += jitsi-prosody-plugins SUBDIR += jitsi-srtp-native SUBDIR += jitsi-videobridge SUBDIR += jsxc SUBDIR += kaccounts-integration SUBDIR += kaccounts-providers SUBDIR += kaidan SUBDIR += kopete SUBDIR += libaccounts-glib SUBDIR += libaccounts-qt SUBDIR += libmesode SUBDIR += libnice SUBDIR += libnice-gst1 SUBDIR += libpurple SUBDIR += libqtelegram-ae SUBDIR += libquotient SUBDIR += libsignal-client SUBDIR += libsignal-node SUBDIR += libsignon-glib SUBDIR += libstrophe SUBDIR += linux-discord + SUBDIR += linux-whatsdesk SUBDIR += loudmouth SUBDIR += lurch SUBDIR += mastodon SUBDIR += matterbridge SUBDIR += matterhorn SUBDIR += matterircd SUBDIR += mbpurple SUBDIR += mcabber SUBDIR += meanwhile SUBDIR += mikutter SUBDIR += mtxclient SUBDIR += neochat SUBDIR += nextcloud-spreed-signaling SUBDIR += nextcloud-talk SUBDIR += nheko SUBDIR += openfire SUBDIR += oysttyer SUBDIR += p5-AnyEvent-XMPP SUBDIR += p5-DJabberd SUBDIR += p5-Jabber-Lite SUBDIR += p5-Jabber-SimpleSend SUBDIR += p5-Net-AOLIM SUBDIR += p5-Net-Async-XMPP SUBDIR += p5-Net-Jabber SUBDIR += p5-Net-NetSend SUBDIR += p5-Net-OSCAR SUBDIR += p5-Net-Stomp SUBDIR += p5-Net-XMPP SUBDIR += p5-Net-XMPP2 SUBDIR += p5-Protocol-XMPP SUBDIR += p5-SOAP-Transport-JABBER SUBDIR += pecl-stomp2 SUBDIR += pidgin SUBDIR += pidgin-bot-sentry SUBDIR += pidgin-fetion SUBDIR += pidgin-hotkeys SUBDIR += pidgin-icyque SUBDIR += pidgin-latex SUBDIR += pidgin-libnotify SUBDIR += pidgin-manualsize SUBDIR += pidgin-sipe SUBDIR += pidgin-skypeweb SUBDIR += pidgin-twitter SUBDIR += pidgin-window_merge SUBDIR += profanity SUBDIR += prosody SUBDIR += prosody-modules SUBDIR += psi SUBDIR += purple-discord SUBDIR += purple-facebook SUBDIR += purple-googlechat SUBDIR += purple-gowhatsapp SUBDIR += purple-mattermost SUBDIR += purple-plugin-pack SUBDIR += purple-rocketchat SUBDIR += purple-slack SUBDIR += py-apprise SUBDIR += py-fbmq SUBDIR += py-matrix-synapse SUBDIR += py-mattermostdriver SUBDIR += py-nbxmpp SUBDIR += py-punjab SUBDIR += py-python-telegram-bot SUBDIR += py-slack-sdk SUBDIR += py-slackeventsapi SUBDIR += py-slixmpp SUBDIR += py-telepot SUBDIR += py-toxcore-c SUBDIR += py-unmessage SUBDIR += qTox SUBDIR += quaternion SUBDIR += qxmpp SUBDIR += ricochet SUBDIR += rubygem-discordrb-webhooks SUBDIR += rubygem-discordrb-webhooks-blackst0ne SUBDIR += rubygem-hipchat SUBDIR += rubygem-lita SUBDIR += rubygem-termtter SUBDIR += rubygem-tinder SUBDIR += ruqola SUBDIR += sayaka SUBDIR += scli SUBDIR += sendxmpp SUBDIR += signal-cli SUBDIR += signal-desktop SUBDIR += signald SUBDIR += slack-term SUBDIR += spectral SUBDIR += ssh-chat SUBDIR += sshout SUBDIR += talkatu SUBDIR += tdlib SUBDIR += tdlib-purple SUBDIR += telegram-cli SUBDIR += telegram-desktop SUBDIR += telegramqml SUBDIR += teleirc SUBDIR += telepathy-accounts-signon SUBDIR += telepathy-farstream SUBDIR += telepathy-gabble SUBDIR += telepathy-glib SUBDIR += telepathy-idle SUBDIR += telepathy-logger SUBDIR += telepathy-logger-qt5 SUBDIR += telepathy-mission-control SUBDIR += telepathy-qt SUBDIR += telepathy-sofiasip SUBDIR += tg_owt SUBDIR += tkabber SUBDIR += tkabber-plugins SUBDIR += tokodon SUBDIR += toot SUBDIR += tox SUBDIR += tox_extension_messages SUBDIR += toxbot SUBDIR += toxext SUBDIR += toxic SUBDIR += toxins SUBDIR += twirssi SUBDIR += uTox SUBDIR += vqcc-gtk SUBDIR += xmpp-client SUBDIR += yume SUBDIR += zkgroup SUBDIR += zoom .include diff --git a/net-im/linux-whatsdesk/Makefile b/net-im/linux-whatsdesk/Makefile new file mode 100644 index 000000000000..3e5570c299c9 --- /dev/null +++ b/net-im/linux-whatsdesk/Makefile @@ -0,0 +1,57 @@ +PORTNAME= linux-whatsdesk +DISTVERSIONPREFIX= v +DISTVERSION= 0.3.9 +CATEGORIES= net-im +MASTER_SITES= https://zerkc.gitlab.io/whatsdesk/ +DISTFILES= whatsdesk_${DISTVERSION}_amd64.deb +EXTRACT_ONLY= ${DISTFILES:R}.tar.xz + +MAINTAINER= nivit@FreeBSD.org +COMMENT= Unofficial client of Whatsapp +WWW= https://gitlab.com/zerkc/whatsdesk + +LICENSE= AGPLv3 BSD3CLAUSE CC-BY-2.5 CC-BY-3.0 LGPL21 MIT MPL11 +LICENSE_COMB= multi + +ONLY_FOR_ARCHS= amd64 + +EXTRACT_DEPENDS= deb2targz:archivers/deb2targz + +USES= desktop-file-utils linux:rl9 tar:xz +USE_LINUX= alsa-plugins-oss alsa-plugins-pulseaudio alsalib at-spi2-atk \ + atk ca-certificates cups-libs dbuslibs devtools gtk3 libdrm \ + libsigsegv nss opus + +NO_BUILD= yes +SUB_FILES= ${PORTNAME} +SUB_LIST= LINUXBASE=${LINUXBASE} + +NO_WRKSUBDIR= yes + +STRIP_CMD= ${LINUXBASE}/usr/bin/strip + +pre-extract: + ${LOCALBASE}/bin/deb2targz ${DISTDIR}/${DISTFILES} + +# remove artifact of deb2targz +post-extract: + @${RM} ${DISTDIR}/${DISTFILES:R}.tar.xz + +post-patch: + ${REINPLACE_CMD} -i "" \ + -e "s,/opt/whatsdesk/\(whatsdesk\),${PREFIX}/bin/linux-\1,1" \ + ${WRKSRC}/usr/share/applications/whatsdesk.desktop + +do-install: + @${MKDIR} ${STAGEDIR}${DATADIR} + (cd ${WRKSRC}/opt/whatsdesk && \ + ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} \ + "-not -regex \./LICENSE.*") + (cd ${WRKSRC}/usr/share && \ + ${COPYTREE_SHARE} . ${STAGEDIR}${LOCALBASE}/share \ + "-not -regex \./doc.*") + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${LOCALBASE}/bin/${PORTNAME} + (cd ${STAGEDIR}${DATADIR} && \ + ${STRIP_CMD} chrome-sandbox libvulkan.so.1) + +.include diff --git a/net-im/linux-whatsdesk/distinfo b/net-im/linux-whatsdesk/distinfo new file mode 100644 index 000000000000..64f79d45a5d9 --- /dev/null +++ b/net-im/linux-whatsdesk/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1724279277 +SHA256 (whatsdesk_0.3.9_amd64.deb) = 4756f5c9f22e889fcec3aa34c587cb10bc6e7ccb476d6481e58267c4f6df181e +SIZE (whatsdesk_0.3.9_amd64.deb) = 64354830 diff --git a/net-im/linux-whatsdesk/files/linux-whatsdesk.in b/net-im/linux-whatsdesk/files/linux-whatsdesk.in new file mode 100755 index 000000000000..39df1e544af2 --- /dev/null +++ b/net-im/linux-whatsdesk/files/linux-whatsdesk.in @@ -0,0 +1,11 @@ +#!%%LINUXBASE%%/bin/bash + +export ELECTRON_IS_DEV=0 +export LIBGL_DRI3_DISABLE=1 +export NODE_ENV=production +# workaround Chromium bug https://bugs.chromium.org/p/chromium/issues/detail?id=918234 +if [ "$DBUS_SESSION_BUS_ADDRESS" = "" ]; then + export DBUS_SESSION_BUS_ADDRESS="autolaunch:" +fi + +exec -a "$0" "%%DATADIR%%/whatsdesk" --no-sandbox "$@" diff --git a/net-im/linux-whatsdesk/pkg-descr b/net-im/linux-whatsdesk/pkg-descr new file mode 100644 index 000000000000..fd5ea916550f --- /dev/null +++ b/net-im/linux-whatsdesk/pkg-descr @@ -0,0 +1,4 @@ +WhatsDesk is an unofficial client of whatsapp. + +This project is only inserting an instance of Whatsapp Web in an electron app +and adds/enables desktop notifications. diff --git a/net-im/linux-whatsdesk/pkg-message b/net-im/linux-whatsdesk/pkg-message new file mode 100644 index 000000000000..0658f441fc7f --- /dev/null +++ b/net-im/linux-whatsdesk/pkg-message @@ -0,0 +1,13 @@ +[ +{ type: install + message: <