summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-07-28 15:19:08 +0000
committernia <nia@pkgsrc.org>2019-07-28 15:19:08 +0000
commitbc7de26bee4c1b55bd9f3d885c5bc5e9463b74bf (patch)
tree59e7bb2903bc4774feb137517810141b6ddbb4bc /chat
parent39d84f330c578d4c9781ec3e57354eacac6bb2f0 (diff)
downloadpkgsrc-bc7de26bee4c1b55bd9f3d885c5bc5e9463b74bf.tar.gz
Add chat/bitlbee-facebook.
The Facebook protocol plugin for bitlbee. This plugin uses the Facebook Messenger MQTT-based protocol. This project is not affiliated with Facebook, Inc.
Diffstat (limited to 'chat')
-rw-r--r--chat/Makefile3
-rw-r--r--chat/bitlbee-facebook/DESCR4
-rw-r--r--chat/bitlbee-facebook/Makefile20
-rw-r--r--chat/bitlbee-facebook/PLIST2
-rw-r--r--chat/bitlbee-facebook/distinfo7
-rw-r--r--chat/bitlbee-facebook/patches/patch-configure15
6 files changed, 50 insertions, 1 deletions
diff --git a/chat/Makefile b/chat/Makefile
index 235de76580e..ef1abda608f 100644
--- a/chat/Makefile
+++ b/chat/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.223 2019/07/28 15:16:35 nia Exp $
+# $NetBSD: Makefile,v 1.224 2019/07/28 15:19:08 nia Exp $
#
COMMENT= Communication programs
@@ -9,6 +9,7 @@ SUBDIR+= bitchbot
SUBDIR+= bitchx
SUBDIR+= bitlbee
SUBDIR+= bitlbee-discord
+SUBDIR+= bitlbee-facebook
SUBDIR+= bnc
SUBDIR+= carbons-purple
SUBDIR+= centerim
diff --git a/chat/bitlbee-facebook/DESCR b/chat/bitlbee-facebook/DESCR
new file mode 100644
index 00000000000..e8e237d6863
--- /dev/null
+++ b/chat/bitlbee-facebook/DESCR
@@ -0,0 +1,4 @@
+The Facebook protocol plugin for bitlbee.
+This plugin uses the Facebook Messenger MQTT-based protocol.
+
+This project is not affiliated with Facebook, Inc.
diff --git a/chat/bitlbee-facebook/Makefile b/chat/bitlbee-facebook/Makefile
new file mode 100644
index 00000000000..8e8c5a8fc92
--- /dev/null
+++ b/chat/bitlbee-facebook/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2019/07/28 15:19:08 nia Exp $
+
+DISTNAME= bitlbee-facebook-1.2.0
+CATEGORIES= chat
+MASTER_SITES= ${MASTER_SITE_GITHUB:=bitlbee/}
+GITHUB_PROJECT= bitlbee-facebook
+GITHUB_RELEASE= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://www.bitlbee.org/
+COMMENT= Facebook protocol plugin for BitlBee
+LICENSE= gnu-gpl-v2
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= pkg-config
+USE_LIBTOOL= yes
+
+.include "../../chat/bitlbee/buildlink3.mk"
+.include "../../textproc/json-glib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/chat/bitlbee-facebook/PLIST b/chat/bitlbee-facebook/PLIST
new file mode 100644
index 00000000000..c56af423287
--- /dev/null
+++ b/chat/bitlbee-facebook/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2019/07/28 15:19:08 nia Exp $
+lib/bitlbee/facebook.la
diff --git a/chat/bitlbee-facebook/distinfo b/chat/bitlbee-facebook/distinfo
new file mode 100644
index 00000000000..6e52599a4b2
--- /dev/null
+++ b/chat/bitlbee-facebook/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2019/07/28 15:19:08 nia Exp $
+
+SHA1 (bitlbee-facebook-1.2.0.tar.gz) = 13c1475cdbabb92e7d963bb96d57e199dfe817a6
+RMD160 (bitlbee-facebook-1.2.0.tar.gz) = 236990951dd6fcb5cf21eb983a3999921568e6e9
+SHA512 (bitlbee-facebook-1.2.0.tar.gz) = 5cd5e7cd85b24c76ebb62932c9ad513d08059f08e3b8817e1a767d5677cd0a28812a622237a1de77cf5f6b62b3df65ec236a7f552fdd647248e315e8fb050a6e
+Size (bitlbee-facebook-1.2.0.tar.gz) = 409444 bytes
+SHA1 (patch-configure) = 7305159d7eba81f5cade26e307833f27b972d3b6
diff --git a/chat/bitlbee-facebook/patches/patch-configure b/chat/bitlbee-facebook/patches/patch-configure
new file mode 100644
index 00000000000..78a82d073c8
--- /dev/null
+++ b/chat/bitlbee-facebook/patches/patch-configure
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1 2019/07/28 15:19:09 nia Exp $
+
+Use portable test operator.
+
+--- configure.orig 2019-01-24 12:06:28.000000000 +0000
++++ configure
+@@ -12135,7 +12135,7 @@ else
+ fi
+
+
+-if test "x$WARNINGS" == "xyes"; then :
++if test "x$WARNINGS" = "xyes"; then :
+ CFLAGS="$CFLAGS -Wall -Wextra \
+ -Waggregate-return \
+ -Wdeclaration-after-statement \