diff options
author | Ilya Tumaykin <itumaykin@gmail.com> | 2018-03-11 14:57:19 +0300 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2018-03-11 23:49:25 +1100 |
commit | 91bee87446cbd124cea14e0b6dca87e5726ea017 (patch) | |
tree | 83e434b412d1684327d55e592f9959f558661dad /x11-misc/qt5ct/qt5ct-0.35.ebuild | |
parent | app-admin/conky: Fix bug #648090. (diff) | |
download | gentoo-91bee87446cbd124cea14e0b6dca87e5726ea017.tar.gz gentoo-91bee87446cbd124cea14e0b6dca87e5726ea017.tar.bz2 gentoo-91bee87446cbd124cea14e0b6dca87e5726ea017.zip |
x11-misc/qt5ct: verbump to 0.35
Closes: https://bugs.gentoo.org/641964
Closes: https://github.com/gentoo/gentoo/pull/7420
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'x11-misc/qt5ct/qt5ct-0.35.ebuild')
-rw-r--r-- | x11-misc/qt5ct/qt5ct-0.35.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/x11-misc/qt5ct/qt5ct-0.35.ebuild b/x11-misc/qt5ct/qt5ct-0.35.ebuild new file mode 100644 index 000000000000..5c14b1e6072f --- /dev/null +++ b/x11-misc/qt5ct/qt5ct-0.35.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2018 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-qtdbus-automagic.patch" ) + +src_configure() { + eqmake5 DISABLE_DBUS=$(usex !dbus 1 0) +} + +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 +} |