From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3E16E138359 for ; Mon, 23 Nov 2020 22:10:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 889C9E086F; Mon, 23 Nov 2020 22:10:36 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6E883E086F for ; Mon, 23 Nov 2020 22:10:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 331FA33BE07 for ; Mon, 23 Nov 2020 22:10:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AAD3E462 for ; Mon, 23 Nov 2020 22:10:33 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1606169411.b0d93f19dd63cf0dd6f9154ef33ef8326e3c7872.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/, media-video/simplescreenrecorder/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/simplescreenrecorder/files/simplescreenrecorder-0.4.2-cmake.patch media-video/simplescreenrecorder/simplescreenrecorder-0.4.2.ebuild X-VCS-Directories: media-video/simplescreenrecorder/ media-video/simplescreenrecorder/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: b0d93f19dd63cf0dd6f9154ef33ef8326e3c7872 X-VCS-Branch: master Date: Mon, 23 Nov 2020 22:10:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c44197b3-750b-4ae3-a676-bc66180e9471 X-Archives-Hash: c26a4931d5b5381ff7240cd130ac76fc commit: b0d93f19dd63cf0dd6f9154ef33ef8326e3c7872 Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Nov 23 22:10:11 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Nov 23 22:10:11 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0d93f19 media-video/simplescreenrecorder: Fix Qt5LinguistTools detection, BDEPEND See also: https://github.com/MaartenBaert/ssr/pull/614 Package-Manager: Portage-3.0.10, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner gentoo.org> .../files/simplescreenrecorder-0.4.2-cmake.patch | 28 ++++++++++++++++++++++ .../simplescreenrecorder-0.4.2.ebuild | 7 +++--- 2 files changed, 32 insertions(+), 3 deletions(-) diff --git a/media-video/simplescreenrecorder/files/simplescreenrecorder-0.4.2-cmake.patch b/media-video/simplescreenrecorder/files/simplescreenrecorder-0.4.2-cmake.patch new file mode 100644 index 00000000000..9f8bc408331 --- /dev/null +++ b/media-video/simplescreenrecorder/files/simplescreenrecorder-0.4.2-cmake.patch @@ -0,0 +1,28 @@ +From 5330a3d65b7877f5f3691c20df35fbb7856d6f38 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner +Date: Thu, 11 Jan 2018 21:28:15 +0100 +Subject: [PATCH] Fix Qt5LinguistTools detection/lrelease binary location + +Correctly find the Qt5 module that provides the path to Qt5-based lrelease. +Available since >= Qt-5.3.1 which is well below the current minimum version. +--- + src/translations/CMakeLists.txt | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/translations/CMakeLists.txt b/src/translations/CMakeLists.txt +index d9afded..174acea 100644 +--- a/src/translations/CMakeLists.txt ++++ b/src/translations/CMakeLists.txt +@@ -1,7 +1,8 @@ + # translations for 'simplescreenrecorder' executable + + if(WITH_QT5) +- find_program(LRELEASE NAMES lrelease-qt5 lrelease) ++ find_package(Qt5LinguistTools REQUIRED) ++ set(LRELEASE Qt5::lrelease) + else() + find_program(LRELEASE NAMES lrelease-qt4 lrelease) + endif() +-- +2.29.2 + diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.2.ebuild b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.2.ebuild index 9fb007c901b..0a27ef778b0 100644 --- a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.2.ebuild +++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.2.ebuild @@ -40,9 +40,10 @@ RDEPEND=" jack? ( virtual/jack ) pulseaudio? ( media-sound/pulseaudio ) " -DEPEND="${RDEPEND} - dev-qt/linguist-tools:5 -" +DEPEND="${RDEPEND}" +BDEPEND="dev-qt/linguist-tools:5" + +PATCHES=( "${FILESDIR}/${P}-cmake.patch" ) pkg_pretend() { if [[ "${ABI}" == amd64 ]]; then