1 |
commit: 6cefb5c1b6b5566497477262fbd9fc44a3c7c01f |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 3 09:20:18 2021 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 3 09:20:33 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cefb5c1 |
7 |
|
8 |
media-sound/qjackctl: disable git calls in 0.9.0 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/766300 |
11 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
12 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
13 |
|
14 |
.../qjackctl/files/qjackctl-0.9.0-disable-git.patch | 20 ++++++++++++++++++++ |
15 |
media-sound/qjackctl/qjackctl-0.9.0.ebuild | 4 ++++ |
16 |
2 files changed, 24 insertions(+) |
17 |
|
18 |
diff --git a/media-sound/qjackctl/files/qjackctl-0.9.0-disable-git.patch b/media-sound/qjackctl/files/qjackctl-0.9.0-disable-git.patch |
19 |
new file mode 100644 |
20 |
index 00000000000..08dd2e56ba8 |
21 |
--- /dev/null |
22 |
+++ b/media-sound/qjackctl/files/qjackctl-0.9.0-disable-git.patch |
23 |
@@ -0,0 +1,20 @@ |
24 |
+diff --git a/CMakeLists.txt b/CMakeLists.txt |
25 |
+index f622eb9..2252e26 100644 |
26 |
+--- a/CMakeLists.txt |
27 |
++++ b/CMakeLists.txt |
28 |
+@@ -5,6 +5,7 @@ cmake_minimum_required(VERSION 3.1) |
29 |
+ set (VERSION "0.9.0") |
30 |
+ |
31 |
+ set (CONFIG_VERSION ${VERSION}) |
32 |
++#[[ |
33 |
+ execute_process ( |
34 |
+ COMMAND git describe --tags --dirty --abbrev=6 |
35 |
+ OUTPUT_VARIABLE GIT_DESCRIBE_OUTPUT |
36 |
+@@ -24,6 +25,7 @@ if (GIT_DESCRIBE_RESULT EQUAL 0) |
37 |
+ set (VERSION "${VERSION} [${GIT_REVPARSE_OUTPUT}]") |
38 |
+ endif () |
39 |
+ endif () |
40 |
++]] |
41 |
+ |
42 |
+ set (PACKAGE_NAME "QjackCtl") |
43 |
+ set (PACKAGE_VERSION "${VERSION}") |
44 |
|
45 |
diff --git a/media-sound/qjackctl/qjackctl-0.9.0.ebuild b/media-sound/qjackctl/qjackctl-0.9.0.ebuild |
46 |
index bb38a07a499..3090126b6c2 100644 |
47 |
--- a/media-sound/qjackctl/qjackctl-0.9.0.ebuild |
48 |
+++ b/media-sound/qjackctl/qjackctl-0.9.0.ebuild |
49 |
@@ -31,6 +31,10 @@ RDEPEND="${DEPEND} |
50 |
dev-qt/qtsvg:5 |
51 |
" |
52 |
|
53 |
+PATCHES=( |
54 |
+ "${FILESDIR}/${P}-disable-git.patch" |
55 |
+) |
56 |
+ |
57 |
src_configure() { |
58 |
local mycmakeargs=( |
59 |
-DCONFIG_ALSA_SEQ=$(usex alsa 1 0) |