public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/qt5ct/
Date: Thu, 17 Nov 2016 11:51:44 +0000 (UTC)	[thread overview]
Message-ID: <1479383490.02f6df9acbf526316885f5325a93ceeb0d3ad85d.kensington@gentoo> (raw)

commit:     02f6df9acbf526316885f5325a93ceeb0d3ad85d
Author:     Ilya Tumaykin <itumaykin <AT> gmail <DOT> com>
AuthorDate: Thu Nov 17 03:43:43 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Nov 17 11:51:30 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02f6df9a

x11-misc/qt5ct: make system tray support optional

Gentoo-Bug: https://bugs.gentoo.org/599950
Closes: https://github.com/gentoo/gentoo/pull/2855

Package-Manager: portage-2.3.2

 x11-misc/qt5ct/metadata.xml         |  3 +++
 x11-misc/qt5ct/qt5ct-0.27-r1.ebuild | 50 +++++++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/x11-misc/qt5ct/metadata.xml b/x11-misc/qt5ct/metadata.xml
index 74362b4..2e9a341 100644
--- a/x11-misc/qt5ct/metadata.xml
+++ b/x11-misc/qt5ct/metadata.xml
@@ -13,6 +13,9 @@
 		This program allows users to configure Qt5 settings (theme, font,
 		icons, etc.) under DE/WM without Qt5 integration.
 	</longdescription>
+	<use>
+		<flag name="systray">Enable system tray support</flag>
+	</use>
 	<upstream>
 		<remote-id type="sourceforge">qt5ct</remote-id>
 	</upstream>

diff --git a/x11-misc/qt5ct/qt5ct-0.27-r1.ebuild b/x11-misc/qt5ct/qt5ct-0.27-r1.ebuild
new file mode 100644
index 00000000..8c8cc16
--- /dev/null
+++ b/x11-misc/qt5ct/qt5ct-0.27-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit qmake-utils
+
+DESCRIPTION="Qt5 configuration tool, similar to qtconfig for Qt4"
+HOMEPAGE="https://sourceforge.net/projects/qt5ct/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+systray"
+
+RDEPEND="
+	dev-qt/qtcore:5
+	dev-qt/qtgui:5=
+	dev-qt/qtwidgets:5
+	systray? ( dev-qt/qtgui:5[dbus] )
+"
+DEPEND="${RDEPEND}
+	dev-qt/linguist-tools:5
+"
+
+src_configure() {
+	eqmake5 DEFINES="$(usex systray '' QT_NO_SYSTEMTRAYICON)" ${PN}.pro
+}
+
+src_install() {
+	emake INSTALL_ROOT="${D}" install
+	einstalldocs
+
+	echo 'QT_QPA_PLATFORMTHEME=qt5ct' > "${T}"/98${PN} || die
+	doenvd "${T}"/98${PN}
+}
+
+pkg_postinst() {
+	if [[ -z ${REPLACING_VERSIONS} ]]; then
+		ewarn "qt5ct configuration won't be applied to the currently running sessions."
+		ewarn "Please relogin."
+	fi
+	if ! has_version 'dev-qt/qtsvg:5'; then
+		echo
+		elog "For SVG icon themes, please install 'dev-qt/qtsvg:5'."
+		echo
+	fi
+}


             reply	other threads:[~2016-11-17 11:51 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-17 11:51 Michael Palimaka [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-11-11 20:50 [gentoo-commits] repo/gentoo:master commit in: x11-misc/qt5ct/ Michał Górny
2023-11-11 20:17 Arthur Zamarin
2023-10-08 17:48 Michał Górny
2023-04-08 18:45 Michał Górny
2023-04-08 18:01 Arthur Zamarin
2023-04-08 17:33 Arthur Zamarin
2023-03-01  6:16 Michał Górny
2023-02-27  5:38 Michał Górny
2021-12-18 15:39 Michał Górny
2021-12-18 15:09 Arthur Zamarin
2021-12-18 15:09 Arthur Zamarin
2021-10-20  9:40 Michał Górny
2021-10-02  7:50 Michał Górny
2021-09-27  8:27 Agostino Sarubbo
2021-09-27  8:26 Agostino Sarubbo
2021-08-05 16:42 Georgy Yakovlev
2021-08-01 21:12 Michał Górny
2021-08-01 21:12 Michał Górny
2021-07-03  6:26 Michał Górny
2021-07-03  1:30 Sam James
2021-07-03  1:28 Sam James
2021-04-21  6:40 Michał Górny
2020-09-18  9:38 Michał Górny
2020-09-18  8:26 Agostino Sarubbo
2020-09-18  7:29 Agostino Sarubbo
2020-08-05 15:18 Michał Górny
2020-08-05 14:17 Agostino Sarubbo
2020-07-21 12:39 Michał Górny
2020-07-16 13:19 Sam James
2020-06-15 13:20 Michał Górny
2019-12-30 16:14 Agostino Sarubbo
2019-12-29 20:51 Michał Górny
2019-09-23 17:00 Michał Górny
2019-09-22 18:37 Michał Górny
2019-09-22 18:37 Michał Górny
2019-07-18 14:38 Thomas Deutschmann
2018-10-12 20:13 Michał Górny
2018-05-13 19:15 Johannes Huber
2018-04-15 23:49 Aaron Bauman
2018-03-11 12:49 Michael Palimaka
2017-05-30 21:37 Patrice Clement
2017-05-27 13:14 Michał Górny
2017-05-11 17:51 Michał Górny
2017-05-05 14:10 Agostino Sarubbo
2017-03-30  7:41 Michael Palimaka
2017-03-11 13:31 Agostino Sarubbo
2017-02-04 21:25 David Seifert
2017-01-25 11:27 Michael Palimaka
2017-01-25 11:27 Michael Palimaka
2016-11-17 11:51 Michael Palimaka
2016-09-21 14:50 Michael Palimaka
2016-09-21 14:50 Michael Palimaka
2016-09-10 18:11 Michael Palimaka
2016-08-14 17:49 Michael Palimaka
2016-08-14 17:49 Michael Palimaka
2016-07-22 13:05 Patrice Clement
2016-04-01 16:10 Michael Palimaka
2016-04-01 16:08 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=1479383490.02f6df9acbf526316885f5325a93ceeb0d3ad85d.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