summarylogtreecommitdiffstats
path: root/0001-Don-t-build-Java-bindings.patch
diff options
context:
space:
mode:
authorWüstengecko2019-05-12 17:00:50 +0200
committerCaleb Maclennan2019-06-18 16:00:11 +0300
commit978e9213287f1e9441aed4b8beb1ba55e85db19b (patch)
treeca2e6ad32a3a4ce3012ebdd2c94f75a130a9bf62 /0001-Don-t-build-Java-bindings.patch
parent0e2c0977f53a6490062e16e360afb58ab8066242 (diff)
downloadaur-978e9213287f1e9441aed4b8beb1ba55e85db19b.tar.gz
Rewrite for python3 and bindings as split package
Previously the package was applying a patch to build with python version 2. Since this is no longer necessary, and python 2 is nearing its end of life, this commit removes the patch. Furthermore this commit changes the PKGBUILD to now build the python language bindings in addition to the native PJSIP library. These bindings are built in a split package `python-pjproject`.
Diffstat (limited to '0001-Don-t-build-Java-bindings.patch')
-rw-r--r--0001-Don-t-build-Java-bindings.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/0001-Don-t-build-Java-bindings.patch b/0001-Don-t-build-Java-bindings.patch
new file mode 100644
index 000000000000..20470f7a58af
--- /dev/null
+++ b/0001-Don-t-build-Java-bindings.patch
@@ -0,0 +1,25 @@
+From 2a528772c79a6575bef2dfcd0699945409ef9dd1 Mon Sep 17 00:00:00 2001
+From: Nobody <nobody@nowhere.net>
+Date: Mon, 17 Sep 2001 00:00:00 +0000
+Subject: [PATCH 1/2] Don't build Java bindings
+
+---
+ pjsip-apps/src/swig/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pjsip-apps/src/swig/Makefile b/pjsip-apps/src/swig/Makefile
+index ef8d0c9..e6d2580 100644
+--- a/pjsip-apps/src/swig/Makefile
++++ b/pjsip-apps/src/swig/Makefile
+@@ -7,7 +7,7 @@ else
+ ifneq ($(findstring ios,$(TARGET_NAME)),)
+ DIRS = csharp
+ else
+- DIRS = python java
++ DIRS = python
+ endif
+ endif
+
+--
+2.20.1
+