aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-10-23 04:53:40 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-11-12 15:00:47 +0000
commit111a9cd29480fb359029374fe4d1e692372ea1dc (patch)
tree10b490e2dc98455d31384aab9ecf00a8e4a8efd3
parent9e21f078e2c5aea0ef8f7e5e74b74e008667d494 (diff)
downloadaports-111a9cd29480fb359029374fe4d1e692372ea1dc.tar.bz2
aports-111a9cd29480fb359029374fe4d1e692372ea1dc.tar.xz
main/jack: switch to python3
-rw-r--r--main/jack/APKBUILD8
-rw-r--r--main/jack/python3.patch111
2 files changed, 116 insertions, 3 deletions
diff --git a/main/jack/APKBUILD b/main/jack/APKBUILD
index 4a397a70a2..84e687d611 100644
--- a/main/jack/APKBUILD
+++ b/main/jack/APKBUILD
@@ -2,16 +2,17 @@
pkgname=jack
_realname=jack2
pkgver=1.9.13
-pkgrel=0
+pkgrel=1
pkgdesc="The Jack Audio Connection Kit"
url="http://www.jackaudio.org"
arch="all"
license="GPL-2.0 GPL-2.0-or-later LGPL-2.0-or-later"
makedepends="$depends_dev alsa-lib-dev dbus-dev expat-dev libsamplerate-dev
- libsndfile-dev ncurses-dev readline-dev python2 linux-headers"
+ libsndfile-dev ncurses-dev readline-dev python3 linux-headers"
subpackages="$pkgname-dev $pkgname-doc $pkgname-dbus $pkgname-example-clients:_clients"
source="$pkgname-$pkgver.tar.gz::https://github.com/jackaudio/jack2/archive/v$pkgver.tar.gz
fix-execinfo.patch
+ python3.patch
"
builddir="$srcdir"/$_realname-$pkgver
@@ -53,4 +54,5 @@ _clients() {
}
sha512sums="8c578df723f2c0c91e854abf73a35249784c833264c42c340f0e56744bf931bda75ebd941532c80cecc67e2d469becc27498e546b73cc4581379b8ceee1f49c1 jack-1.9.13.tar.gz
-b5abec7e67485d1c13f399b5961539177dd35d21c5dd95e0aa767adb0f5b1e588e9ca2f9b29cc4d66fc039311ff7eacc4cf21f6700ef0a2c8de99b63cb00f84d fix-execinfo.patch"
+b5abec7e67485d1c13f399b5961539177dd35d21c5dd95e0aa767adb0f5b1e588e9ca2f9b29cc4d66fc039311ff7eacc4cf21f6700ef0a2c8de99b63cb00f84d fix-execinfo.patch
+4f1b85cbdd9cd67b108321c846bf42b5500300fc2ff167be92f1af6973f2d97f7e4914d062137a2f8ac064ac6041845b3746fb25701520d3dd90d5f3c470cb04 python3.patch"
diff --git a/main/jack/python3.patch b/main/jack/python3.patch
new file mode 100644
index 0000000000..32a76e3ae6
--- /dev/null
+++ b/main/jack/python3.patch
@@ -0,0 +1,111 @@
+diff --git a/common/wscript b/common/wscript
+index afc251a2..70503788 100644
+--- a/common/wscript
++++ b/common/wscript
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env python
++#! /usr/bin/python3
+ # encoding: utf-8
+
+ import re
+diff --git a/compat/alloca/wscript b/compat/alloca/wscript
+index 36798973..9e740f1c 100644
+--- a/compat/alloca/wscript
++++ b/compat/alloca/wscript
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+ # encoding: utf-8
+ #
+ # Copyright (C) 2018 Karl Linden <karl.j.linden@gmail.com>
+diff --git a/compat/wscript b/compat/wscript
+index e3ec8d33..25eb2a3f 100644
+--- a/compat/wscript
++++ b/compat/wscript
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+ # encoding: utf-8
+ #
+ # Copyright (C) 2018 Karl Linden <karl.j.linden@gmail.com>
+diff --git a/dbus/wscript b/dbus/wscript
+index 535d4121..fa40b4f1 100644
+--- a/dbus/wscript
++++ b/dbus/wscript
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env python
++#! /usr/bin/python3
+ # encoding: utf-8
+
+ import os.path
+diff --git a/example-clients/jack_control b/example-clients/jack_control
+index 61ac40c1..54277543 100755
+--- a/example-clients/jack_control
++++ b/example-clients/jack_control
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+
+ from __future__ import print_function
+ name_base = 'org.jackaudio'
+diff --git a/example-clients/wscript b/example-clients/wscript
+index 6163d222..a8857aa7 100644
+--- a/example-clients/wscript
++++ b/example-clients/wscript
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env python
++#! /usr/bin/python3
+ # encoding: utf-8
+
+ example_programs = {
+diff --git a/man/wscript b/man/wscript
+index 9e4d3043..def57078 100644
+--- a/man/wscript
++++ b/man/wscript
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env python
++#! /usr/bin/python3
+ # encoding: utf-8
+
+ import re
+diff --git a/systemd/wscript b/systemd/wscript
+index fc8b8f15..d10bdf96 100644
+--- a/systemd/wscript
++++ b/systemd/wscript
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env python
++#! /usr/bin/python3
+ # encoding: utf-8
+
+
+diff --git a/tests/wscript b/tests/wscript
+index 756fd3bb..96a63bc9 100644
+--- a/tests/wscript
++++ b/tests/wscript
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env python
++#! /usr/bin/python3
+ # encoding: utf-8
+
+ test_programs = {
+diff --git a/waf b/waf
+index a2efc852..845fba5e 100755
+--- a/waf
++++ b/waf
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+ # encoding: latin-1
+ # Thomas Nagy, 2005-2018
+ #
+diff --git a/wscript b/wscript
+index 5e8485e6..7e48f750 100644
+--- a/wscript
++++ b/wscript
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env python
++#! /usr/bin/python3
+ # encoding: utf-8
+ from __future__ import print_function
+
+