diff --git a/hardware/firewire/libffado/actions.py b/hardware/firewire/libffado/actions.py
index 17b19f1e39..fadb78da5a 100644
--- a/hardware/firewire/libffado/actions.py
+++ b/hardware/firewire/libffado/actions.py
@@ -14,7 +14,8 @@ shelltools.export("PYTHONDONTWRITEBYTECODE", "1")
def build():
scons.make('PREFIX=/usr \
COMPILE_FLAGS="%s %s -lpthread" \
- BUILD_TESTS=0' % (get.CXXFLAGS(), get.LDFLAGS()))
+ BUILD_TESTS=0 \
+ PYTHON_INTERPRETER="/usr/bin/python3" ' % (get.CXXFLAGS(), get.LDFLAGS()))
def install():
scons.install("install WILL_DEAL_WITH_XDG_MYSELF=1 DESTDIR=%s" % get.installDIR())
diff --git a/hardware/firewire/libffado/files/libffado-2.4.2-python38.patch b/hardware/firewire/libffado/files/libffado-2.4.2-python38.patch
new file mode 100644
index 0000000000..d0ad2e956d
--- /dev/null
+++ b/hardware/firewire/libffado/files/libffado-2.4.2-python38.patch
@@ -0,0 +1,24 @@
+diff -ruN a/support/mixer-qt4/ffado/configuration.py b/support/mixer-qt4/ffado/configuration.py
+--- a/support/mixer-qt4/ffado/configuration.py 2017-03-28 13:38:34.000000000 +0200
++++ b/support/mixer-qt4/ffado/configuration.py 2019-11-24 20:55:05.284341627 +0100
+@@ -20,7 +20,8 @@
+ # along with this program. If not, see .
+ #
+
+-import re, os
++import os
++import dbus
+
+ import shlex
+
+@@ -53,6 +54,10 @@
+ self.addDevice( dev )
+
+ def getDeviceById( self, vendor, model ):
++ if isinstance(vendor, dbus.Int32):
++ vendor = str(int(vendor))
++ if isinstance(model, dbus.Int32):
++ model = str(int(model))
+ log.debug("DeviceList::getDeviceById( %s, %s )" % (vendor, model ))
+ for dev in self.devices:
+ if int("%s" % dev['vendorid'], 0) == int("%s" % vendor, 0) and \
diff --git a/hardware/firewire/libffado/pspec.xml b/hardware/firewire/libffado/pspec.xml
index f45f71b6f2..104f5a05dd 100644
--- a/hardware/firewire/libffado/pspec.xml
+++ b/hardware/firewire/libffado/pspec.xml
@@ -12,7 +12,7 @@
GPLv3
Free firewire audio drivers
libffado tries to provide open-source drivers for all FireWire based pro-audio devices.
- http://www.ffado.org/files/libffado-2.4.0.tgz
+ http://www.ffado.org/files/libffado-2.4.2.tgz
xdg-utils
glibmm-devel
@@ -33,11 +33,12 @@
flags.patch
- libffado-2.4.0-rme-bigendian-fix.patch
+
+ libffado-2.4.2-python38.patch
@@ -99,6 +100,7 @@
/usr/bin/ffado-mixer*
/usr/share/applications
+ /usr/share/metainfo/ffado-mixer.appdata.xml
/usr/share/pixmaps
@@ -107,6 +109,13 @@
+
+ 2020-01-22
+ 2.4.2
+ Version bump.
+ Pisi Linux Community
+ admin@pisilinux.org
+
2018-08-03
2.4.0