From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/qt5ct/files/, x11-misc/qt5ct/
Date: Sun, 21 May 2017 21:03:47 +0000 (UTC) [thread overview]
Message-ID: <1495400621.c05131646070c21a91a2a572f5e33a1cf358bacf.mgorny@gentoo> (raw)
commit: c05131646070c21a91a2a572f5e33a1cf358bacf
Author: Ilya Tumaykin <itumaykin <AT> gmail <DOT> com>
AuthorDate: Tue May 16 20:09:50 2017 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May 21 21:03:41 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0513164
x11-misc/qt5ct: version bump to 0.32
Global menu support was added. It pulls the same deps as the system tray
support, thus group them together under dbus USE (renamed from systray).
Closes: https://github.com/gentoo/gentoo/pull/4650
Package-Manager: Portage-2.3.5, Repoman-2.3.2
x11-misc/qt5ct/Manifest | 1 +
.../files/qt5ct-0.32-fix-build-without-dbus.patch | 16 +++++++
x11-misc/qt5ct/metadata.xml | 1 +
x11-misc/qt5ct/qt5ct-0.32.ebuild | 54 ++++++++++++++++++++++
4 files changed, 72 insertions(+)
diff --git a/x11-misc/qt5ct/Manifest b/x11-misc/qt5ct/Manifest
index dba1022fc3e..eb2bc3f33f2 100644
--- a/x11-misc/qt5ct/Manifest
+++ b/x11-misc/qt5ct/Manifest
@@ -1 +1,2 @@
DIST qt5ct-0.31.tar.bz2 55724 SHA256 d5357768832a81e39aa9cd0a45d8144de9bd59302d8d122d8c2d1a231be2aba9 SHA512 9162106febf93b94b8ba847157d20386568bc898d15c6123636ef9d9c50bce3ca4706fbfbfd82053dccf545f91ca40d387d1e9a5bbb6773810a1d931417eaa4e WHIRLPOOL e63d91ea06956859abebef8990c3b697fddbda9656dcb092231fece95ed9f5ce8fe1597ca6b28468e63b76adcd311637b3591e7650ad0a1adb8a0f1958eafef4
+DIST qt5ct-0.32.tar.bz2 56146 SHA256 d501975f876aeb7a4c9814c9b9a46eb20804c3e0ee2b5d5e7b1b3d244dc7f53f SHA512 9d4ccbb808ce5c394b041f1c387502a373998930aa9141e151a8c854b79b978945ad77bfb2383c1a3e0b5f082bc8c260d01f30d137fa764f926405bbddad212c WHIRLPOOL 77fb3c34636331fda89814f4e6e9eef55e0aebf1c3d71e912d11566d97241c645ece974e31260c53d96d27e42e44ce51abbef271671d63899f77cdef1cdf9e40
diff --git a/x11-misc/qt5ct/files/qt5ct-0.32-fix-build-without-dbus.patch b/x11-misc/qt5ct/files/qt5ct-0.32-fix-build-without-dbus.patch
new file mode 100644
index 00000000000..532413b954c
--- /dev/null
+++ b/x11-misc/qt5ct/files/qt5ct-0.32-fix-build-without-dbus.patch
@@ -0,0 +1,16 @@
+See https://sourceforge.net/p/qt5ct/tickets/36/
+
+diff --git a/src/qt5ct-qtplugin/qt5ct-qtplugin.pro b/src/qt5ct-qtplugin/qt5ct-qtplugin.pro
+--- a/src/qt5ct-qtplugin/qt5ct-qtplugin.pro (revision 408)
++++ b/src/qt5ct-qtplugin/qt5ct-qtplugin.pro (working copy)
+@@ -10,7 +10,9 @@
+ QT += gui-private platformsupport-private
+ }
+
+-greaterThan(QT_MINOR_VERSION, 5): QT += dbus
++!contains(DEFINES, QT_NO_DBUS):greaterThan(QT_MINOR_VERSION, 5) {
++ QT += dbus
++}
+
+ SOURCES += \
+ main.cpp \
diff --git a/x11-misc/qt5ct/metadata.xml b/x11-misc/qt5ct/metadata.xml
index 2e9a3414145..a5fe4940379 100644
--- a/x11-misc/qt5ct/metadata.xml
+++ b/x11-misc/qt5ct/metadata.xml
@@ -14,6 +14,7 @@
icons, etc.) under DE/WM without Qt5 integration.
</longdescription>
<use>
+ <flag name="dbus">Enable system tray and global menu support</flag>
<flag name="systray">Enable system tray support</flag>
</use>
<upstream>
diff --git a/x11-misc/qt5ct/qt5ct-0.32.ebuild b/x11-misc/qt5ct/qt5ct-0.32.ebuild
new file mode 100644
index 00000000000..947237d1e28
--- /dev/null
+++ b/x11-misc/qt5ct/qt5ct-0.32.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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="+dbus"
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5=
+ dev-qt/qtwidgets:5
+ dbus? (
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5[dbus]
+ )
+"
+DEPEND="${RDEPEND}
+ dev-qt/linguist-tools:5
+"
+
+PATCHES=( "${FILESDIR}/${P}-fix-build-without-dbus.patch" )
+
+src_configure() {
+ eqmake5 DEFINES="$(usex dbus '' QT_NO_DBUS)" ${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
+ elog
+ elog "For SVG icon themes, please install 'dev-qt/qtsvg:5'."
+ elog
+ fi
+}
next reply other threads:[~2017-05-21 21:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-21 21:03 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-09-27 9:15 [gentoo-commits] repo/gentoo:master commit in: x11-misc/qt5ct/files/, x11-misc/qt5ct/ Michał Górny
2021-04-21 10:12 Michał Górny
2020-01-03 8:48 Michał Górny
2018-03-11 12:49 Michael Palimaka
2017-05-30 21:37 Patrice Clement
2017-02-04 21:25 David Seifert
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=1495400621.c05131646070c21a91a2a572f5e33a1cf358bacf.mgorny@gentoo \
--to=mgorny@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