From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 32C921395E2 for ; Thu, 17 Nov 2016 11:51:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D4F5CE0AB3; Thu, 17 Nov 2016 11:51:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BC0D7E0AB3 for ; Thu, 17 Nov 2016 11:51:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4DC6E340AC7 for ; Thu, 17 Nov 2016 11:51:46 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 687AE486 for ; Thu, 17 Nov 2016 11:51:44 +0000 (UTC) From: "Michael Palimaka" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Palimaka" Message-ID: <1479383490.02f6df9acbf526316885f5325a93ceeb0d3ad85d.kensington@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/qt5ct/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/qt5ct/metadata.xml x11-misc/qt5ct/qt5ct-0.27-r1.ebuild X-VCS-Directories: x11-misc/qt5ct/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: 02f6df9acbf526316885f5325a93ceeb0d3ad85d X-VCS-Branch: master Date: Thu, 17 Nov 2016 11:51:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: fe3e0148-936b-4c0f-8108-7427c3cbe1c7 X-Archives-Hash: 99b9a6e6c5464916d0ff50fa790abbb1 commit: 02f6df9acbf526316885f5325a93ceeb0d3ad85d Author: Ilya Tumaykin gmail com> AuthorDate: Thu Nov 17 03:43:43 2016 +0000 Commit: Michael Palimaka gentoo 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. + + Enable system tray support + qt5ct 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 +}