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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EB1EE15808B for ; Sun, 6 Mar 2022 17:33:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 40A58E0985; Sun, 6 Mar 2022 17:33:18 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2B772E0985 for ; Sun, 6 Mar 2022 17:33:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 44244335D52 for ; Sun, 6 Mar 2022 17:33:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ECF2A2D3 for ; Sun, 6 Mar 2022 17:33:15 +0000 (UTC) From: "Daniel Novomesky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Daniel Novomesky" Message-ID: <1646587989.4ba03023408bea564a825f5c6e9570907004fc6a.dnovomesky@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-gfx/qview/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-gfx/qview/Manifest media-gfx/qview/qview-5.0.ebuild X-VCS-Directories: media-gfx/qview/ X-VCS-Committer: dnovomesky X-VCS-Committer-Name: Daniel Novomesky X-VCS-Revision: 4ba03023408bea564a825f5c6e9570907004fc6a X-VCS-Branch: dev Date: Sun, 6 Mar 2022 17:33:15 +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: c9580379-245e-4dba-a02a-c93d9f3823ae X-Archives-Hash: 56eefda036d343a1edc2d84b6843a80a commit: 4ba03023408bea564a825f5c6e9570907004fc6a Author: Daniel Novomesky gmail com> AuthorDate: Sun Mar 6 17:33:09 2022 +0000 Commit: Daniel Novomesky gmail com> CommitDate: Sun Mar 6 17:33:09 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4ba03023 media-gfx/qview: version bump to 5.0 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Daniel Novomesky gmail.com> media-gfx/qview/Manifest | 1 + media-gfx/qview/qview-5.0.ebuild | 50 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/media-gfx/qview/Manifest b/media-gfx/qview/Manifest index 645dfc629..ddc546a29 100644 --- a/media-gfx/qview/Manifest +++ b/media-gfx/qview/Manifest @@ -1 +1,2 @@ DIST qview-4.0.tar.gz 1662149 BLAKE2B 5a09b070234b6480bd076625a543271dd1de324c10123db183c540ad9da5a3be88e1d40efc30d5ec479c84b5c81c005f149df79e7d6c9b37f491e2b3c96738ca SHA512 442b7815e8449a80ec41424d7c999ea9972e19309559abb8f0985b0523255a3fe191d5cd7183a36f322be9c84d1af099cbef92a76b634da31af0852735a4620c +DIST qview-5.0.tar.gz 1968047 BLAKE2B a47d48ff51f049501493e32a082c396edc6729de5f40421edf27a847c5a333564647a92443417af9e0ec61927ddfd4e027edf31283f67df01646cce15720e620 SHA512 91671ed125bc4388d9043f3c24cbbe2ea2592ecec181a3f968cc2f951eb367a1576f9e19da6fd00128239efadd6f82d9f0b6437a081ee43ad4567141d6e62b65 diff --git a/media-gfx/qview/qview-5.0.ebuild b/media-gfx/qview/qview-5.0.ebuild new file mode 100644 index 000000000..c73a7a512 --- /dev/null +++ b/media-gfx/qview/qview-5.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic qmake-utils toolchain-funcs virtualx xdg + +DESCRIPTION="Practical and minimal image viewer" +HOMEPAGE="https://github.com/jurplel/qView https://interversehq.com/qview" +SRC_URI="https://github.com/jurplel/qView/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/qView-${PV}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-qt/qtconcurrent:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 +" + +DEPEND="${RDEPEND} + test? ( dev-qt/qttest:5 ) +" + +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 +} + +src_test() { + cd tests || die + eqmake5 && emake + virtx ./tests +} + +src_install() { + emake INSTALL_ROOT="${D}" install + einstalldocs +}