testing/libsigrokdecode: rebuild against python3-3.14

This fixes:

    ERROR: unable to select packages:
      so:libpython3.12.so.1.0 (no such package):
        required by: libsigrokdecode-0.5.3-r4[so:libpython3.12.so.1.0]

Also use official (read-only) Github mirror (upstream git seems to be
struggling under scraper load)
This commit is contained in:
Marian Buschsieweke 2026-04-04 10:11:22 +02:00 committed by omni
parent b5415babcd
commit e2cf3250b8
2 changed files with 7 additions and 7 deletions

View File

@ -1,8 +1,7 @@
# Maintainer: Marian Buschsieweke <marian.buschsieweke@posteo.net>
pkgname=libsigrokdecode
pkgver=0.5.3
pkgrel=4
pkgrel=5
pkgdesc="A C library to decode protocol data captured by logic analyzers"
url="https://sigrok.org/wiki/Libsigrokdecode"
makedepends="glib-dev libserialport-dev libzip-dev libusb-dev libftdi1-dev
@ -10,11 +9,12 @@ makedepends="glib-dev libserialport-dev libzip-dev libusb-dev libftdi1-dev
autoconf automake libtool"
arch="all"
license="GPL-3.0-only"
source="http://sigrok.org/download/source/libsigrokdecode/libsigrokdecode-$pkgver.tar.gz
source="https://github.com/sigrokproject/libsigrokdecode/archive/refs/tags/libsigrokdecode-$pkgver.tar.gz
version.patch
python-3.12.patch
python-3.14.patch
"
subpackages="$pkgname-dev"
builddir="$srcdir/$pkgname-$pkgname-$pkgver"
prepare() {
default_prepare
@ -35,7 +35,7 @@ package() {
}
sha512sums="
23393504b68135ed4ae8e8a654df024620af02e84fa3955956c61899388812229108155b4ae8d946e61f33dc8a8807db090d608350548a7a717d966442b07b9e libsigrokdecode-0.5.3.tar.gz
22dd6a8f015271ad44198c2642d1e960f60ed32c4d192818a64abce8af2b4dfb96b78caaea5d58994c0f63a301990344c9f4932b5baf016a400c958b6b8f1f1a libsigrokdecode-0.5.3.tar.gz
6d8fa69a891b4333fe77213cf75df218090e58b51d6c92197351d95a977634f2228a63c9c0c75fcb1d816c59ee9eaf410d5e79827ac7c79b0784262ea0f9c3fd version.patch
22227cafc70d493cba413956861d6f6a43ad071a27f07bf328a4c811c6b78d5241dd31ce461bc086b684d4a2057cd35db305750e8030ee0e2b30512668b5d5bd python-3.12.patch
4e40bcfd788b06f3ba5d668cd327efe44b5f9d58900281fbe03ec3d814fe6dfb3e6f84046f287416b3fd13c52dd104380b80f8159fb72f12ecf979d95ebffca0 python-3.14.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.12-embed], [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])
+ [python-3.14-embed], [python-3.12-embed], [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.])])