[oe,meta-oe,3/3] jack: Replace using python2 with python3 during build

Message ID 20191126194858.2002923-3-raj.khem@gmail.com
State New
Headers show
Series
  • [oe,meta-oe,1/3] htop: Use python3
Related show

Commit Message

Khem Raj Nov. 26, 2019, 7:48 p.m.
Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 ...waf-Use-Python-3-instead-of-Python-2.patch | 24 +++++++++++++++++++
 meta-oe/recipes-multimedia/jack/jack_git.bb   |  4 +++-
 2 files changed, 27 insertions(+), 1 deletion(-)
 create mode 100644 meta-oe/recipes-multimedia/jack/jack/0001-waf-Use-Python-3-instead-of-Python-2.patch

-- 
2.24.0

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Patch

diff --git a/meta-oe/recipes-multimedia/jack/jack/0001-waf-Use-Python-3-instead-of-Python-2.patch b/meta-oe/recipes-multimedia/jack/jack/0001-waf-Use-Python-3-instead-of-Python-2.patch
new file mode 100644
index 0000000000..9a2f07d3be
--- /dev/null
+++ b/meta-oe/recipes-multimedia/jack/jack/0001-waf-Use-Python-3-instead-of-Python-2.patch
@@ -0,0 +1,24 @@ 
+From fac214660ba173043fc19a5e81f9312e0466c0e2 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Tue, 26 Nov 2019 11:44:50 -0800
+Subject: [PATCH] waf: Use Python 3 instead of Python 2
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ waf | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/waf b/waf
+index a2efc852..037d20b1 100755
+--- a/waf
++++ b/waf
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+ # encoding: latin-1
+ # Thomas Nagy, 2005-2018
+ #
+-- 
+2.24.0
+
diff --git a/meta-oe/recipes-multimedia/jack/jack_git.bb b/meta-oe/recipes-multimedia/jack/jack_git.bb
index 9f7d5b0b61..dc30ceb461 100644
--- a/meta-oe/recipes-multimedia/jack/jack_git.bb
+++ b/meta-oe/recipes-multimedia/jack/jack_git.bb
@@ -14,7 +14,9 @@  LIC_FILES_CHKSUM = " \
 
 DEPENDS = "libsamplerate0 libsndfile1 readline"
 
-SRC_URI = "git://github.com/jackaudio/jack2.git"
+SRC_URI = "git://github.com/jackaudio/jack2.git \
+           file://0001-waf-Use-Python-3-instead-of-Python-2.patch \
+"
 SRCREV = "37250ff470277f9947fbf3ba738f943053e30525"
 PV = "1.9.13"
 S = "${WORKDIR}/git"