commit:     842cdc61230d01e4c4f6f7d5703d56648c208e68
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 12 15:14:26 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Mar 12 15:14:26 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=842cdc61

media-video/simplescreenrecorder: More selective display of abi_x86_32 message

Don't show the message about enabling the flag when it already is.

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r5.ebuild | 2 +-
 media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r5.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r5.ebuild
index 27a84988e1a8..d1d7cf4a9ebc 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r5.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r5.ebuild
@@ -49,7 +49,7 @@ BDEPEND="dev-qt/linguist-tools:5"
 PATCHES=( "${FILESDIR}"/${P}-ffmpeg5.patch )
 
 pkg_pretend() {
-       if [[ "${ABI}" == amd64 ]] ; then
+       if use amd64 && ! use abi_x86_32 ; then
                einfo "You may want to add USE flag 'abi_x86_32' when running a 
64bit system"
                einfo "When added 32bit GLInject libraries are also included. 
This is"
                einfo "required if you want to use OpenGL recording on 32bit 
applications."

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild
index 51a6ce1f49a9..668ee9068143 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild
@@ -44,7 +44,7 @@ DEPEND="${RDEPEND}"
 BDEPEND="dev-qt/qttools:6[linguist]"
 
 pkg_pretend() {
-       if [[ ${ABI} == amd64 ]] ; then
+       if use amd64 && ! use abi_x86_32 ; then
                einfo "You may want to add USE flag 'abi_x86_32' when running a 
64bit system"
                einfo "When added 32bit GLInject libraries are also included. 
This is"
                einfo "required if you want to use OpenGL recording on 32bit 
applications."

Reply via email to