From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: media-gfx/qview/
Date: Sat, 31 Aug 2024 21:35:49 +0000 (UTC) [thread overview]
Message-ID: <1725113365.a3a1b8ce0dee320f50a0a33d1e1635ea98a9a5d9.davidroman@gentoo> (raw)
commit: a3a1b8ce0dee320f50a0a33d1e1635ea98a9a5d9
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Sat Aug 31 14:09:25 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sat Aug 31 14:09:25 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a3a1b8ce
media-gfx/qview: add X USE flag
- add X USE flag
- fix license
- fix prefix
Closes: https://bugs.gentoo.org/932724
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
media-gfx/qview/qview-5.0.ebuild | 9 +++++----
media-gfx/qview/{qview-6.1.ebuild => qview-6.1-r1.ebuild} | 15 ++++++++++-----
2 files changed, 15 insertions(+), 9 deletions(-)
diff --git a/media-gfx/qview/qview-5.0.ebuild b/media-gfx/qview/qview-5.0.ebuild
index d23dbb5f6..efaa87c58 100644
--- a/media-gfx/qview/qview-5.0.ebuild
+++ b/media-gfx/qview/qview-5.0.ebuild
@@ -1,7 +1,7 @@
-# Copyright 2021-2022 Gentoo Authors
+# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit flag-o-matic qmake-utils toolchain-funcs virtualx xdg
@@ -10,7 +10,7 @@ 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"
+LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
@@ -35,7 +35,8 @@ BDEPEND="
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
+ 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
diff --git a/media-gfx/qview/qview-6.1.ebuild b/media-gfx/qview/qview-6.1-r1.ebuild
similarity index 70%
rename from media-gfx/qview/qview-6.1.ebuild
rename to media-gfx/qview/qview-6.1-r1.ebuild
index 64445115d..d656e5c38 100644
--- a/media-gfx/qview/qview-6.1.ebuild
+++ b/media-gfx/qview/qview-6.1-r1.ebuild
@@ -10,23 +10,28 @@ 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"
+LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
+IUSE="X"
RDEPEND="
- dev-qt/qtbase[concurrent,gui,network,widgets]
+ dev-qt/qtbase:6[concurrent,gui,network,widgets]
+ X? ( x11-libs/libX11 )
"
-DEPEND="${RDEPEND}
-"
+DEPEND="${RDEPEND}"
BDEPEND="
dev-qt/qttools[linguist]
"
src_configure() {
- eqmake6 PREFIX=/usr qView.pro
+ local myqmakeargs=(
+ PREFIX="${EPREFIX}"/usr
+ $(usex X '' CONFIG+=NO_X11)
+ )
+ eqmake6 "${myqmakeargs[@]}"
}
src_install() {
next reply other threads:[~2024-08-31 21:35 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-31 21:35 David Roman [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-31 21:35 [gentoo-commits] repo/proj/guru:master commit in: media-gfx/qview/ David Roman
2024-05-29 8:35 Florian Schmaus
2022-03-29 0:22 Ronny Gutbrod
2022-03-08 13:39 Andrew Ammerlaan
2021-12-15 11:10 Andrew Ammerlaan
2021-04-20 19:31 Andrew Ammerlaan
2021-04-20 18:55 Andrew Ammerlaan
2021-04-15 12:51 Andrew Ammerlaan
2021-04-15 12:51 Andrew Ammerlaan
2021-04-15 12:51 Andrew Ammerlaan
2021-04-12 5:38 Theo Anderson
2021-04-09 12:52 Andrew Ammerlaan
2021-03-05 12:10 Andrew Ammerlaan
2021-03-05 12:10 Andrew Ammerlaan
2021-02-16 21:10 Theo Anderson
2021-02-16 21:10 Theo Anderson
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=1725113365.a3a1b8ce0dee320f50a0a33d1e1635ea98a9a5d9.davidroman@gentoo \
--to=davidroman96@gmail.com \
--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