Date: Monday, November 4, 2019 @ 21:45:40
  Author: arojas
Revision: 524131

Use swig 3 to fix java bindings

Modified:
  libsigrok/trunk/PKGBUILD

----------+
 PKGBUILD |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2019-11-04 21:26:41 UTC (rev 524130)
+++ PKGBUILD    2019-11-04 21:45:40 UTC (rev 524131)
@@ -9,7 +9,7 @@
 url='https://www.sigrok.org/wiki/Libsigrok'
 license=('GPL3')
 depends=('libftdi' 'libserialport' 'glibmm' 'libzip' 'libieee1284')
-makedepends=('cmake' 'doxygen' 'ruby' 'jdk8-openjdk' 'swig' 'python' 
'pygobject-devel' 'python-numpy' 'python-setuptools')
+makedepends=('cmake' 'doxygen' 'ruby' 'jdk8-openjdk' 'swig3' 'python' 
'pygobject-devel' 'python-numpy' 'python-setuptools')
 optdepends=('python' 'ruby' 'jdk8-openjdk')
 source=("https://sigrok.org/download/source/$pkgname/$pkgname-$pkgver.tar.gz";
          
libsigrok-doxygen.patch::"https://sigrok.org/gitweb/?p=libsigrok.git;a=patch;h=2da97803";)
@@ -19,6 +19,7 @@
 prepare() {
   cd $pkgname-$pkgver
   patch -p1 -i ../libsigrok-doxygen.patch # Fix build with doxygen 1.8.16
+  sed -e 's|swig3.0|swig-3|g' -i configure # Build with swig 3
 }
 
 build() {

Reply via email to