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

Kyle Keen kkeen at archlinux.org
Fri May 29 05:25:26 UTC 2020


    Date: Friday, May 29, 2020 @ 05:25:25
  Author: kkeen
Revision: 636963

archrelease: copy trunk to community-staging-x86_64

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

---------------------+
 88-fcdproplus.rules |    9 +++++++++
 PKGBUILD            |   43 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

Copied: gnuradio-fcdproplus/repos/community-staging-x86_64/88-fcdproplus.rules (from rev 636962, gnuradio-fcdproplus/trunk/88-fcdproplus.rules)
===================================================================
--- community-staging-x86_64/88-fcdproplus.rules	                        (rev 0)
+++ community-staging-x86_64/88-fcdproplus.rules	2020-05-29 05:25:25 UTC (rev 636963)
@@ -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 636962, gnuradio-fcdproplus/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-05-29 05:25:25 UTC (rev 636963)
@@ -0,0 +1,43 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Dominik Heidler <dheidler at gmail.com>
+pkgname=gnuradio-fcdproplus
+_pkgname=gr-fcdproplus
+pkgver=3.8.0
+pkgrel=5
+# they still haven't done a release, so fake it
+_commit=f1154db33e7
+pkgdesc="GNU Radio source block for Funcube Dongle Pro +"
+arch=('x86_64')
+url="https://github.com/dl1ksv/gr-fcdproplus"
+license=('GPL3')
+depends=('gnuradio' 'libusb' 'alsa-lib' 'boost-libs')
+makedepends=('git' 'cmake' 'boost' 'swig' 'systemd' 'ninja')
+# systemd for FS#54735 (libudev.h)
+replaces=('gr-fcdproplus')
+#source=("gr-fcdpp-$pkgver.tgz::https://github.com/dl1ksv/gr-fcdproplus/archive/v$pkgver.tar.gz"
+source=("gr-fcdpp-$_commit.tgz::https://github.com/dl1ksv/gr-fcdproplus/archive/$_commit.tar.gz"
+        "88-fcdproplus.rules")
+md5sums=('464e3499762fec2071b75ff539095475'
+         '465e12c454c6a22ebec9849181af7bdc')
+
+#prepare() {
+#  cd "$srcdir/$_pkgname-$pkgver"
+#}
+
+build() {
+  cd "$srcdir/$_pkgname-$_commit"*
+  mkdir -p build
+  cd build
+  cmake -G Ninja \
+    -DPYTHON_EXECUTABLE=$(which python3) \
+    -DPYTHON_INCLUDE_DIR=$(echo /usr/include/python3*) \
+    -DPYTHON_LIBRARY=$(echo /usr/lib/libpython3.*.so) \
+    -DCMAKE_INSTALL_PREFIX=/usr ../
+  ninja
+}
+
+package() {
+  cd "$srcdir/$_pkgname-$_commit"*/build/
+  DESTDIR="${pkgdir}" ninja install
+  install -Dm644 "$srcdir/88-fcdproplus.rules" "$pkgdir/etc/udev/rules.d/88-fcdproplus.rules"
+}



More information about the arch-commits mailing list