libsigrokdecode: rebuild for Python 3.11

This commit is contained in:
Đoàn Trần Công Danh 2022-11-28 18:11:52 +07:00
parent c33c4b5974
commit 5d7c5deb71
2 changed files with 8 additions and 7 deletions

View File

@ -1,12 +1,13 @@
diff --git configure.ac configure.ac
index f9958b3..2917cb3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -100,7 +100,7 @@ SR_PKG_CHECK_SUMMARY([srd_pkglibs_summary])
Index: libsigrokdecode-0.5.3/configure.ac
===================================================================
--- libsigrokdecode-0.5.3.orig/configure.ac
+++ libsigrokdecode-0.5.3/configure.ac
@@ -93,7 +93,7 @@ SR_PKG_CHECK_SUMMARY([srd_pkglibs_summar
# first, since usually only that variant will add "-lpython3.8".
# 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.9-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.10-embed], [python-3.9-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.])])

View File

@ -1,7 +1,7 @@
# Template file for 'libsigrokdecode'
pkgname=libsigrokdecode
version=0.5.3
revision=7
revision=8
build_style=gnu-configure
hostmakedepends="pkg-config python3 autoconf automake"
makedepends="glib-devel python3-devel"