diff --git a/net-im/Makefile b/net-im/Makefile index e6f3d7039073..c218b559529e 100644 --- a/net-im/Makefile +++ b/net-im/Makefile @@ -1,178 +1,179 @@ COMMENT = Instant messaging SUBDIR += beebeep SUBDIR += biboumi SUBDIR += coccinella SUBDIR += concord SUBDIR += conduit SUBDIR += convey SUBDIR += coyim SUBDIR += cutegram SUBDIR += debugtox SUBDIR += dendrite SUBDIR += dino SUBDIR += discordo SUBDIR += dissent SUBDIR += echat SUBDIR += ejabberd SUBDIR += farstream SUBDIR += finch SUBDIR += flare 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 += 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-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-rocketchat SUBDIR += purple-slack SUBDIR += purple-teams SUBDIR += py-apprise SUBDIR += py-fbmq SUBDIR += py-matrix-synapse SUBDIR += py-mattermostdriver SUBDIR += py-nbxmpp SUBDIR += py-python-telegram-bot SUBDIR += py-slack-sdk SUBDIR += py-slackeventsapi SUBDIR += py-slixmpp 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 += scli SUBDIR += sendxmpp SUBDIR += signal-cli SUBDIR += signal-desktop SUBDIR += signald SUBDIR += slack-term SUBDIR += snac SUBDIR += spectral SUBDIR += ssh-chat SUBDIR += sshout + SUBDIR += tde2e 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-mission-control 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 += tuba SUBDIR += twirssi SUBDIR += uTox SUBDIR += vqcc-gtk SUBDIR += xmpp-client SUBDIR += yume SUBDIR += zkgroup SUBDIR += zoom .include diff --git a/net-im/tde2e/Makefile b/net-im/tde2e/Makefile new file mode 100644 index 000000000000..26dbcbd47ed1 --- /dev/null +++ b/net-im/tde2e/Makefile @@ -0,0 +1,30 @@ +PORTNAME= tde2e +DISTVERSIONPREFIX= v +DISTVERSION= 1.8.49 +CATEGORIES= net-im devel + +MAINTAINER= osa@FreeBSD.org +COMMENT= Library for building Telegram clients +WWW= https://github.com/tdlib/td + +LICENSE= BSL + +USES= cmake:testing compiler:c++14-lang gperf readline ssl + +CONFLICTS_INSTALL= tdlib + +USE_GITHUB= yes +GH_ACCOUNT= tdlib +GH_PROJECT= td +GH_TAGNAME= 51743df # 1.8.49 + patches + +CMAKE_ON= TD_INSTALL_STATIC_LIBRARIES TD_E2E_ONLY +CMAKE_OFF= BUILD_TESTING FREEBSD_BUILD_BENCHMARKS + +PLIST_SUB+= LIBVERSION=${PORTVERSION} + +post-patch: + @${REINPLACE_CMD} -e 's|%%COMMIT%%|${GH_TAGNAME}|g' \ + ${WRKSRC}/CMake/GetGitRevisionDescription.cmake + +.include diff --git a/net-im/tde2e/distinfo b/net-im/tde2e/distinfo new file mode 100644 index 000000000000..32acaaec2c96 --- /dev/null +++ b/net-im/tde2e/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1748015088 +SHA256 (tdlib-td-v1.8.49-51743df_GH0.tar.gz) = 19969a245e584e79f8ba0588cc8f3e762ef21a406a2050e54da1dea77de5a7cf +SIZE (tdlib-td-v1.8.49-51743df_GH0.tar.gz) = 5474589 diff --git a/net-im/tde2e/files/patch-CMakeLists.txt b/net-im/tde2e/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..2e8b91fcc1d6 --- /dev/null +++ b/net-im/tde2e/files/patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2025-05-23 15:52:11 UTC ++++ CMakeLists.txt +@@ -238,7 +238,7 @@ endif() + add_subdirectory(test) + endif() + +-if (NOT CMAKE_CROSSCOMPILING) ++if (FREEBSD_BUILD_BENCHMARKS AND NOT CMAKE_CROSSCOMPILING) + add_subdirectory(benchmark) + endif() + diff --git a/net-im/tde2e/files/patch-CMake_GetGitRevisionDescription.cmake b/net-im/tde2e/files/patch-CMake_GetGitRevisionDescription.cmake new file mode 100644 index 000000000000..513f018c9395 --- /dev/null +++ b/net-im/tde2e/files/patch-CMake_GetGitRevisionDescription.cmake @@ -0,0 +1,11 @@ +--- CMake/GetGitRevisionDescription.cmake.orig 2025-05-10 18:47:56 UTC ++++ CMake/GetGitRevisionDescription.cmake +@@ -67,7 +67,7 @@ function(get_git_head_revision _refspecvar _hashvar) + endif() + if (GIT_DIR STREQUAL "") + set(${_refspecvar} "GITDIR-NOTFOUND" PARENT_SCOPE) +- set(${_hashvar} "GITDIR-NOTFOUND" PARENT_SCOPE) ++ set(${_hashvar} "51743df" PARENT_SCOPE) + return() + endif() + diff --git a/net-im/tde2e/pkg-descr b/net-im/tde2e/pkg-descr new file mode 100644 index 000000000000..82b536fa768d --- /dev/null +++ b/net-im/tde2e/pkg-descr @@ -0,0 +1,2 @@ +TDLib (Telegram Database library) is a cross-platform library for building +Telegram clients. It can be easily used from almost any programming language. diff --git a/net-im/tde2e/pkg-plist b/net-im/tde2e/pkg-plist new file mode 100644 index 000000000000..f6bc08e5e120 --- /dev/null +++ b/net-im/tde2e/pkg-plist @@ -0,0 +1,10 @@ +include/td/e2e/e2e_api.h +include/td/e2e/e2e_errors.h +lib/cmake/tde2e/tde2eConfig.cmake +lib/cmake/tde2e/tde2eConfigVersion.cmake +lib/cmake/tde2e/tde2eStaticTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/tde2e/tde2eStaticTargets.cmake +lib/libtde2e.a +lib/libtdutils.a +libdata/pkgconfig/tde2e.pc +libdata/pkgconfig/tdutils.pc