diff options
-rw-r--r-- | x11-misc/qt5ct/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/qt5ct/qt5ct-0.33.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/x11-misc/qt5ct/Manifest b/x11-misc/qt5ct/Manifest index eb2bc3f33f2b..ca75a9de8b88 100644 --- a/x11-misc/qt5ct/Manifest +++ b/x11-misc/qt5ct/Manifest @@ -1,2 +1,3 @@ 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 +DIST qt5ct-0.33.tar.bz2 56448 SHA256 2e55484bdae7988ec8ce2629cfc252b226df8b07b2a0b6f8ee2fd10cc8e7c02f SHA512 670ec099978b569b7607d6a0af0c7e7b66b4b4a374041893c85a8749992ae6a931fa9678fa122baede8a672c0c9798fad8c30c60205c3f9d0ad3dd867e0753ba WHIRLPOOL f8ecb21aaa3aef538860fdd43095dc0b6b7aff72bb5ff6601f15783e5eb9bd398c4031e05139fda90800c0436606d8ac9f3fe66e09bb29f6ae8c704000d8b2b8 diff --git a/x11-misc/qt5ct/qt5ct-0.33.ebuild b/x11-misc/qt5ct/qt5ct-0.33.ebuild new file mode 100644 index 000000000000..05b743dbdc0a --- /dev/null +++ b/x11-misc/qt5ct/qt5ct-0.33.ebuild @@ -0,0 +1,52 @@ +# 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.7:5[dbus] + ) +" +DEPEND="${RDEPEND} + dev-qt/linguist-tools:5 +" + +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 +} |