public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Johannes Huber" <johu@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: media-gfx/krita/
Date: Sun,  8 Apr 2018 16:03:06 +0000 (UTC)	[thread overview]
Message-ID: <1523203360.70a718f3d38ae41f544c65dec1d6b86d71be96f2.johu@gentoo> (raw)

commit:     70a718f3d38ae41f544c65dec1d6b86d71be96f2
Author:     Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  8 15:47:25 2018 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Sun Apr  8 16:02:40 2018 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=70a718f3

media-gfx/krita: Add python use flag

Upstream commit 5f0f100d6a99d3e1801dccd86ca38a88d9acd981

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 media-gfx/krita/krita-9999.ebuild | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/media-gfx/krita/krita-9999.ebuild b/media-gfx/krita/krita-9999.ebuild
index 59aac9fc7e..2815e69719 100644
--- a/media-gfx/krita/krita-9999.ebuild
+++ b/media-gfx/krita/krita-9999.ebuild
@@ -5,14 +5,16 @@ EAPI=6
 
 KDE_TEST="forceoptional-recursive"
 VIRTUALX_REQUIRED="test"
-inherit kde5
+PYTHON_COMPAT=( python3_{4,5,6} )
+inherit kde5 python-single-r1
 
 DESCRIPTION="Free digital painting application. Digital Painting, Creative Freedom!"
 HOMEPAGE="https://www.kde.org/applications/graphics/krita/ https://krita.org/"
 
 LICENSE="GPL-3"
 KEYWORDS=""
-IUSE="color-management fftw gif +gsl +jpeg openexr pdf qtmedia +raw tiff vc"
+IUSE="color-management fftw gif +gsl +jpeg openexr pdf python qtmedia +raw tiff vc"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 COMMON_DEPEND="
 	$(add_frameworks_dep karchive)
@@ -57,6 +59,11 @@ COMMON_DEPEND="
 		media-libs/openexr
 	)
 	pdf? ( app-text/poppler[qt5] )
+	python? (
+		${PYTHON_DEPS}
+		dev-python/PyQt5[${PYTHON_USEDEP}]
+		dev-python/sip[${PYTHON_USEDEP}]
+	)
 	qtmedia? ( $(add_qt_dep qtmultimedia) )
 	raw? ( media-libs/libraw:= )
 	tiff? ( media-libs/tiff:0 )
@@ -72,6 +79,10 @@ RDEPEND="${COMMON_DEPEND}
 	!app-office/calligra-l10n:4[calligra_features_krita(+)]
 "
 
+pkg_setup() {
+	use python && python-single-r1_pkg_setup
+}
+
 src_configure() {
 	local mycmakeargs=(
 		$(cmake-utils_use_find_package color-management OCIO)
@@ -81,6 +92,8 @@ src_configure() {
 		$(cmake-utils_use_find_package jpeg JPEG)
 		$(cmake-utils_use_find_package openexr OpenEXR)
 		$(cmake-utils_use_find_package pdf Poppler)
+		$(cmake-utils_use_find_package python PyQt5)
+		$(cmake-utils_use_find_package python SIP)
 		$(cmake-utils_use_find_package qtmedia Qt5Multimedia)
 		$(cmake-utils_use_find_package raw LibRaw)
 		$(cmake-utils_use_find_package tiff TIFF)


             reply	other threads:[~2018-04-08 16:03 UTC|newest]

Thread overview: 76+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-08 16:03 Johannes Huber [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-25 18:47 [gentoo-commits] proj/kde:master commit in: media-gfx/krita/ Andreas Sturmlechner
2024-01-21 19:21 Andreas Sturmlechner
2022-12-16 19:33 Andreas Sturmlechner
2022-12-14 20:07 Andreas Sturmlechner
2022-11-08 20:21 Andreas Sturmlechner
2022-10-16  9:42 Andreas Sturmlechner
2022-09-14 11:56 Andreas Sturmlechner
2022-09-14 11:56 Andreas Sturmlechner
2022-09-14 11:52 Andreas Sturmlechner
2022-07-04 16:26 Andreas Sturmlechner
2022-05-08 13:33 Andreas Sturmlechner
2021-12-28 17:01 Andreas Sturmlechner
2021-12-23 11:34 Andreas Sturmlechner
2021-12-23 11:02 Andreas Sturmlechner
2021-11-05 15:55 Andreas Sturmlechner
2021-08-25  9:00 Andreas Sturmlechner
2021-07-22 20:00 Andreas Sturmlechner
2021-07-22 20:00 Andreas Sturmlechner
2021-03-13 11:27 Andreas Sturmlechner
2021-03-07 23:04 Andreas Sturmlechner
2021-01-21 14:27 Andreas Sturmlechner
2021-01-19 20:44 Andreas Sturmlechner
2020-10-31  9:26 Andreas Sturmlechner
2020-10-31  9:26 Andreas Sturmlechner
2020-08-18 17:47 Andreas Sturmlechner
2020-03-26 13:46 Andreas Sturmlechner
2020-02-12 22:45 Andreas Sturmlechner
2020-02-12 22:45 Andreas Sturmlechner
2020-02-09 18:06 Andreas Sturmlechner
2019-11-11  0:19 Andreas Sturmlechner
2019-10-24 18:37 Andreas Sturmlechner
2019-09-07 13:06 Andreas Sturmlechner
2019-08-04 21:10 Andreas Sturmlechner
2019-07-15 17:43 Andreas Sturmlechner
2019-06-01 16:17 Andreas Sturmlechner
2019-05-27 18:55 Andreas Sturmlechner
2019-02-17 11:11 Andreas Sturmlechner
2019-01-26 23:45 Andreas Sturmlechner
2019-01-26 20:29 Andreas Sturmlechner
2018-12-16 19:40 Andreas Sturmlechner
2018-10-04 10:53 Andreas Sturmlechner
2018-09-04 22:06 Andreas Sturmlechner
2018-08-29 10:51 Andreas Sturmlechner
2018-04-08 16:03 Johannes Huber
2018-04-08 16:03 Johannes Huber
2018-04-08 16:03 Johannes Huber
2018-04-08 14:34 Johannes Huber
2017-09-10 14:48 Andreas Sturmlechner
2017-08-20  8:34 Andreas Sturmlechner
2017-05-26 16:32 Andreas Sturmlechner
2017-02-02  9:00 Michael Palimaka
2017-02-02  8:37 Michael Palimaka
2017-01-20  0:01 Andreas Sturmlechner
2016-09-29 10:20 Michael Palimaka
2016-09-22 11:17 Michael Palimaka
2016-08-07 16:30 Michael Palimaka
2016-06-05 18:25 Michael Palimaka
2016-06-05 18:25 Michael Palimaka
2016-06-05 18:25 Michael Palimaka
2016-06-05 18:10 Michael Palimaka
2016-06-05 17:20 Michael Palimaka
2016-06-05 17:20 Michael Palimaka
2016-06-05 17:14 Michael Palimaka
2016-06-05 17:14 Michael Palimaka
2016-06-05 17:14 Michael Palimaka
2016-06-05 17:14 Michael Palimaka
2016-06-05 17:14 Michael Palimaka
2016-06-05 17:14 Michael Palimaka
2016-06-05 17:14 Michael Palimaka
2016-06-05 17:14 Michael Palimaka
2016-06-05 17:14 Michael Palimaka
2016-03-22 21:10 Johannes Huber
2016-03-22 20:13 Johannes Huber
2015-12-31  9:26 Michael Palimaka
2015-10-13 13:21 Michael Palimaka

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=1523203360.70a718f3d38ae41f544c65dec1d6b86d71be96f2.johu@gentoo \
    --to=johu@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