summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2021-02-03 10:20:18 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2021-02-03 10:20:33 +0100
commit6cefb5c1b6b5566497477262fbd9fc44a3c7c01f (patch)
tree5f706777c0461a649c8ac0d58e6c3b17d926868a /media-sound/qjackctl
parentpackage.mask: Unmask PyPy3.7, -3.6 has too many problems (diff)
downloadgentoo-6cefb5c1b6b5566497477262fbd9fc44a3c7c01f.tar.gz
gentoo-6cefb5c1b6b5566497477262fbd9fc44a3c7c01f.tar.bz2
gentoo-6cefb5c1b6b5566497477262fbd9fc44a3c7c01f.zip
media-sound/qjackctl: disable git calls in 0.9.0
Bug: https://bugs.gentoo.org/766300 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound/qjackctl')
-rw-r--r--media-sound/qjackctl/files/qjackctl-0.9.0-disable-git.patch20
-rw-r--r--media-sound/qjackctl/qjackctl-0.9.0.ebuild4
2 files changed, 24 insertions, 0 deletions
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
new file mode 100644
index 000000000000..08dd2e56ba8f
--- /dev/null
+++ b/media-sound/qjackctl/files/qjackctl-0.9.0-disable-git.patch
@@ -0,0 +1,20 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index f622eb9..2252e26 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -5,6 +5,7 @@ cmake_minimum_required(VERSION 3.1)
+ set (VERSION "0.9.0")
+
+ set (CONFIG_VERSION ${VERSION})
++#[[
+ execute_process (
+ COMMAND git describe --tags --dirty --abbrev=6
+ OUTPUT_VARIABLE GIT_DESCRIBE_OUTPUT
+@@ -24,6 +25,7 @@ if (GIT_DESCRIBE_RESULT EQUAL 0)
+ set (VERSION "${VERSION} [${GIT_REVPARSE_OUTPUT}]")
+ endif ()
+ endif ()
++]]
+
+ set (PACKAGE_NAME "QjackCtl")
+ set (PACKAGE_VERSION "${VERSION}")
diff --git a/media-sound/qjackctl/qjackctl-0.9.0.ebuild b/media-sound/qjackctl/qjackctl-0.9.0.ebuild
index bb38a07a4992..3090126b6c24 100644
--- a/media-sound/qjackctl/qjackctl-0.9.0.ebuild
+++ b/media-sound/qjackctl/qjackctl-0.9.0.ebuild
@@ -31,6 +31,10 @@ RDEPEND="${DEPEND}
dev-qt/qtsvg:5
"
+PATCHES=(
+ "${FILESDIR}/${P}-disable-git.patch"
+)
+
src_configure() {
local mycmakeargs=(
-DCONFIG_ALSA_SEQ=$(usex alsa 1 0)