Updated dsview 1:1.3.2-2

Fix build issues.
This commit is contained in:
Ladislav Láska 2024-06-09 09:58:23 +08:00
parent c94814c2f2
commit f84af8f362
2 changed files with 53 additions and 2 deletions

View file

@ -7,7 +7,7 @@
epoch=1
pkgname=dsview
pkgver=1.3.2
pkgrel=1
pkgrel=2
pkgdesc="Client software that supports the DreamSourceLab logic analyzer"
arch=('i686' 'x86_64')
url="http://www.dreamsourcelab.com/"
@ -17,12 +17,18 @@ makedepends=('cmake' 'ninja' 'boost')
source=(
"DSView-$pkgver.tar.gz::https://github.com/DreamSourceLab/DSView/archive/v${pkgver}.tar.gz"
"0001-strings.patch"
)
sha384sums=('afd4790c3bef0c0772971f679c6d542edf8c2d8384ae7738f5039f9015e80773bd7e12857252cf88ef4053b97be502ed')
sha384sums=('afd4790c3bef0c0772971f679c6d542edf8c2d8384ae7738f5039f9015e80773bd7e12857252cf88ef4053b97be502ed'
'5a115bdebf0a0fd2db0ef79168d2f34f9a1e564bdfd4661db90afcaf380a05efc3073b9cbff89cfaee56c6c0ea98f3db')
prepare() {
sed -i 's#MODE="0666"#TAG+="uaccess"#' \
"DSView-${pkgver}/DSView/DreamSourceLab.rules"
cd "DSView-${pkgver}"
# This patch is upstream 2018baf0e1add4f9971dd02271ee8e6773cebfac, should be removed with next release
patch --forward --strip=1 --input=../0001-strings.patch
}
build() {