From 6cefb5c1b6b5566497477262fbd9fc44a3c7c01f Mon Sep 17 00:00:00 2001 From: Miroslav Šulc Date: Wed, 3 Feb 2021 10:20:18 +0100 Subject: media-sound/qjackctl: disable git calls in 0.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: https://bugs.gentoo.org/766300 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Miroslav Šulc --- .../qjackctl/files/qjackctl-0.9.0-disable-git.patch | 20 ++++++++++++++++++++ media-sound/qjackctl/qjackctl-0.9.0.ebuild | 4 ++++ 2 files changed, 24 insertions(+) create mode 100644 media-sound/qjackctl/files/qjackctl-0.9.0-disable-git.patch (limited to 'media-sound/qjackctl') 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) -- cgit v1.2.3-65-gdbad