aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose G. Juanino <jjuanino@gmail.com>2021-12-08 10:44:19 +0000
committerDaniel Engberg <diizzy@FreeBSD.org>2021-12-08 10:48:52 +0000
commitc6af9d33ffc7c77184a2591db7b4be5a7663a151 (patch)
tree758583ae6d39077677fe684f4833cdb7ce933014
parentab8391bc3c2ef4a419b5275f75c10690dbfda2de (diff)
downloadports-c6af9d33ffc7c77184a2591db7b4be5a7663a151.tar.gz
ports-c6af9d33ffc7c77184a2591db7b4be5a7663a151.zip
net-im/purple-googlechat: New port: Google Chat plugin for libpurple
WWW: https://github.com/EionRobb/purple-googlechat/ PR: 259687 Approved by: mentors (implicit)
-rw-r--r--net-im/Makefile1
-rw-r--r--net-im/purple-googlechat/Makefile29
-rw-r--r--net-im/purple-googlechat/distinfo3
-rw-r--r--net-im/purple-googlechat/pkg-descr4
-rw-r--r--net-im/purple-googlechat/pkg-message8
5 files changed, 45 insertions, 0 deletions
diff --git a/net-im/Makefile b/net-im/Makefile
index ff4087f89212..a518385e4f6e 100644
--- a/net-im/Makefile
+++ b/net-im/Makefile
@@ -115,6 +115,7 @@
SUBDIR += psi
SUBDIR += purple-discord
SUBDIR += purple-facebook
+ SUBDIR += purple-googlechat
SUBDIR += purple-hangouts
SUBDIR += purple-mattermost
SUBDIR += purple-plugin-pack
diff --git a/net-im/purple-googlechat/Makefile b/net-im/purple-googlechat/Makefile
new file mode 100644
index 000000000000..58473a72e971
--- /dev/null
+++ b/net-im/purple-googlechat/Makefile
@@ -0,0 +1,29 @@
+PORTNAME= purple-googlechat
+DISTVERSION= g20211018
+CATEGORIES= net-im
+
+MAINTAINER= jjuanino@gmail.com
+COMMENT= Google Chat Plugin for libpurple
+
+LICENSE= GPLv3+
+
+LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \
+ libprotobuf-c.so:devel/protobuf-c \
+ libpurple.so:net-im/libpurple
+
+USES= gmake gnome pkgconfig
+USE_GITHUB= yes
+GH_ACCOUNT= EionRobb
+GH_TAGNAME= 56ba7f7
+USE_GNOME= glib20
+USE_LDCONFIG= yes
+
+PLIST_FILES= lib/purple-2/libgooglechat.so \
+ share/pixmaps/pidgin/protocols/16/googlechat.png \
+ share/pixmaps/pidgin/protocols/22/googlechat.png \
+ share/pixmaps/pidgin/protocols/48/googlechat.png
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/lib/purple-2/libgooglechat.so
+
+.include <bsd.port.mk>
diff --git a/net-im/purple-googlechat/distinfo b/net-im/purple-googlechat/distinfo
new file mode 100644
index 000000000000..e1fb7c46e01f
--- /dev/null
+++ b/net-im/purple-googlechat/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1636231968
+SHA256 (EionRobb-purple-googlechat-g20211018-56ba7f7_GH0.tar.gz) = b90c5a2c74a44807d96154437f4ecb87ca16dad03e7cfe024eaf96e26355a282
+SIZE (EionRobb-purple-googlechat-g20211018-56ba7f7_GH0.tar.gz) = 257362
diff --git a/net-im/purple-googlechat/pkg-descr b/net-im/purple-googlechat/pkg-descr
new file mode 100644
index 000000000000..f0adc57d74e1
--- /dev/null
+++ b/net-im/purple-googlechat/pkg-descr
@@ -0,0 +1,4 @@
+Google Chat for libpurple is a plugin for pidgin to support the proprietary
+protocol that Google uses for its "Google Chat" service.
+
+WWW: https://github.com/EionRobb/purple-googlechat
diff --git a/net-im/purple-googlechat/pkg-message b/net-im/purple-googlechat/pkg-message
new file mode 100644
index 000000000000..df41cd24af46
--- /dev/null
+++ b/net-im/purple-googlechat/pkg-message
@@ -0,0 +1,8 @@
+[
+{ type: install
+ message: <<EOM
+This plugin needs an oauth token in order to work properly. Watch the following
+youtube video https://www.youtube.com/watch?v=hlDhp-eNLMU on how to obtain one.
+EOM
+}
+]