public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-frameworks/kirigami/
Date: Sun,  4 Dec 2022 17:39:31 +0000 (UTC)	[thread overview]
Message-ID: <1670175344.5a39a8fbff9e5be2467806f8f90cfa73b39503c4.asturm@gentoo> (raw)

commit:     5a39a8fbff9e5be2467806f8f90cfa73b39503c4
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  4 17:35:44 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Dec  4 17:35:44 2022 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=5a39a8fb

kde-frameworks/kirigami: Add IUSE +openmp

Upstream commit c19d7ad02b2de56466e29a096575dc6a9d3cbb3b

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-frameworks/kirigami/kirigami-9999.ebuild | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/kde-frameworks/kirigami/kirigami-9999.ebuild b/kde-frameworks/kirigami/kirigami-9999.ebuild
index 1d7604acfa..9c79099d92 100644
--- a/kde-frameworks/kirigami/kirigami-9999.ebuild
+++ b/kde-frameworks/kirigami/kirigami-9999.ebuild
@@ -8,7 +8,7 @@ ECM_QTHELP="false"
 ECM_TEST="true"
 KDE_ORG_NAME="${PN}2"
 QTMIN=5.15.5
-inherit ecm frameworks.kde.org
+inherit ecm frameworks.kde.org toolchain-funcs
 
 DESCRIPTION="Lightweight user interface framework for mobile and convergent applications"
 HOMEPAGE="https://techbase.kde.org/Kirigami"
@@ -16,14 +16,11 @@ EGIT_REPO_URI="${EGIT_REPO_URI/${PN}2/${PN}}"
 
 LICENSE="LGPL-2+"
 KEYWORDS=""
-IUSE=""
+IUSE="+openmp"
 
 # requires package to already be installed
 RESTRICT="test"
 
-BDEPEND="
-	>=dev-qt/linguist-tools-${QTMIN}:5
-"
 DEPEND="
 	>=dev-qt/qtconcurrent-${QTMIN}:5
 	>=dev-qt/qtdbus-${QTMIN}:5
@@ -36,10 +33,20 @@ DEPEND="
 RDEPEND="${DEPEND}
 	>=dev-qt/qtgraphicaleffects-${QTMIN}:5
 "
+BDEPEND=">=dev-qt/linguist-tools-${QTMIN}:5"
+
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
 
 src_configure() {
 	local mycmakeargs=(
 		-DBUILD_EXAMPLES=$(usex examples)
+		$(cmake_use_find_package openmp OpenMP)
 	)
 
 	ecm_src_configure


             reply	other threads:[~2022-12-04 17:39 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-04 17:39 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-16 15:21 [gentoo-commits] proj/kde:master commit in: kde-frameworks/kirigami/ Sam James
2024-09-07 10:28 Andreas Sturmlechner
2024-09-02  6:52 Sam James
2024-03-15 14:07 Andreas Sturmlechner
2024-02-27 19:14 Andreas Sturmlechner
2024-01-01  4:08 Sam James
2020-04-06 21:44 Andreas Sturmlechner
2019-11-10 14:10 Andreas Sturmlechner
2019-09-12 18:30 Andreas Sturmlechner
2019-01-05 15:28 Andreas Sturmlechner
2018-08-15 18:37 Andreas Sturmlechner
2018-06-26  6:31 Andreas Sturmlechner
2018-03-17  0:27 Andreas Sturmlechner
2018-03-10  0:34 Andreas Sturmlechner
2018-01-20 16:01 Andreas Sturmlechner
2018-01-07 18:49 Andreas Sturmlechner
2017-08-13 12:52 Andreas Sturmlechner
2017-08-11 14:16 Andreas Sturmlechner
2017-08-10  7:33 Andreas Sturmlechner

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=1670175344.5a39a8fbff9e5be2467806f8f90cfa73b39503c4.asturm@gentoo \
    --to=asturm@gentoo.org \
    --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