commit: 6cefb5c1b6b5566497477262fbd9fc44a3c7c01f Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> AuthorDate: Wed Feb 3 09:20:18 2021 +0000 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> CommitDate: Wed Feb 3 09:20:33 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cefb5c1
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 <AT> gentoo.org> .../qjackctl/files/qjackctl-0.9.0-disable-git.patch | 20 ++++++++++++++++++++ media-sound/qjackctl/qjackctl-0.9.0.ebuild | 4 ++++ 2 files changed, 24 insertions(+) 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 00000000000..08dd2e56ba8 --- /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 bb38a07a499..3090126b6c2 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)