[arch-commits] Commit in gnuradio-osmosdr/repos (4 files)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sun Oct 9 19:58:34 UTC 2016


    Date: Sunday, October 9, 2016 @ 19:58:34
  Author: bpiotrowski
Revision: 191736

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  gnuradio-osmosdr/repos/community-staging-i686/
  gnuradio-osmosdr/repos/community-staging-i686/PKGBUILD
    (from rev 191735, gnuradio-osmosdr/trunk/PKGBUILD)
  gnuradio-osmosdr/repos/community-staging-x86_64/
  gnuradio-osmosdr/repos/community-staging-x86_64/PKGBUILD
    (from rev 191735, gnuradio-osmosdr/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   44 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++
 2 files changed, 88 insertions(+)

Copied: gnuradio-osmosdr/repos/community-staging-i686/PKGBUILD (from rev 191735, gnuradio-osmosdr/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-10-09 19:58:34 UTC (rev 191736)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com?>
+# Contributor: Dominik Heidler <dheidler at gmail.com>
+pkgname=gnuradio-osmosdr
+_pkgname=gr-osmosdr
+pkgver=0.1.4
+pkgrel=19
+pkgdesc="Source block for Funcube Dongle, RTL-SDR, USRP, OsmoSDR, BladeRF, HackRF and AirSpy devices"
+url="http://sdr.osmocom.org/trac/"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('gnuradio' 'gnuradio-iqbal' 'rtl-sdr' 'gnuradio-fcdproplus' 'hackrf' 'bladerf' 'airspy')
+optdepends=('python2-opengl: osmocom_fft')
+makedepends=('git' 'cmake' 'boost' 'python2-cheetah' 'swig')
+conflicts=('gr-osmosdr-git')
+replaces=('gr-osmosdr')
+source=("git://git.osmocom.org/gr-osmosdr#tag=v$pkgver")
+md5sums=('SKIP')
+
+# add support for miri, osmo?
+
+prepare() {
+  cd "$srcdir/$_pkgname"
+  sed -i 's/python$/python2/' apps/osmocom_siggen_base.py
+}
+
+build() {
+  cd "$srcdir/$_pkgname"
+  mkdir build
+  cd build
+  cmake \
+    -Wno-dev \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DPYTHON_EXECUTABLE=$(which python2) \
+    -DPYTHON_INCLUDE_DIR=$(echo /usr/include/python2*) \
+    -DPYTHON_LIBRARY=$(echo /usr/lib/libpython2.*.so) \
+    -DCMAKE_INSTALL_PREFIX=/usr ../
+  make
+}
+
+package() {
+  cd "$srcdir/$_pkgname/build/"
+  make DESTDIR="${pkgdir}" install
+}

Copied: gnuradio-osmosdr/repos/community-staging-x86_64/PKGBUILD (from rev 191735, gnuradio-osmosdr/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-10-09 19:58:34 UTC (rev 191736)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com?>
+# Contributor: Dominik Heidler <dheidler at gmail.com>
+pkgname=gnuradio-osmosdr
+_pkgname=gr-osmosdr
+pkgver=0.1.4
+pkgrel=19
+pkgdesc="Source block for Funcube Dongle, RTL-SDR, USRP, OsmoSDR, BladeRF, HackRF and AirSpy devices"
+url="http://sdr.osmocom.org/trac/"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('gnuradio' 'gnuradio-iqbal' 'rtl-sdr' 'gnuradio-fcdproplus' 'hackrf' 'bladerf' 'airspy')
+optdepends=('python2-opengl: osmocom_fft')
+makedepends=('git' 'cmake' 'boost' 'python2-cheetah' 'swig')
+conflicts=('gr-osmosdr-git')
+replaces=('gr-osmosdr')
+source=("git://git.osmocom.org/gr-osmosdr#tag=v$pkgver")
+md5sums=('SKIP')
+
+# add support for miri, osmo?
+
+prepare() {
+  cd "$srcdir/$_pkgname"
+  sed -i 's/python$/python2/' apps/osmocom_siggen_base.py
+}
+
+build() {
+  cd "$srcdir/$_pkgname"
+  mkdir build
+  cd build
+  cmake \
+    -Wno-dev \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DPYTHON_EXECUTABLE=$(which python2) \
+    -DPYTHON_INCLUDE_DIR=$(echo /usr/include/python2*) \
+    -DPYTHON_LIBRARY=$(echo /usr/lib/libpython2.*.so) \
+    -DCMAKE_INSTALL_PREFIX=/usr ../
+  make
+}
+
+package() {
+  cd "$srcdir/$_pkgname/build/"
+  make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list