[arch-commits] Commit in gnuradio-osmosdr/repos (4 files)
Antonio Rojas
arojas at archlinux.org
Wed Jan 4 09:57:44 UTC 2017
Date: Wednesday, January 4, 2017 @ 09:57:43
Author: arojas
Revision: 204843
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 204842, gnuradio-osmosdr/trunk/PKGBUILD)
gnuradio-osmosdr/repos/community-staging-x86_64/
gnuradio-osmosdr/repos/community-staging-x86_64/PKGBUILD
(from rev 204842, 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 204842, gnuradio-osmosdr/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-01-04 09:57:43 UTC (rev 204843)
@@ -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=21
+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 204842, gnuradio-osmosdr/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-01-04 09:57:43 UTC (rev 204843)
@@ -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=21
+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