summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcyrozap2024-03-03 14:47:39 -0600
committercyrozap2024-03-03 14:47:39 -0600
commitccfc736f4fbd1bc7230be93cfb9df0352958af25 (patch)
treee03770441b92cfdfd1d2d49f7a72618d60b06342
parent8ee2a32e0116624ee8ad1fccfe6980061e683099 (diff)
downloadaur-ccfc736f4fbd1bc7230be93cfb9df0352958af25.tar.gz
Add optional dependencies for Python example scripts
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD7
2 files changed, 12 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0edd35c8acc5..781ec8723b35 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = digilent.waveforms
pkgdesc = Digilent WaveForms Application, Runtime and SDK
pkgver = 3.21.3
- pkgrel = 4
+ pkgrel = 5
url = https://digilent.com/reference/software/waveforms/waveforms-3/start
install = digilent.waveforms.install
arch = i686
@@ -15,6 +15,11 @@ pkgbase = digilent.waveforms
depends = qt5-multimedia
depends = qt5-script
depends = qt5-serialport
+ optdepends = python: Python example scripts
+ optdepends = python-matplotlib: Python example scripts
+ optdepends = python-numpy: Python example scripts
+ optdepends = python-requests: Python example scripts
+ optdepends = python-scipy: Python example scripts
options = !strip
source_i686 = https://digilent.s3.amazonaws.com/Software/Waveforms2015/3.21.3/digilent.waveforms_3.21.3_i386.deb
sha256sums_i686 = 64be424aa8e04039796a9633513ba7a7ad2fe0e1315bc03058d60a19617dcfcd
diff --git a/PKGBUILD b/PKGBUILD
index 55f664e16aa5..79cbd31d37f9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,17 @@
pkgname=digilent.waveforms
pkgver=3.21.3
-pkgrel=4
+pkgrel=5
pkgdesc="Digilent WaveForms Application, Runtime and SDK"
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
url="https://digilent.com/reference/software/waveforms/waveforms-3/start"
license=('custom')
depends=('digilent.adept.runtime' 'hicolor-icon-theme' 'qt5-multimedia' 'qt5-script' 'qt5-serialport')
+optdepends=('python: Python example scripts'
+ 'python-matplotlib: Python example scripts'
+ 'python-numpy: Python example scripts'
+ 'python-requests: Python example scripts'
+ 'python-scipy: Python example scripts')
options=('!strip')
install=${pkgname}.install
source_aarch64=("https://digilent.s3.amazonaws.com/Software/Waveforms2015/${pkgver}/${pkgname}_${pkgver}_arm64.deb")