diff options
-rw-r--r-- | .SRCINFO | 35 | ||||
-rw-r--r-- | PKGBUILD | 30 | ||||
-rw-r--r-- | digilent.waveforms.install | 11 |
3 files changed, 43 insertions, 33 deletions
@@ -1,28 +1,35 @@ pkgbase = digilent.waveforms pkgdesc = Digilent WaveForms Application, Runtime and SDK - pkgver = 3.9.1 + pkgver = 3.22.2 pkgrel = 1 - url = https://reference.digilentinc.com/waveforms3 + url = https://digilent.com/reference/software/waveforms/waveforms-3/start install = digilent.waveforms.install arch = i686 arch = x86_64 arch = armv6h arch = armv7h + arch = aarch64 license = custom - depends = desktop-file-utils depends = digilent.adept.runtime + depends = hicolor-icon-theme + depends = qt5-multimedia depends = qt5-script - depends = shared-mime-info - depends = xdg-utils + 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.9.1/digilent.waveforms_3.9.1_i386.deb - sha256sums_i686 = 45b43b00d263f259a8b1cea5452e13e2c910ed178d187f5979d88ccb5829d3d4 - source_x86_64 = https://digilent.s3.amazonaws.com/Software/Waveforms2015/3.9.1/digilent.waveforms_3.9.1_amd64.deb - sha256sums_x86_64 = a15e7d584691cf171e8524965f318295294d263a6d5cbccee1da5ac34761af80 - source_armv6h = https://digilent.s3.amazonaws.com/Software/Waveforms2015/3.9.1/digilent.waveforms_3.9.1_armhf.deb - sha256sums_armv6h = f9946b9778f9138c9ff1361026c972823e5128432b4f82a4bb759b166e116acc - source_armv7h = https://digilent.s3.amazonaws.com/Software/Waveforms2015/3.9.1/digilent.waveforms_3.9.1_armhf.deb - sha256sums_armv7h = f9946b9778f9138c9ff1361026c972823e5128432b4f82a4bb759b166e116acc + source_i686 = https://digilent.s3.amazonaws.com/Software/Waveforms2015/3.22.2/digilent.waveforms_3.22.2_i386.deb + sha256sums_i686 = 84d271b4bec868c77ae15eb74d6d3d8df4f397862cc7b35ce520d3f79f212259 + source_x86_64 = https://digilent.s3.amazonaws.com/Software/Waveforms2015/3.22.2/digilent.waveforms_3.22.2_amd64.deb + sha256sums_x86_64 = 4251544b6aa81e77cba68a032b034721900f600441712d5a87668103e5289155 + source_armv6h = https://digilent.s3.amazonaws.com/Software/Waveforms2015/3.22.2/digilent.waveforms_3.22.2_armhf.deb + sha256sums_armv6h = aa6b88f0d254165e81346c8cb893fdba8381156d6a42e93442679441b8fbb512 + source_armv7h = https://digilent.s3.amazonaws.com/Software/Waveforms2015/3.22.2/digilent.waveforms_3.22.2_armhf.deb + sha256sums_armv7h = aa6b88f0d254165e81346c8cb893fdba8381156d6a42e93442679441b8fbb512 + source_aarch64 = https://digilent.s3.amazonaws.com/Software/Waveforms2015/3.22.2/digilent.waveforms_3.22.2_arm64.deb + sha256sums_aarch64 = 515265231bd1324b995665c843d747f41ae939f5b2d450844246392450729e18 pkgname = digilent.waveforms - @@ -1,29 +1,43 @@ # Maintainer: Forest Crossman <cyrozap at gmail dot com> pkgname=digilent.waveforms -pkgver=3.9.1 +pkgver=3.22.2 pkgrel=1 pkgdesc="Digilent WaveForms Application, Runtime and SDK" -arch=('i686' 'x86_64' 'armv6h' 'armv7h') -url="https://reference.digilentinc.com/waveforms3" +arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64') +url="https://digilent.com/reference/software/waveforms/waveforms-3/start" license=('custom') -depends=('desktop-file-utils' 'digilent.adept.runtime' 'qt5-script' 'shared-mime-info' 'xdg-utils') +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") source_armv6h=("https://digilent.s3.amazonaws.com/Software/Waveforms2015/${pkgver}/${pkgname}_${pkgver}_armhf.deb") source_armv7h=($source_armv6h) source_i686=("https://digilent.s3.amazonaws.com/Software/Waveforms2015/${pkgver}/${pkgname}_${pkgver}_i386.deb") source_x86_64=("https://digilent.s3.amazonaws.com/Software/Waveforms2015/${pkgver}/${pkgname}_${pkgver}_amd64.deb") -sha256sums_armv6h=('f9946b9778f9138c9ff1361026c972823e5128432b4f82a4bb759b166e116acc') +sha256sums_aarch64=('515265231bd1324b995665c843d747f41ae939f5b2d450844246392450729e18') +sha256sums_armv6h=('aa6b88f0d254165e81346c8cb893fdba8381156d6a42e93442679441b8fbb512') sha256sums_armv7h=($sha256sums_armv6h) -sha256sums_i686=('45b43b00d263f259a8b1cea5452e13e2c910ed178d187f5979d88ccb5829d3d4') -sha256sums_x86_64=('a15e7d584691cf171e8524965f318295294d263a6d5cbccee1da5ac34761af80') +sha256sums_i686=('84d271b4bec868c77ae15eb74d6d3d8df4f397862cc7b35ce520d3f79f212259') +sha256sums_x86_64=('4251544b6aa81e77cba68a032b034721900f600441712d5a87668103e5289155') package() { # Extract - tar -xzf data.tar.gz --exclude="usr/share/lintian" -C "${pkgdir}"/ + tar -xJf data.tar.xz --exclude="usr/share/lintian" -C "${pkgdir}"/ # Install license file install -dm 755 "${pkgdir}/usr/share/licenses/${pkgname}" ln -s "/usr/share/doc/${pkgname}/copyright" "${pkgdir}/usr/share/licenses/${pkgname}/copyright" + + # Install icons + for _size in 32 256; do + for _mimetype in application-x-dwf3project application-x-dwf3work; do + install -Dm 644 "${pkgdir}/usr/share/digilent/waveforms/pixmaps/${_size}.png" "${pkgdir}/usr/share/icons/hicolor/${_size}x${_size}/mimetypes/${_mimetype}.png" + done + done } diff --git a/digilent.waveforms.install b/digilent.waveforms.install index e325b2b98e34..cb0216a2b550 100644 --- a/digilent.waveforms.install +++ b/digilent.waveforms.install @@ -1,22 +1,11 @@ post_install() { ldconfig - update-mime-database usr/share/mime > /dev/null - xdg-icon-resource install --context mimetypes --mode system --novendor --size 32 /usr/share/digilent/waveforms/pixmaps/32.png application-x-dwf3work - xdg-icon-resource install --context mimetypes --mode system --novendor --size 32 /usr/share/digilent/waveforms/pixmaps/32.png application-x-dwf3project - update-desktop-database -q } post_upgrade() { post_install } -pre_remove() { - update-mime-database usr/share/mime > /dev/null - xdg-icon-resource uninstall --context mimetypes --mode system --size 32 application-x-dwf3work - xdg-icon-resource uninstall --context mimetypes --mode system --size 32 application-x-dwf3project - update-desktop-database -q -} - post_remove() { ldconfig } |