public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Theo Anderson" <telans@posteo.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-gfx/qview/
Date: Thu,  4 Mar 2021 09:56:37 +0000 (UTC)	[thread overview]
Message-ID: <1614851646.f430b34b85f1937cedf9376faf63a3b4adb3bde7.telans@gentoo> (raw)

commit:     f430b34b85f1937cedf9376faf63a3b4adb3bde7
Author:     Theo Anderson <telans <AT> posteo <DOT> de>
AuthorDate: Thu Mar  4 09:54:06 2021 +0000
Commit:     Theo Anderson <telans <AT> posteo <DOT> de>
CommitDate: Thu Mar  4 09:54:06 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f430b34b

media-gfx/qview: fix build with sys-devel/clang[default-libcxx]

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Theo Anderson <telans <AT> posteo.de>

 media-gfx/qview/qview-4.0.ebuild | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/media-gfx/qview/qview-4.0.ebuild b/media-gfx/qview/qview-4.0.ebuild
index bbce1aed..cf9e3237 100644
--- a/media-gfx/qview/qview-4.0.ebuild
+++ b/media-gfx/qview/qview-4.0.ebuild
@@ -1,9 +1,9 @@
 # Copyright 2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="7"
+EAPI=7
 
-inherit xdg qmake-utils
+inherit flag-o-matic qmake-utils xdg
 
 DESCRIPTION="Practical and minimal image viewer"
 HOMEPAGE="https://github.com/jurplel/qView https://interversehq.com/qview"
@@ -15,10 +15,15 @@ SLOT="0"
 KEYWORDS="~amd64"
 
 DEPEND="dev-qt/qtgui:5"
-BDEPEND=""
 RDEPEND="${DEPEND}"
 
 src_configure() {
+	# https://github.com/jurplel/qView/issues/395
+	if tc-is-clang && has_version "sys-devel/clang:$(clang-major-version)[default-libcxx]" || is-flagq -stdlib=libc++; then
+		append-cxxflags -stdlib=libstdc++
+		append-ldflags -stdlib=libstdc++
+	fi
+
 	eqmake5 PREFIX=/usr qView.pro
 }
 


             reply	other threads:[~2021-03-04  9:56 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-04  9:56 Theo Anderson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-31 14:13 [gentoo-commits] repo/proj/guru:dev commit in: media-gfx/qview/ Takuya Wakazono
2024-08-31 14:13 Takuya Wakazono
2024-05-27 19:53 Daniel Novomesky
2024-05-27 13:38 Daniel Novomesky
2022-03-27 20:57 Daniel Novomesky
2022-03-08  9:27 Daniel Novomesky
2022-03-06 17:33 Daniel Novomesky
2021-12-15 11:10 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-12-15 11:10 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-04-20 19:20 Daniel Novomesky
2021-04-20 17:33 Daniel Novomesky
2021-04-15 10:54 Daniel Novomesky
2021-04-15 10:48 Daniel Novomesky
2021-04-15  8:13 Theo Anderson
2021-04-12  5:38 [gentoo-commits] repo/proj/guru:master " Theo Anderson
2021-04-11 10:39 ` [gentoo-commits] repo/proj/guru:dev " Theo Anderson
2021-04-08 18:44 Daniel Novomesky
2021-03-04  9:56 Theo Anderson
2021-02-16 18:34 Jian Lin
2021-02-16 13:29 Daniel Novomesky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1614851646.f430b34b85f1937cedf9376faf63a3b4adb3bde7.telans@gentoo \
    --to=telans@posteo.de \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox