net-im/toxext: New port: Extension library for tox

This commit is contained in:
Yuri Victorovich 2021-06-28 18:14:13 -07:00
parent 3103c302f5
commit 01e46eed8d
5 changed files with 46 additions and 0 deletions

View File

@ -171,6 +171,7 @@
SUBDIR += toot
SUBDIR += tox
SUBDIR += toxbot
SUBDIR += toxext
SUBDIR += toxic
SUBDIR += toxins
SUBDIR += tut

24
net-im/toxext/Makefile Normal file
View File

@ -0,0 +1,24 @@
PORTNAME= toxext
DISTVERSIONPREFIX= v
DISTVERSION= 0.0.2
CATEGORIES= net-im net-p2p
MAINTAINER= yuri@FreeBSD.org
COMMENT= Extension library for tox
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libopus.so:audio/opus \
libsodium.so:security/libsodium \
libtoxcore.so:net-im/tox \
libvpx.so:multimedia/libvpx
USES= cmake localbase:ldflags pkgconfig
USE_GITHUB= yes
CMAKE_ON= BUILD_SHARED_LIBS
CFLAGS+= -fPIC # see https://github.com/toxext/toxext/issues/7
.include <bsd.port.mk>

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

@ -0,0 +1,3 @@
TIMESTAMP = 1624921343
SHA256 (toxext-toxext-v0.0.2_GH0.tar.gz) = 047093eeed396ea9b4a3f0cd0a6bc4e0e09b339e2b03ba4b676e30888fe6acde
SIZE (toxext-toxext-v0.0.2_GH0.tar.gz) = 34178

10
net-im/toxext/pkg-descr Normal file
View File

@ -0,0 +1,10 @@
Tox provides a reasonable base set of features, but new features are slow to
implement, and may not be wanted by all clients. This is reasonable as any
protocol changes are API breaking and force clients to update to use them. Once
the features are in they are there forever meaning quality of the API and the
network layer have to be very strong.
An extension library with negotiation allows more experimentation with less risk
resulting in more features for tox clients.
WWW: https://github.com/toxext/toxext

8
net-im/toxext/pkg-plist Normal file
View File

@ -0,0 +1,8 @@
include/toxext/mock_fixtures.h
include/toxext/mock_tox.h
include/toxext/toxext.h
include/toxext/toxext_util.h
lib/cmake/ToxExt/ToxExtConfig-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/ToxExt/ToxExtConfig.cmake
lib/libtoxext.so
lib/libtoxext_mock.so