This commit is contained in:
Mario Fetka
2024-06-18 10:44:56 +02:00
parent 6a37474503
commit 20ef8b5c88
95 changed files with 4227 additions and 99 deletions

View File

@@ -1,4 +1,5 @@
AUX libffado-2.4.7-fix-config-load-crash.patch 728 BLAKE2B 066910a52b054d423abfc2656e5b9499be7b03499a74bd8df97b99b83d7c14c68e5728a4608b5082a53bd0f6d174ef645c461139018d0110cdfc2f8ad6111214 SHA512 7fedd5157bd3fae9cb70de02b5883a69caea0c0a2b80a3d86fe66d57743e127c281922afdfdfcb8cc14e492dafcf814a230d70dad8601168c615d9daf719cdd0
DIST libffado-2.4.7.tgz 1231931 BLAKE2B 3c304011259ddbd35ce8fd725d38a5f50fca962981f9c5af6e377493a14985e4b96c64bcc54ba5a341028ec17dc6f2c42ce527422779f2edc6f9a1a61220cf51 SHA512 424a9ca7ded12e72d77a50d7ddf4e50dc0d55b80d725499df7609ce60d0eac8b24a41d9b8e4e74f78bdefe114b61bd5f1ec09a6d083f4a58475e66d61153f075
EBUILD libffado-2.4.7.ebuild 2910 BLAKE2B e4b2fd767bf91bb92ab83d772d0a4035d5d3c81ba8836fe7232b1dd94b2ebc163f0211f475b79cb3e5711027e967971ae43675b2c9a29138282219d3a34581f1 SHA512 d4fc9da93eed6f587831778e81d6f3b69947f7831920bb4a6edbc513aca4961332a8c180cbdb2803f0dfea70cbad0dab2fde765a0c4b22dcab9ff18b5e2d17eb
AUX libffado-2.4.7-python312-imp-removal.patch 2275 BLAKE2B f124ff81517b14c5901fc820060cc75eb2c431750e918bfb2754362c4f5dee81b1ac284dd353e7b718e6c42daa57432e45984e4f5181e26a86a9c0a056adb622 SHA512 3bacd2c9ecccc77c8f577d551ae430f58c29fb66cf600d3933a8a4f81d13bc77fdf59347da03fc8e6bf06d32a4503e637c7fb3616c30e6cc70b2eae274b48a5e
DIST libffado-2.4.8.tgz 1237955 BLAKE2B 14b83d55fc9a7b33c888b893c808f8419292fefaa2c2239b4b51c2b84070a584ea72821c8469bb8d965a9a5e6473b6fcfb5e85f4eecd2d424e3167322f8abb81 SHA512 fbbcd30640c55315f2e65fc6c07afc71a77dd2c9d1b6127ee55cd17e76511ad5f0563135e52397dbf113fb0d5925021a38780f231409bdd920da52e6c1ce3acc
EBUILD libffado-2.4.8.ebuild 2994 BLAKE2B 11110ffee9938e6dbccd45da81f9f0cfcded55b8fcb855964e810391ebf5e1a6076d5516b7eb5f619a2d6c6c086abeb47115a9358b8cbde846c99fbaa2ca531b SHA512 f1460495968abd4fa98340280ef459b5a8e5cb6496f4328bd66045a95c8ca664034fa4e2f682126129d349891fa401092f21776be94b7efba4e26682be045c0c
MISC metadata.xml 344 BLAKE2B a7d2c27caa7e9fa72716534c406145b94bd8a13eadf57d06ea8e3148339857311bd7e8f0434edbf8a70a5e7bfec1726425e1d16734841b056caeee7754471666 SHA512 30d31f76c73ff218fa34e5f9d442e2366082bf4697038c804c093cac0e22720341691b732bf653466f8e5fc7e734c11b08a02cef7dd2a4bd93635968e2c29447

View File

@@ -0,0 +1,69 @@
--- libffado-2.4.7/admin/pyuic.py.orig 2023-07-13 15:54:22.683633139 +0900
+++ libffado-2.4.7/admin/pyuic.py 2023-07-13 15:59:32.832327567 +0900
@@ -21,7 +21,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
-import imp
+import importlib.util
def pyuic_action( target, source, env ):
env.Execute( "pyuic " + str( source[0] ) + " > " + str( target[0] ) )
@@ -34,8 +34,9 @@
context.Message( "Checking for pyuic (by checking for the python module pyqtconfig) " )
ret = True
try:
- imp.find_module( "pyqtconfig" )
- except ImportError:
+ spec = importlib.util.find_spec( "pyqtconfig" )
+ module = importlib.util.module_from_spec(spec)
+ except AttributeError:
ret = False
context.Result( ret )
return ret
--- libffado-2.4.7/admin/pyuic4.py.orig 2023-07-13 15:54:22.683633139 +0900
+++ libffado-2.4.7/admin/pyuic4.py 2023-07-13 15:58:59.688360220 +0900
@@ -21,7 +21,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
-import imp
+import importlib.util
def pyuic4_action( target, source, env ):
env.Execute( "pyuic4 " + str( source[0] ) + " > " + str( target[0] ) )
@@ -34,8 +34,9 @@
context.Message( "Checking for pyuic4 (by checking for the python module pyqtconfig) " )
ret = True
try:
- imp.find_module( "pyqtconfig" )
- except ImportError:
+ spec = importlib.util.find_spec( "pyqtconfig" )
+ module = importlib.util.module_from_spec(spec)
+ except AttributeError:
ret = False
context.Result( ret )
return ret
--- libffado-2.4.7/admin/pyuic5.py.orig 2023-07-13 15:54:22.683633139 +0900
+++ libffado-2.4.7/admin/pyuic5.py 2023-07-13 15:59:27.754332570 +0900
@@ -22,7 +22,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
-import imp
+import importlib.util
def pyuic5_action( target, source, env ):
env.Execute( "pyuic5 " + str( source[0] ) + " > " + str( target[0] ) )
@@ -35,8 +35,9 @@
context.Message( "Checking for pyuic5 (by checking for the python module pyqtconfig) " )
ret = True
try:
- imp.find_module( "pyqtconfig" )
- except ImportError:
+ spec = importlib.util.find_spec( "pyqtconfig" )
+ module = importlib.util.module_from_spec(spec)
+ except AttributeError:
ret = False
context.Result( ret )
return ret

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -18,6 +18,7 @@ else
KEYWORDS="~alpha amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv x86"
fi
S="${WORKDIR}/${P}/${PN}"
LICENSE="GPL-2 GPL-3"
SLOT="0"
IUSE="debug qt5 test-programs"
@@ -47,6 +48,7 @@ RDEPEND="${CDEPEND}"
PATCHES=(
"${FILESDIR}/libffado-2.4.7-fix-config-load-crash.patch"
"${FILESDIR}/libffado-2.4.7-python312-imp-removal.patch"
)
myescons() {