[arch-commits] Commit in gnuradio-fcdproplus/repos (6 files)

Antonio Rojas arojas at archlinux.org
Wed Jan 4 09:52:34 UTC 2017


    Date: Wednesday, January 4, 2017 @ 09:52:34
  Author: arojas
Revision: 204839

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

Added:
  gnuradio-fcdproplus/repos/community-staging-i686/
  gnuradio-fcdproplus/repos/community-staging-i686/88-fcdproplus.rules
    (from rev 204838, gnuradio-fcdproplus/trunk/88-fcdproplus.rules)
  gnuradio-fcdproplus/repos/community-staging-i686/PKGBUILD
    (from rev 204838, gnuradio-fcdproplus/trunk/PKGBUILD)
  gnuradio-fcdproplus/repos/community-staging-x86_64/
  gnuradio-fcdproplus/repos/community-staging-x86_64/88-fcdproplus.rules
    (from rev 204838, gnuradio-fcdproplus/trunk/88-fcdproplus.rules)
  gnuradio-fcdproplus/repos/community-staging-x86_64/PKGBUILD
    (from rev 204838, gnuradio-fcdproplus/trunk/PKGBUILD)

----------------------------------------------+
 community-staging-i686/88-fcdproplus.rules   |    9 +++++
 community-staging-i686/PKGBUILD              |   41 +++++++++++++++++++++++++
 community-staging-x86_64/88-fcdproplus.rules |    9 +++++
 community-staging-x86_64/PKGBUILD            |   41 +++++++++++++++++++++++++
 4 files changed, 100 insertions(+)

Copied: gnuradio-fcdproplus/repos/community-staging-i686/88-fcdproplus.rules (from rev 204838, gnuradio-fcdproplus/trunk/88-fcdproplus.rules)
===================================================================
--- community-staging-i686/88-fcdproplus.rules	                        (rev 0)
+++ community-staging-i686/88-fcdproplus.rules	2017-01-04 09:52:34 UTC (rev 204839)
@@ -0,0 +1,9 @@
+# Udev rules for the Funcube Dongle Pro (0xfb56) and Pro+ (0xfb31)
+
+# HIDAPI/libusb:
+SUBSYSTEMS=="usb" ATTRS{idVendor}=="04d8" ATTRS{idProduct}=="fb56" MODE:="0666"
+SUBSYSTEMS=="usb" ATTRS{idVendor}=="04d8" ATTRS{idProduct}=="fb31" MODE:="0666"
+
+# HIDAPI/hidraw:
+KERNEL=="hidraw*", ATTRS{busnum}=="1", ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="fb56", MODE="0666"
+KERNEL=="hidraw*", ATTRS{busnum}=="1", ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="fb31", MODE="0666"

Copied: gnuradio-fcdproplus/repos/community-staging-i686/PKGBUILD (from rev 204838, gnuradio-fcdproplus/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-01-04 09:52:34 UTC (rev 204839)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Dominik Heidler <dheidler at gmail.com>
+pkgname=gnuradio-fcdproplus
+_pkgname=gr-fcdproplus
+pkgver=3.7.5
+pkgrel=7
+_tag=fcdproplus-0.1.0
+pkgdesc="GNU Radio source block for Funcube Dongle Pro +"
+arch=('i686' 'x86_64')
+url="https://github.com/dl1ksv/gr-fcdproplus"
+license=('GPL3')
+depends=('gnuradio' 'libusb' 'alsa-lib' 'boost-libs')
+makedepends=('git' 'cmake' 'boost' 'swig')
+replaces=('gr-fcdproplus')
+source=("git://github.com/dl1ksv/gr-fcdproplus.git#tag=$_tag"
+        "88-fcdproplus.rules")
+md5sums=('SKIP'
+         '465e12c454c6a22ebec9849181af7bdc')
+
+prepare() {
+  cd "$srcdir/$_pkgname"
+}
+
+build() {
+  cd "$srcdir/$_pkgname"
+  mkdir -p build
+  cd build
+  cmake \
+    -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
+  install -Dm644 "$srcdir/88-fcdproplus.rules" "$pkgdir/etc/udev/rules.d/88-fcdproplus.rules"
+}

Copied: gnuradio-fcdproplus/repos/community-staging-x86_64/88-fcdproplus.rules (from rev 204838, gnuradio-fcdproplus/trunk/88-fcdproplus.rules)
===================================================================
--- community-staging-x86_64/88-fcdproplus.rules	                        (rev 0)
+++ community-staging-x86_64/88-fcdproplus.rules	2017-01-04 09:52:34 UTC (rev 204839)
@@ -0,0 +1,9 @@
+# Udev rules for the Funcube Dongle Pro (0xfb56) and Pro+ (0xfb31)
+
+# HIDAPI/libusb:
+SUBSYSTEMS=="usb" ATTRS{idVendor}=="04d8" ATTRS{idProduct}=="fb56" MODE:="0666"
+SUBSYSTEMS=="usb" ATTRS{idVendor}=="04d8" ATTRS{idProduct}=="fb31" MODE:="0666"
+
+# HIDAPI/hidraw:
+KERNEL=="hidraw*", ATTRS{busnum}=="1", ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="fb56", MODE="0666"
+KERNEL=="hidraw*", ATTRS{busnum}=="1", ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="fb31", MODE="0666"

Copied: gnuradio-fcdproplus/repos/community-staging-x86_64/PKGBUILD (from rev 204838, gnuradio-fcdproplus/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-01-04 09:52:34 UTC (rev 204839)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Dominik Heidler <dheidler at gmail.com>
+pkgname=gnuradio-fcdproplus
+_pkgname=gr-fcdproplus
+pkgver=3.7.5
+pkgrel=7
+_tag=fcdproplus-0.1.0
+pkgdesc="GNU Radio source block for Funcube Dongle Pro +"
+arch=('i686' 'x86_64')
+url="https://github.com/dl1ksv/gr-fcdproplus"
+license=('GPL3')
+depends=('gnuradio' 'libusb' 'alsa-lib' 'boost-libs')
+makedepends=('git' 'cmake' 'boost' 'swig')
+replaces=('gr-fcdproplus')
+source=("git://github.com/dl1ksv/gr-fcdproplus.git#tag=$_tag"
+        "88-fcdproplus.rules")
+md5sums=('SKIP'
+         '465e12c454c6a22ebec9849181af7bdc')
+
+prepare() {
+  cd "$srcdir/$_pkgname"
+}
+
+build() {
+  cd "$srcdir/$_pkgname"
+  mkdir -p build
+  cd build
+  cmake \
+    -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
+  install -Dm644 "$srcdir/88-fcdproplus.rules" "$pkgdir/etc/udev/rules.d/88-fcdproplus.rules"
+}



More information about the arch-commits mailing list