testing/libsigrokdecode: fix build

This commit is contained in:
psykose 2022-11-24 07:06:16 +00:00
parent 69562dbd0d
commit d555f03dde
2 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ arch="all"
license="GPL-3.0-only"
source="http://sigrok.org/download/source/libsigrokdecode/libsigrokdecode-$pkgver.tar.gz
version.patch
python-3.10.patch
python-3.11.patch
"
subpackages="$pkgname-dev"
@ -37,5 +37,5 @@ package() {
sha512sums="
23393504b68135ed4ae8e8a654df024620af02e84fa3955956c61899388812229108155b4ae8d946e61f33dc8a8807db090d608350548a7a717d966442b07b9e libsigrokdecode-0.5.3.tar.gz
6d8fa69a891b4333fe77213cf75df218090e58b51d6c92197351d95a977634f2228a63c9c0c75fcb1d816c59ee9eaf410d5e79827ac7c79b0784262ea0f9c3fd version.patch
6c9533cf9afa51167cee5eb0522e69a5854a77b9018babbf8999c7a64fffcbbb71dd6c636e69167745d8ebad41076e3f98fb2f710e7684517dd5431eadb6b0f3 python-3.10.patch
d5fb0e723570ec994c562713e2d7aa60f891d4270d02e921cbe5d07bf2bccb51ef0f2989f6587276d51acf79d55dd17e3a161e7a5b31837f7fcf9fb673f3330e python-3.11.patch
"

View File

@ -16,7 +16,7 @@ index f9958b3..2917cb3 100644
# https://docs.python.org/3/whatsnew/3.8.html#debug-build-uses-the-same-abi-as-release-build
SR_PKG_CHECK([python3], [SRD_PKGLIBS],
- [python-3.8-embed], [python-3.8 >= 3.8], [python-3.7 >= 3.7], [python-3.6 >= 3.6], [python-3.5 >= 3.5], [python-3.4 >= 3.4], [python-3.3 >= 3.3], [python-3.2 >= 3.2], [python3 >= 3.2])
+ [python-3.10-embed], [python-3.8-embed], [python-3.8 >= 3.8], [python-3.7 >= 3.7], [python-3.6 >= 3.6], [python-3.5 >= 3.5], [python-3.4 >= 3.4], [python-3.3 >= 3.3], [python-3.2 >= 3.2], [python3 >= 3.2])
+ [python-3.11-embed], [python-3.8-embed], [python-3.8 >= 3.8], [python-3.7 >= 3.7], [python-3.6 >= 3.6], [python-3.5 >= 3.5], [python-3.4 >= 3.4], [python-3.3 >= 3.3], [python-3.2 >= 3.2], [python3 >= 3.2])
AS_IF([test "x$sr_have_python3" = xno],
[AC_MSG_ERROR([Cannot find Python 3 development headers.])])