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 D2CBE1382C5 for ; Fri, 5 Mar 2021 12:10:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0AA61E0917; Fri, 5 Mar 2021 12:10:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 E2510E0917 for ; Fri, 5 Mar 2021 12:10:44 +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 731DD33BE07 for ; Fri, 5 Mar 2021 12:10:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EDF3E478 for ; Fri, 5 Mar 2021 12:10:41 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1614851646.f430b34b85f1937cedf9376faf63a3b4adb3bde7.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: media-gfx/qview/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-gfx/qview/qview-4.0.ebuild X-VCS-Directories: media-gfx/qview/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: f430b34b85f1937cedf9376faf63a3b4adb3bde7 X-VCS-Branch: master Date: Fri, 5 Mar 2021 12:10:41 +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: 6bde1d4e-aeaa-40bf-af23-ae5f978f6dca X-Archives-Hash: a7e096d4b6b7deb3387ed08e1afc589a commit: f430b34b85f1937cedf9376faf63a3b4adb3bde7 Author: Theo Anderson posteo de> AuthorDate: Thu Mar 4 09:54:06 2021 +0000 Commit: Andrew Ammerlaan riseup net> 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 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 }