Package Details: liblms7002m-xtrx-git r10.b07761b73861-1

Git Clone URL: https://aur.archlinux.org/liblms7002m-xtrx-git.git (read-only, click to copy)
Package Base: liblms7002m-xtrx-git
Description: A Compact LMS7002 library suitable for MCU. Use by the xtrx sdr.
Upstream URL: https://github.com/xtrx-sdr/liblms7002m
Keywords: sdr xtrx
Licenses: LGPL
Provides: liblms7002m-xtrx
Submitter: lynxis
Maintainer: lynxis
Last Packager: lynxis
Votes: 1
Popularity: 0.001258
First Submitted: 2019-04-22 17:44 (UTC)
Last Updated: 2021-07-10 13:42 (UTC)

Dependencies (3)

Required by (1)

Sources (1)

Latest Comments

xiretza commented on 2021-07-08 07:09 (UTC)

Or the package author could fix their git configuration to not mess with version numbers in PKGBUILDS (either by not setting core.abbrev globally, or by building in a clean chroot).

df8oe commented on 2021-07-07 20:00 (UTC)

To fix this you simply have to change line 17 to

printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=12 HEAD)"

df8oe commented on 2021-07-07 09:05 (UTC) (edited on 2021-07-07 19:31 (UTC) by df8oe)

liblms7002m-xtrx-git, ibxtrx-git and libxtrxdsp-git are in an update loop now. This is because of the difference between package name and version string. Functionality is ok. E. g. package name: r10.b07761b-1 and available version r10.b07761b73861-1, but after an update the name is same as before.

lynxis commented on 2021-07-02 19:13 (UTC)

Thanks @xiretz & lainpants.

xiretza commented on 2021-04-24 09:49 (UTC)

Also, python-cheetah should be a makedepends.

lainpants commented on 2020-05-26 18:48 (UTC)

Upstream migrated to python3, the python2-cheetah dep needs changed to python-cheetah3

lainpants commented on 2020-01-04 07:24 (UTC)

Please update pkgver in the PKGBUILD to match what pkgver() emits so that yay (and possibly other AUR package managers) can correctly detect if the package is out of date:

:: 2 Packages to upgrade.
2  aur/liblms7002m-xtrx-git  r9.bfd5418-1  -> r9.bfd5418098f1-3
1  aur/libusb3380-git        r15.c83d1e9-1 -> r15.c83d1e93eb3a-2

lynxis commented on 2019-09-10 03:32 (UTC)

Thanks, applied.

GNUtoo commented on 2019-07-06 01:39 (UTC)

Hi,

Here are two patches:

0001-Make-the-package-architecture-dependent-to-enable-sh.patch:

From 6de080a2c6435ac70ef18361ca95d18c8f61ef42 Mon Sep 17 00:00:00 2001
From: Denis 'GNUtoo' Carikli GNUtoo@cyberdimension.org
Date: Sat, 6 Jul 2019 03:23:10 +0200
Subject: [PATCH 1/2] Make the package architecture dependent to enable
 shipping it.

While this works in AUR, because users are building the PKGBUILD, distributions wanting to use this PKGBUILD as-is and ship packages produced with it will have an issue as the package built will be installable on any architecture, but the binaries in the packages are not architecture independant.

Signed-off-by: Denis 'GNUtoo' Carikli GNUtoo@cyberdimension.org

PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PKGBUILD b/PKGBUILD index 5cbbedf..02997e1 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ _gitname="liblms7002m" pkgver=r9.bfd5418098f1 pkgrel=1 pkgdesc="A Compact LMS7002 library suitable for MCU. Use by the xtrx sdr." -arch=('any') +arch=('armv7h' 'i686' 'x86_64') url="https://github.com/xtrx-sdr/liblms7002m" license=('LGPL') makedepends=('git' 'cmake') -- 2.22.0

0002-Add-python2-cheetah-build-dependency.patch:

From e418dc47ce7ba37edde8edde486debdc470fe907 Mon Sep 17 00:00:00 2001
From: Denis 'GNUtoo' Carikli GNUtoo@cyberdimension.org
Date: Sat, 6 Jul 2019 03:29:48 +0200
Subject: [PATCH 2/2] Add python2-cheetah build dependency

Cheetah is only used in regs/enum_parser.py which is only used during compilation to generate the lms7002m_defs.h header.

Signed-off-by: Denis 'GNUtoo' Carikli GNUtoo@cyberdimension.org

PKGBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/PKGBUILD b/PKGBUILD index 02997e1..22bd7bc 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,11 +2,12 @@ pkgname=liblms7002m-xtrx-git _gitname="liblms7002m" pkgver=r9.bfd5418098f1 -pkgrel=1 +pkgrel=2 pkgdesc="A Compact LMS7002 library suitable for MCU. Use by the xtrx sdr." arch=('armv7h' 'i686' 'x86_64') url="https://github.com/xtrx-sdr/liblms7002m" license=('LGPL') +depends=('python2-cheetah') makedepends=('git' 'cmake') source=("git+$url") md5sums=('SKIP') -- 2.22.0