Import purple-matrix 0.20191228

This project is a plugin for libpurple which adds the ability to communicate
with matrix.org homeservers to any libpurple-based clients (such as Pidgin).

based on a submission from solene@, ok solene@
This commit is contained in:
landry 2020-03-02 16:37:32 +00:00
parent 40bd0463cc
commit c256ad1262
6 changed files with 74 additions and 0 deletions

View File

@ -0,0 +1,31 @@
# $OpenBSD: Makefile,v 1.1.1.1 2020/03/02 16:37:32 landry Exp $
COMMENT = libpurple plugin for connecting to Matrix network
DISTNAME = purple-matrix-0.20191228
GH_ACCOUNT = matrix-org
GH_PROJECT = purple-matrix
GH_COMMIT = 1d23385e6c22f63591fcbfc85c09999953c388ed
CATEGORIES = net
HOMEPAGE = https://github.com/matrix-org/purple-matrix
# GPLv2
PERMIT_PACKAGE = Yes
USE_GMAKE = yes
LIB_DEPENDS += devel/http-parser \
devel/json-glib \
net/pidgin,-libpurple
WANTLIB += glib-2.0 gio-2.0 gobject-2.0 http_parser intl
WANTLIB += json-glib-1.0 sqlite3 purple
MAKE_ENV = MATRIX_NO_E2E=y
NO_TEST = Yes
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (purple-matrix-0.20191228-1d23385e.tar.gz) = 9WwkVft62i2EHm6AyApwUF1+q+KMadlylbeod3YmCmo=
SIZE (purple-matrix-0.20191228-1d23385e.tar.gz) = 64869

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2020/03/02 16:37:32 landry Exp $
Index: Makefile
--- Makefile.orig
+++ Makefile
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-CC=gcc
+CC=cc
LIBS=purple json-glib-1.0 glib-2.0 sqlite3
PKG_CONFIG=pkg-config

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-Makefile_common,v 1.1.1.1 2020/03/02 16:37:32 landry Exp $
Index: Makefile.common
--- Makefile.common.orig
+++ Makefile.common
@@ -2,7 +2,7 @@
COMPILE.c = $(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c
-CFLAGS+=-Wall -g -O0 -Werror
+CFLAGS+=-Wall -g -Werror
CFLAGS += -DPURPLE_PLUGINS
# generate .d files when compiling

View File

@ -0,0 +1,3 @@
This project is a plugin for libpurple which adds
the ability to communicate with matrix.org homeservers
to any libpurple-based clients (such as Pidgin).

View File

@ -0,0 +1,11 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2020/03/02 16:37:32 landry Exp $
@so lib/purple-2/libmatrix.so
share/pixmaps/
share/pixmaps/pidgin/
share/pixmaps/pidgin/protocols/
share/pixmaps/pidgin/protocols/16/
share/pixmaps/pidgin/protocols/16/matrix.png
share/pixmaps/pidgin/protocols/22/
share/pixmaps/pidgin/protocols/22/matrix.png
share/pixmaps/pidgin/protocols/48/
share/pixmaps/pidgin/protocols/48/matrix.png