mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Adding Tox, a decentralized and secure messenger.
Tox is the core library, and venom is a GTK+ client. Note: venom does not yet implement audio and video chat capabilities.
This commit is contained in:
parent
e42957eb1e
commit
18d0289d45
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345901
11 changed files with 155 additions and 0 deletions
|
@ -166,11 +166,13 @@
|
|||
SUBDIR += tkabber-devel
|
||||
SUBDIR += tkabber-plugins
|
||||
SUBDIR += tkabbur
|
||||
SUBDIR += tox
|
||||
SUBDIR += ttytter
|
||||
SUBDIR += turpial
|
||||
SUBDIR += twirssi
|
||||
SUBDIR += twitmail
|
||||
SUBDIR += vacuum-im
|
||||
SUBDIR += venom
|
||||
SUBDIR += vicq
|
||||
SUBDIR += vqcc-gtk
|
||||
SUBDIR += yoono
|
||||
|
|
41
net-im/tox/Makefile
Normal file
41
net-im/tox/Makefile
Normal file
|
@ -0,0 +1,41 @@
|
|||
# Created by: Thierry Thomas <thierry@pompo.net>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= ProjectTox-Core
|
||||
PORTVERSION= 0.140222
|
||||
CATEGORIES= net-im net-p2p
|
||||
|
||||
MAINTAINER= thierry@FreeBSD.org
|
||||
COMMENT= ProjectTox-Core library, a decentralized and secure messenger
|
||||
|
||||
LICENSE= GPLv3
|
||||
|
||||
BUILD_DEPENDS= checkmk:${PORTSDIR}/devel/libcheck
|
||||
LIB_DEPENDS= libsodium.so:${PORTSDIR}/security/libsodium \
|
||||
libvpx.so:${PORTSDIR}/multimedia/libvpx \
|
||||
libopus.so:${PORTSDIR}/audio/opus
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= irungentoo
|
||||
GH_PROJECT= ProjectTox-Core
|
||||
GH_TAGNAME= ${GH_COMMIT}
|
||||
GH_COMMIT= f219fb4
|
||||
|
||||
USE_AUTOTOOLS= automake autoconf libtoolize
|
||||
USES= pkgconfig
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
OPTIONS_DEFINE= PHONE
|
||||
OPTIONS_DEFAULT=PHONE
|
||||
|
||||
PHONE_DESC= Enable phone test
|
||||
PHONE_CONFIGURE_ENABLE= phone
|
||||
PHONE_LIB_DEPENDS= libopenal.so:${PORTSDIR}/audio/openal \
|
||||
libv4l2.so:${PORTSDIR}/multimedia/libv4l \
|
||||
libswscale.so:${PORTSDIR}/multimedia/ffmpeg
|
||||
PHONE_USE= SDL=sdl
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && ./autogen.sh
|
||||
|
||||
.include <bsd.port.mk>
|
2
net-im/tox/distinfo
Normal file
2
net-im/tox/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (ProjectTox-Core-0.140222.tar.gz) = 7340be430a0cb66443581bfcfa6236ba1e0c485eabb15e6f528d4bce87807f93
|
||||
SIZE (ProjectTox-Core-0.140222.tar.gz) = 244242
|
11
net-im/tox/files/patch-Makefile.am
Normal file
11
net-im/tox/files/patch-Makefile.am
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- Makefile.am.orig 2014-02-22 23:52:26.000000000 +0100
|
||||
+++ Makefile.am 2014-02-23 17:07:16.000000000 +0100
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
-pkgconfigdir = $(libdir)/pkgconfig
|
||||
+pkgconfigdir = $(libdir)data/pkgconfig
|
||||
pkgconfig_DATA = $(top_builddir)/libtoxcore.pc
|
||||
|
||||
BUILT_SOURCES = $(top_builddir)/libtoxcore.pc
|
11
net-im/tox/files/patch-toxav_phone.c
Normal file
11
net-im/tox/files/patch-toxav_phone.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- toxav/phone.c.orig 2014-02-22 23:52:26.000000000 +0100
|
||||
+++ toxav/phone.c 2014-02-23 22:31:19.000000000 +0100
|
||||
@@ -67,7 +67,7 @@
|
||||
/* the quit event for SDL */
|
||||
#define FF_QUIT_EVENT (SDL_USEREVENT + 2)
|
||||
|
||||
-#ifdef __linux__
|
||||
+#if defined( __linux__) || defined(__FreeBSD__)
|
||||
#define VIDEO_DRIVER "video4linux2"
|
||||
#define DEFAULT_WEBCAM "/dev/video0"
|
||||
#endif
|
10
net-im/tox/pkg-descr
Normal file
10
net-im/tox/pkg-descr
Normal file
|
@ -0,0 +1,10 @@
|
|||
Tox is a decentralized, secure messenger with audio and video chat capabilities.
|
||||
You can see it as an alternative to Skype.
|
||||
|
||||
This is only the core library. To use it, you have to install a client, like
|
||||
e.g. net-im/venom.
|
||||
|
||||
Tox isn't complete yet, but we encourage you to contribute to help make us
|
||||
awesome!
|
||||
|
||||
WWW: http://tox.im/
|
13
net-im/tox/pkg-plist
Normal file
13
net-im/tox/pkg-plist
Normal file
|
@ -0,0 +1,13 @@
|
|||
bin/DHT_bootstrap
|
||||
include/tox/tox.h
|
||||
include/tox/toxav.h
|
||||
lib/libtoxav.a
|
||||
lib/libtoxav.la
|
||||
lib/libtoxav.so
|
||||
lib/libtoxav.so.0
|
||||
lib/libtoxcore.a
|
||||
lib/libtoxcore.la
|
||||
lib/libtoxcore.so
|
||||
lib/libtoxcore.so.0
|
||||
libdata/pkgconfig/libtoxcore.pc
|
||||
@dirrm include/tox
|
28
net-im/venom/Makefile
Normal file
28
net-im/venom/Makefile
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Created by: Thierry Thomas <thierry@pompo.net>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= Venom
|
||||
PORTVERSION= 0.2.0.140223
|
||||
CATEGORIES= net-im
|
||||
|
||||
MAINTAINER= thierry@FreeBSD.org
|
||||
COMMENT= A cross-platform GUI for Tox written in Vala using GTK+
|
||||
|
||||
LICENSE= GPLv3
|
||||
|
||||
BUILD_DEPENDS= valac:${PORTSDIR}/lang/vala
|
||||
LIB_DEPENDS= libtoxcore.so:${PORTSDIR}/net-im/tox \
|
||||
libgee-0.8.so:${PORTSDIR}/devel/libgee \
|
||||
libjson-glib-1.0.so:${PORTSDIR}/devel/json-glib
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= naxuroqa
|
||||
GH_TAGNAME= ${GH_COMMIT}
|
||||
GH_COMMIT= ea6006e
|
||||
|
||||
USES= cmake desktop-file-utils pkgconfig
|
||||
USE_GNOME= glib20 gtk30
|
||||
USE_SQLITE= yes
|
||||
INSTALLS_ICONS= yes
|
||||
|
||||
.include <bsd.port.mk>
|
2
net-im/venom/distinfo
Normal file
2
net-im/venom/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (Venom-0.2.0.140223.tar.gz) = 956b4e1f1d92296d6f509fc4b7d2a83829f0634377245c2027055244379137d5
|
||||
SIZE (Venom-0.2.0.140223.tar.gz) = 129018
|
6
net-im/venom/pkg-descr
Normal file
6
net-im/venom/pkg-descr
Normal file
|
@ -0,0 +1,6 @@
|
|||
Venom is a cross-platform graphical user interface for Tox written in Vala
|
||||
using GTK+.
|
||||
|
||||
Note: audiochat and videochat are not yet implemented.
|
||||
|
||||
WWW: http://tox.im/
|
29
net-im/venom/pkg-plist
Normal file
29
net-im/venom/pkg-plist
Normal file
|
@ -0,0 +1,29 @@
|
|||
bin/venom
|
||||
share/applications/venom.desktop
|
||||
share/icons/hicolor/128x128/apps/venom.png
|
||||
share/icons/hicolor/16x16/apps/venom.png
|
||||
share/icons/hicolor/256x256/apps/venom.png
|
||||
share/icons/hicolor/32x32/apps/venom.png
|
||||
share/icons/hicolor/48x48/apps/venom.png
|
||||
share/icons/hicolor/64x64/apps/venom.png
|
||||
share/icons/hicolor/scalable/apps/venom.svg
|
||||
share/pixmaps/venom.png
|
||||
share/venom/theme/default.css
|
||||
@dirrmtry share/venom/theme
|
||||
@dirrmtry share/venom
|
||||
@dirrmtry share/icons/hicolor/scalable/apps
|
||||
@dirrmtry share/icons/hicolor/scalable
|
||||
@dirrmtry share/icons/hicolor/64x64/apps
|
||||
@dirrmtry share/icons/hicolor/64x64
|
||||
@dirrmtry share/icons/hicolor/48x48/apps
|
||||
@dirrmtry share/icons/hicolor/48x48
|
||||
@dirrmtry share/icons/hicolor/32x32/apps
|
||||
@dirrmtry share/icons/hicolor/32x32
|
||||
@dirrmtry share/icons/hicolor/256x256/apps
|
||||
@dirrmtry share/icons/hicolor/256x256
|
||||
@dirrmtry share/icons/hicolor/16x16/apps
|
||||
@dirrmtry share/icons/hicolor/16x16
|
||||
@dirrmtry share/icons/hicolor/128x128/apps
|
||||
@dirrmtry share/icons/hicolor/128x128
|
||||
@dirrmtry share/icons/hicolor
|
||||
@dirrmtry share/icons
|
Loading…
Add table
Reference in a new issue