diff options
author | nia <nia@pkgsrc.org> | 2018-11-27 17:44:14 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2018-11-27 17:44:14 +0000 |
commit | 3cc381622cb296ef32585529979604325757e4bb (patch) | |
tree | ca1408177f32348412bcd6d13612a772dea2a699 /chat/lurch-purple | |
parent | 84a11413463598be8e08d2300659430745e559cc (diff) | |
download | pkgsrc-3cc381622cb296ef32585529979604325757e4bb.tar.gz |
chat/lurch-purple: Import version 0.6.7
In German, an Axolotl is a type of Lurch, which simply means
'amphibian'. This plugin brings Axolotl, by now renamed to double
ratchet, to libpurple applications such as Pidgin by implementing
the XEP-0384: OMEMO Encryption.
Diffstat (limited to 'chat/lurch-purple')
-rw-r--r-- | chat/lurch-purple/DESCR | 4 | ||||
-rw-r--r-- | chat/lurch-purple/Makefile | 24 | ||||
-rw-r--r-- | chat/lurch-purple/PLIST | 2 | ||||
-rw-r--r-- | chat/lurch-purple/distinfo | 7 | ||||
-rw-r--r-- | chat/lurch-purple/patches/patch-Makefile | 16 |
5 files changed, 53 insertions, 0 deletions
diff --git a/chat/lurch-purple/DESCR b/chat/lurch-purple/DESCR new file mode 100644 index 00000000000..c7a7a701613 --- /dev/null +++ b/chat/lurch-purple/DESCR @@ -0,0 +1,4 @@ +In German, an Axolotl is a type of Lurch, which simply means +'amphibian'. This plugin brings Axolotl, by now renamed to double +ratchet, to libpurple applications such as Pidgin by implementing +the XEP-0384: OMEMO Encryption. diff --git a/chat/lurch-purple/Makefile b/chat/lurch-purple/Makefile new file mode 100644 index 00000000000..007b06a647a --- /dev/null +++ b/chat/lurch-purple/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1 2018/11/27 17:44:14 nia Exp $ + +VERSION= 0.6.7 +DISTNAME= lurch-${VERSION}-src +PKGNAME= lurch-purple-${VERSION} +CATEGORIES= chat security +MASTER_SITES= ${MASTER_SITE_GITHUB:=gkdr/lurch/releases/download/v${VERSION}/} + +MAINTAINER= nia@NetBSD.org +HOMEPAGE= https://github.com/gkdr/lurch +COMMENT= XEP-0384: OMEMO Encryption for libpurple +LICENSE= gnu-gpl-v3 + +WRKSRC= ${WRKDIR} +USE_TOOLS+= cmake gmake pkg-config +USE_LANGUAGES= c c++ + +.include "../../databases/sqlite3/buildlink3.mk" +.include "../../chat/libpurple/buildlink3.mk" +.include "../../security/libgcrypt/buildlink3.mk" +.include "../../textproc/mxml/buildlink3.mk" +.include "../../mk/dlopen.buildlink3.mk" +BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:Q} +.include "../../mk/bsd.pkg.mk" diff --git a/chat/lurch-purple/PLIST b/chat/lurch-purple/PLIST new file mode 100644 index 00000000000..66c0bc27542 --- /dev/null +++ b/chat/lurch-purple/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1 2018/11/27 17:44:14 nia Exp $ +lib/purple-2/lurch.so diff --git a/chat/lurch-purple/distinfo b/chat/lurch-purple/distinfo new file mode 100644 index 00000000000..fe65e685ecc --- /dev/null +++ b/chat/lurch-purple/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2018/11/27 17:44:14 nia Exp $ + +SHA1 (lurch-0.6.7-src.tar.gz) = 3e2b561e118dbadb74796e25a25f4734a6f9f9bb +RMD160 (lurch-0.6.7-src.tar.gz) = 236d06d8f330f218bb7900bb947200fd81794a27 +SHA512 (lurch-0.6.7-src.tar.gz) = c71a0049039eb2272f6fb7bf66a85d8b199f81bb0bdd4fb84c9c5526f7ae88b13614d9824a0887db5663aabed692c9e137de32db2599c1fd3e5c4309915b188f +Size (lurch-0.6.7-src.tar.gz) = 377646 bytes +SHA1 (patch-Makefile) = f2e73ad5cf22ff9f700f87d5d2664aaea2addf8b diff --git a/chat/lurch-purple/patches/patch-Makefile b/chat/lurch-purple/patches/patch-Makefile new file mode 100644 index 00000000000..46965d7bf6a --- /dev/null +++ b/chat/lurch-purple/patches/patch-Makefile @@ -0,0 +1,16 @@ +$NetBSD: patch-Makefile,v 1.1 2018/11/27 17:44:14 nia Exp $ + +Needs -lpurple. + +--- Makefile.orig 2018-04-21 20:51:45.000000000 +0000 ++++ Makefile +@@ -22,7 +22,8 @@ GLIB_CFLAGS ?= $(shell $(PKG_CONFIG) --c + GLIB_LDFLAGS ?= $(shell $(PKG_CONFIG) --libs glib-2.0) + + LIBPURPLE_CFLAGS=$(shell $(PKG_CONFIG) --cflags purple) +-LIBPURPLE_LDFLAGS=$(shell $(PKG_CONFIG) --cflags purple) \ ++LIBPURPLE_LDFLAGS=$(shell $(PKG_CONFIG) --libs purple) \ ++ -Wl,-R$(shell $(PKG_CONFIG) --variable=plugindir purple) \ + -L$(shell $(PKG_CONFIG) --variable=plugindir purple) + + XML2_CFLAGS ?= $(shell $(XML2_CONFIG) --cflags) |