From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-apps/cantor/
Date: Wed, 30 Nov 2016 14:20:22 +0000 (UTC) [thread overview]
Message-ID: <1480515610.656ea1f50c74b74e8b31bf4c355c18e612a2bfa6.kensington@gentoo> (raw)
commit: 656ea1f50c74b74e8b31bf4c355c18e612a2bfa6
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Sat Nov 26 23:59:31 2016 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Wed Nov 30 14:20:10 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=656ea1f5
kde-apps/cantor: Add missing DEPENDs, improve backends einfo
Gentoo-bug: 598926
Package-Manager: portage-2.3.0
kde-apps/cantor/cantor-16.08.3.ebuild | 31 +++++++++++++++++--------------
1 file changed, 17 insertions(+), 14 deletions(-)
diff --git a/kde-apps/cantor/cantor-16.08.3.ebuild b/kde-apps/cantor/cantor-16.08.3.ebuild
index d5fb0a6..ace0c65 100644
--- a/kde-apps/cantor/cantor-16.08.3.ebuild
+++ b/kde-apps/cantor/cantor-16.08.3.ebuild
@@ -28,6 +28,7 @@ RDEPEND="
$(add_frameworks_dep kcrash)
$(add_frameworks_dep kdelibs4support)
$(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kiconthemes)
$(add_frameworks_dep kio)
$(add_frameworks_dep knewstuff)
$(add_frameworks_dep kparts)
@@ -36,6 +37,7 @@ RDEPEND="
$(add_frameworks_dep kwidgetsaddons)
$(add_frameworks_dep kxmlgui)
$(add_qt_dep qtgui)
+ $(add_qt_dep qtprintsupport)
$(add_qt_dep qtsvg)
$(add_qt_dep qtwidgets)
$(add_qt_dep qtxml)
@@ -54,7 +56,21 @@ DEPEND="${RDEPEND}
>=dev-cpp/eigen-2.0.3:2
"
-RESTRICT="test"
+RESTRICT+=" test"
+
+pkg_pretend() {
+ kde5_pkg_pretend
+
+ if ! has_version sci-mathematics/maxima && ! has_version sci-mathematics/octave && \
+ ! use analitza && ! use lua && ! use python && ! use qalculate && ! use R; then
+ einfo "You have decided to build ${PN} with no backend."
+ einfo "To have this application functional, please enable one of the backends via USE flag:"
+ einfo " analitza, lua, python, qalculate, R"
+ einfo "Alternatively, install one of these:"
+ einfo " # emerge sci-mathematics/maxima"
+ einfo " # emerge sci-mathematics/octave"
+ fi
+}
pkg_setup() {
use python && python_setup
@@ -80,16 +96,3 @@ src_configure() {
)
kde5_src_configure
}
-
-pkg_postinst() {
- kde5_pkg_postinst
-
- if ! use analitza && ! use lua && ! use python && ! use qalculate && ! use R; then
- echo
- ewarn "You have decided to build ${PN} with no backend."
- ewarn "To have this application functional, please do one of below:"
- ewarn " # emerge -va1 '='${CATEGORY}/${P} with 'analitza', 'lua', 'python', 'qalculate' or 'R' USE flag enabled"
- ewarn " # emerge -vaDu sci-mathematics/maxima"
- echo
- fi
-}
next reply other threads:[~2016-11-30 14:20 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-30 14:20 Michael Palimaka [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-07 16:59 [gentoo-commits] repo/gentoo:master commit in: kde-apps/cantor/ Arthur Zamarin
2025-01-30 17:19 Andreas Sturmlechner
2025-01-30 9:29 Arthur Zamarin
2025-01-30 9:29 Arthur Zamarin
2025-01-05 19:08 Sam James
2024-11-23 11:36 Andreas Sturmlechner
2024-06-17 18:49 Andreas Sturmlechner
2024-04-23 6:33 Arthur Zamarin
2024-02-23 8:56 Sam James
2024-01-09 22:22 Andreas K. Hüttel
2023-03-23 19:58 Andreas Sturmlechner
2023-03-23 16:26 Andreas Sturmlechner
2021-12-09 17:12 Andreas Sturmlechner
2020-12-29 19:54 Andreas Sturmlechner
2020-08-30 7:58 Andreas Sturmlechner
2020-04-30 15:59 Andreas Sturmlechner
2019-05-09 22:08 Andreas Sturmlechner
2017-11-30 2:07 Thomas Deutschmann
2017-10-07 21:39 Andreas Sturmlechner
2017-08-12 12:16 Andreas Sturmlechner
2017-02-18 12:48 Andreas Sturmlechner
2017-02-11 23:35 Andreas Sturmlechner
2017-02-11 23:35 Andreas Sturmlechner
2017-02-02 10:28 Johannes Huber
2016-04-20 3:21 Michał Górny
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=1480515610.656ea1f50c74b74e8b31bf4c355c18e612a2bfa6.kensington@gentoo \
--to=kensington@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