aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2018-01-01 03:30:35 +0800
committerpi <pi@FreeBSD.org>2018-01-01 03:30:35 +0800
commit1e5eed06577b4fc4b66e9302fd1683fd9d67494d (patch)
tree44717e5e66e02b198ea4ecc2078d5b39ffdaa407
parent93c557573dbfe065033b81fd44d0f887289d4df4 (diff)
downloadfreebsd-ports-gnome-1e5eed06577b4fc4b66e9302fd1683fd9d67494d.tar.gz
freebsd-ports-gnome-1e5eed06577b4fc4b66e9302fd1683fd9d67494d.tar.zst
freebsd-ports-gnome-1e5eed06577b4fc4b66e9302fd1683fd9d67494d.zip
New port: net-im/purple-hangouts
Hangouts Plugin for libpurple is a replacement purple for hangouts in Pidgin/libpurple to support the proprietary protocol that Google uses for its Hangouts service. So far it supports all the fun things that aren't part of the XMPP interface, such as Group Chats, synchronised history between devices and SMS support via Google Voice. WWW: https://bitbucket.org/EionRobb/purple-hangouts PR: 217506 Submitted by: Jose G. Juanino <jjuanino@gmail.com>
-rw-r--r--net-im/Makefile1
-rw-r--r--net-im/purple-hangouts/Makefile38
-rw-r--r--net-im/purple-hangouts/distinfo3
-rw-r--r--net-im/purple-hangouts/pkg-descr8
-rw-r--r--net-im/purple-hangouts/pkg-message2
5 files changed, 52 insertions, 0 deletions
diff --git a/net-im/Makefile b/net-im/Makefile
index cc3145dd694d..2c12904d17b4 100644
--- a/net-im/Makefile
+++ b/net-im/Makefile
@@ -127,6 +127,7 @@
SUBDIR += proxy65
SUBDIR += psi
SUBDIR += psimedia
+ SUBDIR += purple-hangouts
SUBDIR += py-fbmq
SUBDIR += py-jabber
SUBDIR += py-jabberbot
diff --git a/net-im/purple-hangouts/Makefile b/net-im/purple-hangouts/Makefile
new file mode 100644
index 000000000000..a6fa71b514b3
--- /dev/null
+++ b/net-im/purple-hangouts/Makefile
@@ -0,0 +1,38 @@
+# Created by: José García Juanino <jjuanino@gmail.com>
+# $FreeBSD$
+
+PORTNAME= purple-hangouts
+PORTVERSION= 20171023
+CATEGORIES= net-im
+MASTER_SITES= https://bitbucket.org/EionRobb/${PORTNAME}/get/
+# Commit tag. Must be changed according with PORTVERSION.
+DISTNAME= 4ce9b3338381
+
+MAINTAINER= jjuanino@gmail.com
+COMMENT= Hangouts plugin for libpurple
+
+LICENSE= GPLv3+
+LICENSE_FILE= ${WRKSRC}/gpl3.txt
+
+LIB_DEPENDS= libpurple.so:net-im/libpurple \
+ libjson-glib-1.0.so:devel/json-glib \
+ libprotobuf-c.so:devel/protobuf-c
+
+WRKSRC= ${WRKDIR}/EionRobb-${PORTNAME}-${DISTNAME}
+
+OPTIONS_DEFINE= NLS
+
+USES= gmake pkgconfig zip
+NLS_USES= gettext
+USE_GNOME= glib20
+USE_LDCONFIG= yes
+
+PLIST_FILES= lib/purple-2/libhangouts.so \
+ share/pixmaps/pidgin/protocols/16/hangouts.png \
+ share/pixmaps/pidgin/protocols/22/hangouts.png \
+ share/pixmaps/pidgin/protocols/48/hangouts.png
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/lib/purple-2/libhangouts.so
+
+.include <bsd.port.mk>
diff --git a/net-im/purple-hangouts/distinfo b/net-im/purple-hangouts/distinfo
new file mode 100644
index 000000000000..4f7bfd7ed997
--- /dev/null
+++ b/net-im/purple-hangouts/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1514719254
+SHA256 (4ce9b3338381.zip) = 88eaaac6d28d4536a1591cee82ed3ee1075b8f780a31ef23c6bf2f20f27762d1
+SIZE (4ce9b3338381.zip) = 164806
diff --git a/net-im/purple-hangouts/pkg-descr b/net-im/purple-hangouts/pkg-descr
new file mode 100644
index 000000000000..74de60d5c0db
--- /dev/null
+++ b/net-im/purple-hangouts/pkg-descr
@@ -0,0 +1,8 @@
+Hangouts Plugin for libpurple is a replacement purple for hangouts in
+Pidgin/libpurple to support the proprietary protocol that Google
+uses for its Hangouts service. So far it supports all the fun things
+that aren't part of the XMPP interface, such as Group Chats,
+synchronised history between devices and SMS support via Google
+Voice.
+
+WWW: https://bitbucket.org/EionRobb/purple-hangouts
diff --git a/net-im/purple-hangouts/pkg-message b/net-im/purple-hangouts/pkg-message
new file mode 100644
index 000000000000..c3d2eb608b0a
--- /dev/null
+++ b/net-im/purple-hangouts/pkg-message
@@ -0,0 +1,2 @@
+This plugin needs a oauth token in order to work properly. Take a look at the following youtube video:
+https://www.youtube.com/watch?v=hlDhp-eNLMU