Experimental XEP-0280: Message Carbons plugin for libpurple
https://github.com/gkdr/carbons
---
.../libpurple-carbons/0000-unix-mpconfigport.patch | 22 ++++++++++++++++++
testing/libpurple-carbons/APKBUILD | 27 ++++++++++++++++++++++
testing/libpurple-carbons/python3.patch | 10 ++++++++
3 files changed, 59 insertions(+)
create mode 100644 testing/libpurple-carbons/0000-unix-mpconfigport.patch
create mode 100644 testing/libpurple-carbons/APKBUILD
create mode 100644 testing/libpurple-carbons/python3.patch
diff --git a/testing/libpurple-carbons/0000-unix-mpconfigport.patch b/testing/libpurple-carbons/0000-unix-mpconfigport.patch
new file mode 100644
index 0000000000..067402341d
--- /dev/null
+++ b/testing/libpurple-carbons/0000-unix-mpconfigport.patch
@@ -0,0 +1,22 @@
+--- micropython-1.9.1/unix/mpconfigport.mk
++++ micropython-1.9.1/unix/mpconfigport.mk
+@@ -9,7 +9,7 @@
+ MICROPY_USE_READLINE = 1
+
+ # btree module using Berkeley DB 1.xx
+-MICROPY_PY_BTREE = 1
++MICROPY_PY_BTREE = 0
+
+ # _thread module using pthreads
+ MICROPY_PY_THREAD = 1
+@@ -24,8 +24,8 @@
+ MICROPY_PY_FFI = 1
+
+ # ussl module requires axtls
+-MICROPY_PY_USSL = 1
+-MICROPY_SSL_AXTLS = 1
++MICROPY_PY_USSL = 0
++MICROPY_SSL_AXTLS = 0
+ MICROPY_SSL_MBEDTLS = 0
+
+ # jni module requires JVM/JNI
diff --git a/testing/libpurple-carbons/APKBUILD b/testing/libpurple-carbons/APKBUILD
new file mode 100644
index 0000000000..e6608fa081
--- /dev/null
+++ b/testing/libpurple-carbons/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Marian <marian.buschsieweke@ovgu.de>
+# Maintainer: Marian <marian.buschsieweke@ovgu.de>
+pkgname=libpurple-carbons
+pkgver=0.1.3
+pkgrel=0
+pkgdesc="Experimental XEP-0280: Message Carbons plugin for libpurple"
+url="https://github.com/gkdr/carbons"
+arch="all"
+license="GPL"
+depends="libpurple libpurple-xmpp"
+makedepends="glib-dev pidgin-dev libxml2-dev"
+subpackages=""
+source="${pkgname}-${pkgver}.tar.gz::https://github.com/gkdr/carbons/archive/v${pkgver}.tar.gz"
+option="!check"
+builddir="${srcdir}/carbons-${pkgver}"
+
+build() {
+ cd "$builddir"
+ make
+}
+
+package() {
+ cd "$builddir"
+ make PURPLE_PLUGIN_DIR="${pkgdir}/usr/lib/purple-2/" install
+}
+
+sha512sums="3aacbac2f9326e4e11c06d23da3ef5ef0ceee1c1789b9bdb039d344e94088e9ab35123e099fe75ea5e4f48da1ad4cb3fb048b0705ef1053f712d4875a4c61b51 libpurple-carbons-0.1.3.tar.gz"
diff --git a/testing/libpurple-carbons/python3.patch b/testing/libpurple-carbons/python3.patch
new file mode 100644
index 0000000000..ca269d39c3
--- /dev/null
+++ b/testing/libpurple-carbons/python3.patch
@@ -0,0 +1,10 @@
+diff --git a/tools/make-frozen.py b/tools/make-frozen.py
+index 1051b52..06ee7a3 100755
+--- a/tools/make-frozen.py
++++ b/tools/make-frozen.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+ #
+ # Create frozen modules structure for MicroPython.
+ #
--
2.14.1
---
Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org
Help: alpine-aports+help@lists.alpinelinux.org
---