Package Details: gnuradio-maint38-git v3.8.2.0.34.gf1204e038-1

Git Clone URL: https://aur.archlinux.org/gnuradio-maint38-git.git (read-only, click to copy)
Package Base: gnuradio-maint38-git
Description: General purpose DSP and SDR toolkit, with drivers for usrp and fcd.
Upstream URL: https://github.com/gnuradio/gnuradio
Licenses: GPL
Conflicts: gnuradio, gnuradio-companion
Provides: gnuradio, gnuradio-companion
Submitter: nickoe
Maintainer: nickoe
Last Packager: nickoe
Votes: 0
Popularity: 0.000000
First Submitted: 2021-01-04 23:05 (UTC)
Last Updated: 2021-01-04 23:05 (UTC)

Required by (57)

Sources (1)

Latest Comments

dreieck commented on 2021-12-19 18:40 (UTC) (edited on 2021-12-19 18:40 (UTC) by dreieck)

Why do you want both provides=("gnuradio-maint38=${pkgver}") and conflicts=("gnuradio-maint38")?

Sorry, I confused what I wrote; in fact I wanted a =${pkgver} for the gnuradio-statement. Also with the gnuradio conflicts statement already there conflicts=("gnuradio-maint38") should be obsolete.

Reason for the =${pkgver}: There are packages that depend on specific gnuradio versions (e.g. gr-foo-git, which requires some gnuradio 3.9.x). When you specify the version, dependency resolution can work properly.

It would be nicer to have a bash substitution to do it similar a regex like v(.\.\d+).+, but I am not sure how to do that right now.

Well, you should strip away the v already in pkgver().

Here I give an example of my pkgver() from xfce4-taskbar-plugin-git:

pkgver () {
  cd "${srcdir}/${_pkgname}"
  _ver="$(git describe  --tags | sed 's|^v||' | sed 's|-[^-]*$||' | tr '-' '.')"
  _rev="$(git rev-list --count HEAD)"
  _date="$(git log -1 --date=format:"%Y%m%d" --format="%ad")"
  _hash="$(git rev-parse --short HEAD)"

  if [ -z "${_ver}" ]; then
    error "Version could not be determined."
    return 1
  else
    printf '%s' "${_ver}+r${_rev}.${_date}.${_hash}"
  fi
}

Maybe you can find there what you need.

nickoe commented on 2021-10-03 18:08 (UTC) (edited on 2021-10-03 18:13 (UTC) by nickoe)

@dreieck, ok I will try that. I just had a look at it. It would be nicer to have a bash substitution to do it similar a regex like v(.\.\d+).+, but I am not sure how to do that right now.

Why do you want both provides=("gnuradio-maint38=${pkgver}") and conflicts=("gnuradio-maint38")?

dreieck commented on 2021-09-30 17:51 (UTC)

Can you please add =${pkgver} to the provides-entries?

There are issues that some gr--packages need specific gnuradio-versions, like gr-rds-git which won't work with 3.8. It has that version requirement in it's dependency definitions set, but it can only be honoured if the gnuradio-packages also provide that.

Please also add to the provides array "gnuradio-maint38=${pkgver}" and to the conflicts array "gnuradio-maint38".

Thanks for maintaining!