Date: Sunday, June 3, 2018 @ 06:18:48
  Author: foutrelis
Revision: 338629

Switch to Ninja which somehow fixes a SWIG error

Modified:
  gnuradio-fcdproplus/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-06-03 06:18:44 UTC (rev 338628)
+++ PKGBUILD    2018-06-03 06:18:48 UTC (rev 338629)
@@ -11,7 +11,7 @@
 url="https://github.com/dl1ksv/gr-fcdproplus";
 license=('GPL3')
 depends=('gnuradio' 'libusb' 'alsa-lib' 'boost-libs')
-makedepends=('git' 'cmake' 'boost' 'swig' 'systemd')
+makedepends=('git' 'cmake' 'boost' 'swig' 'systemd' 'ninja')
 # systemd for FS#54735 (libudev.h)
 replaces=('gr-fcdproplus')
 source=("git://github.com/dl1ksv/gr-fcdproplus.git#tag=$_tag"
@@ -27,16 +27,16 @@
   cd "$srcdir/$_pkgname"
   mkdir -p build
   cd build
-  cmake \
+  cmake -G Ninja \
     -DPYTHON_EXECUTABLE=$(which python2) \
     -DPYTHON_INCLUDE_DIR=$(echo /usr/include/python2*) \
     -DPYTHON_LIBRARY=$(echo /usr/lib/libpython2.*.so) \
     -DCMAKE_INSTALL_PREFIX=/usr ../
-  make
+  ninja
 }
 
 package() {
   cd "$srcdir/$_pkgname/build/"
-  make DESTDIR="${pkgdir}" install
+  DESTDIR="${pkgdir}" ninja install
   install -Dm644 "$srcdir/88-fcdproplus.rules" 
"$pkgdir/etc/udev/rules.d/88-fcdproplus.rules"
 }

Reply via email to