diff options
author | OSAMC | 2023-11-08 22:46:11 +0000 |
---|---|---|
committer | Florian Hülsmann | 2023-11-08 22:46:11 +0000 |
commit | 8f8334b275853838925d69d48b1af0e51633f1a5 (patch) | |
tree | 23a144df2cd4033581d983f8aeb0538b7103775b | |
parent | 4b7d94f6fb60c047f53c9c03d13b8424015a3cf3 (diff) | |
download | aur-8f8334b275853838925d69d48b1af0e51633f1a5.tar.gz |
hpklinux: update to v4.20.42 (#298)
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 16 | ||||
-rw-r--r-- | python.patch | 12 |
3 files changed, 30 insertions, 8 deletions
@@ -1,7 +1,7 @@ pkgbase = hpklinux pkgdesc = AudioScience HPI (ASIHPI) user space libraries and tools - pkgver = 4.20.39 - pkgrel = 2 + pkgver = 4.20.42 + pkgrel = 1 url = https://www.audioscience.com/internet/download/linux_drivers.htm arch = x86_64 arch = aarch64 @@ -13,7 +13,9 @@ pkgbase = hpklinux optdepends = python: for python bindings optdepends = python-docopt: for dab_data and dabtest scripts provides = python-audioscience - source = https://www.audioscience.com/internet/download/drivers/released/v4/20/39/hpklinux_4.20.39.tar.gz - sha256sums = 7d4017bc505ababff73b30e65f444a4517e1a11745835b2eaab224dfc7a34b1c + source = https://www.audioscience.com/internet/download/drivers/released/v4/20/42/hpklinux_4.20.42.tar.gz + source = python.patch + sha256sums = 41336a3c869e6917df3cdc38ce9819eabf2a36a1573df47c293ef645fd6b6546 + sha256sums = 922832e6c35ed4f55ad7de6138d9fe92fb6add684646471d0b9e616f96802cd7 pkgname = hpklinux @@ -2,8 +2,8 @@ # Contributor: Florian Hülsmann <fh@cbix.de> pkgname=hpklinux -pkgver=4.20.39 -pkgrel=2 +pkgver=4.20.42 +pkgrel=1 pkgdesc='AudioScience HPI (ASIHPI) user space libraries and tools' arch=(x86_64 aarch64) url='https://www.audioscience.com/internet/download/linux_drivers.htm' @@ -14,8 +14,16 @@ depends=(glibc) makedepends=(python-setuptools) optdepends=('python: for python bindings' 'python-docopt: for dab_data and dabtest scripts') -source=("https://www.audioscience.com/internet/download/drivers/released/v${pkgver//./\/}/${pkgname}_$pkgver.tar.gz") -sha256sums=('7d4017bc505ababff73b30e65f444a4517e1a11745835b2eaab224dfc7a34b1c') +source=("https://www.audioscience.com/internet/download/drivers/released/v${pkgver//./\/}/${pkgname}_$pkgver.tar.gz" + 'python.patch') +sha256sums=('41336a3c869e6917df3cdc38ce9819eabf2a36a1573df47c293ef645fd6b6546' + '922832e6c35ed4f55ad7de6138d9fe92fb6add684646471d0b9e616f96802cd7') + +prepare() { + cd ${pkgname}_$pkgver + # fix python2 call in asi-python Makefile + patch -p1 -i ../python.patch +} build() { cd ${pkgname}_$pkgver diff --git a/python.patch b/python.patch new file mode 100644 index 000000000000..b1acc112c96e --- /dev/null +++ b/python.patch @@ -0,0 +1,12 @@ +diff -aur a/asi-python/Makefile b/asi-python/Makefile +--- a/asi-python/Makefile 2023-10-27 09:24:03.000000000 +0200 ++++ b/asi-python/Makefile 2023-11-08 22:24:04.347497255 +0100 +@@ -31,7 +31,7 @@ + setup: $(setup-files) + + build install: setup +- python2 setup.py $(OPTS) $@ $(CMD_OPTS) ++ python setup.py $(OPTS) $@ $(CMD_OPTS) + + clean distclean: + rm -rf $(filter-out $(precious-files),$(wildcard *)) |