Package Details: libsigrok-git 0.2.1.r3225.gea7a83a4-1

Git Clone URL: https://aur.archlinux.org/libsigrok-git.git (read-only)
Package Base: libsigrok-git
Description: Client software that supports various hardware logic analyzers, core library (git version)
Upstream URL: http://www.sigrok.org/wiki/Libsigrok
Licenses: GPL3
Conflicts: libsigrok
Provides: libsigrok
Submitter: Manouchehri
Maintainer: codyps
Last Packager: codyps
Votes: 10
Popularity: 0.687921
First Submitted: 2015-09-08 21:55
Last Updated: 2019-01-04 21:44

Latest Comments

codyps commented on 2018-11-03 18:24

Needs an exclude in pkgver() to avoid the bogus unreleased version number.

From fcb32a51df1108ee4b3d338914f234eceb2a2876 Mon Sep 17 00:00:00 2001
From: Cody P Schafer <dev@codyps.com>
Date: Sat, 3 Nov 2018 14:20:33 -0400
Subject: [PATCH] avoid "unreleased" version

---
 .SRCINFO | 2 +-
 PKGBUILD | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 6ea5482..3f99492 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = libsigrok-git
    pkgdesc = Client software that supports various hardware logic analyzers, core library (git version)
-   pkgver = 0.2.1.r3082.g0f523f2b
+   pkgver = 0.2.1.r3187.g3940abcb
    pkgrel = 1
    url = http://www.sigrok.org/wiki/Libsigrok
    arch = armv6h
diff --git a/PKGBUILD b/PKGBUILD
index 0527d22..725155d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@

 _gitname='libsigrok'
 pkgname="${_gitname}-git"
-pkgver=0.2.1.r3082.g0f523f2b
+pkgver=0.2.1.r3187.g3940abcb
 pkgrel=1
 pkgdesc="Client software that supports various hardware logic analyzers, core library (git version)"
 arch=('armv6h' 'armv7h' 'i686' 'x86_64')
@@ -20,7 +20,7 @@ sha512sums=('SKIP')

 pkgver() {
   cd "${srcdir}/${_gitname}"
-  git describe --long | sed 's/^libsigrok-//;s/\([^-]*-g\)/r\1/;s/-/./g'
+  git describe --long --exclude 'libsigrok-unreleased' | sed 's/^libsigrok-//;s/\([^-]*-g\)/r\1/;s/-/./g'
 }

 build() {
-- 
2.19.1

Jake commented on 2018-06-22 17:10

The udev rules got split into 2 files, please add: install -Dm 644 'contrib/61-libsigrok-uaccess.rules' "${pkgdir}/usr/lib/udev/rules.d/61-libsigrok-uaccess.rules" to the pkgbuild.

codyps commented on 2017-11-22 21:00

Upstream renamed `z60_libsigrok.rules` to `60_libsigrok.rules`, needs fixing in PKGBUILD

anatolik commented on 2016-08-21 04:49

Please add 'doxygen' to makedeps. It enables CXX bindings compilation. These CXX bindings are needed for other dependencies like pulseview.

anatolik commented on 2016-08-21 04:28

Use 'libftdi' instead of 'libftdi-compat'. It is updated ftdi/usb stack, it also avoids compilation errors.

Manouchehri commented on 2015-09-16 22:54

Thanks, I'll change that.

vuokkosetae commented on 2015-09-16 22:49

Using
PYTHON=python2 ./configure --prefix=/usr --disable-java
in PKGBUILD allows building python support.
Related inverted python version bugreport:
http://sigrok.org/bugzilla/show_bug.cgi?id=645