[arch-commits] Commit in gnuradio-iqbal/repos (2 files)

Kyle Keen kkeen at archlinux.org
Thu Dec 31 08:14:05 UTC 2020


    Date: Thursday, December 31, 2020 @ 08:13:59
  Author: kkeen
Revision: 800356

archrelease: copy trunk to community-staging-x86_64

Added:
  gnuradio-iqbal/repos/community-staging-x86_64/
  gnuradio-iqbal/repos/community-staging-x86_64/PKGBUILD
    (from rev 800355, gnuradio-iqbal/trunk/PKGBUILD)

----------+
 PKGBUILD |   52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

Copied: gnuradio-iqbal/repos/community-staging-x86_64/PKGBUILD (from rev 800355, gnuradio-iqbal/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-12-31 08:13:59 UTC (rev 800356)
@@ -0,0 +1,52 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Dominik Heidler <dheidler at gmail.com>
+pkgname=gnuradio-iqbal
+_pkgname=gr-iqbal
+pkgver=0.38.1
+pkgrel=4
+pkgdesc="Gnuradio I/Q balancing"
+arch=('x86_64')
+url="https://cgit.osmocom.org/gr-iqbal/"
+license=('GPL')
+depends=('gnuradio' 'fftw')
+replaces=('gr-iqbal')
+makedepends=('git' 'cmake' 'boost' 'swig')
+source=("git://git.osmocom.org/gr-iqbal/#tag=v$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+  cd "$srcdir/$_pkgname"
+  git submodule init
+  git submodule update
+
+  #sed -i 's/LIBOSMODSP_LIBRARIES ""/LIBOSMODSP_LIBRARIES ${FFTW3F_LIBRARIES}/' CMakeLists.txt 
+  #sed -i 's/lib64/lib/'   CMakeLists.txt
+  sed -i 's/this, _1/this, boost::placeholders::_1/' lib/fix_cc.cc
+
+  # upstream mixed tabs and spaces
+  sed -i 's/\t/        /' python/__init__.py
+}
+
+build() {
+  cd "$srcdir/$_pkgname"
+  mkdir -p build
+  cd build
+  cmake \
+    -Wno-dev \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DPYTHON_EXECUTABLE=$(which python3) \
+    -DPYTHON_INCLUDE_DIR=$(echo /usr/include/python3*) \
+    -DPYTHON_LIBRARY=$(echo /usr/lib/libpython3.*.so) \
+    -DGR_PYTHON_DIR=$(echo /usr/lib/python3.*/site-packages/) \
+    -DPKG_CONFIG_PATH=/usr/lib/pkgconfig \
+    -DCMAKE_LIBRARY_PATH=/usr/lib \
+    -DCMAKE_INSTALL_PREFIX=/usr ../
+  make
+    #-DGnuradio_DIR=/usr/lib/cmake/gnuradio \
+    #-DVolk_DIR=/usr/lib/cmake/vol \
+}
+
+package() {
+  cd "$srcdir/$_pkgname/build/"
+  make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list