mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 22:48:07 -07:00
x11-misc/qt5ct: new package
This program allows users to configure Qt5 settings (theme, font, icons, etc.) under DE/WM without Qt5 integration. Gentoo-Bug: https://bugs.gentoo.org/577840 Package-Manager: portage-2.3.0 Closes: https://github.com/gentoo/gentoo/pull/1926 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
This commit is contained in:
committed by
Patrice Clement
parent
99b55fd1ea
commit
4c0146398c
1
x11-misc/qt5ct/Manifest
Normal file
1
x11-misc/qt5ct/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST qt5ct-0.24.tar.bz2 42427 SHA256 d7acba4e36ed6478a4a27a8cc9359b45f2ecdbcb5f46e6a19e6fdd4252b3c24c SHA512 670e518d8b927eb937bbde6e190dba735cdd7d833ada0299f18093b502ddda340b10d5ad6e6be94a7f08c46335ffb84128800c5625063c6614cb1248a00287c1 WHIRLPOOL d85528748440f3d14b68f9cc9bcade1a65e74918960918babf798ce9f7aa3f4c0661a6d59c43340276070882119b2be95a767f1f35f69adc98e52f137083576d
|
||||
19
x11-misc/qt5ct/metadata.xml
Normal file
19
x11-misc/qt5ct/metadata.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>itumaykin+gentoo@gmail.com</email>
|
||||
<name>Coacher</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
This program allows users to configure Qt5 settings (theme, font,
|
||||
icons, etc.) under DE/WM without Qt5 integration.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">qt5ct</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
49
x11-misc/qt5ct/qt5ct-0.24.ebuild
Normal file
49
x11-misc/qt5ct/qt5ct-0.24.ebuild
Normal file
@@ -0,0 +1,49 @@
|
||||
# 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=""
|
||||
|
||||
RDEPEND="
|
||||
dev-qt/qtcore:5=
|
||||
dev-qt/qtgui:5=
|
||||
dev-qt/qtwidgets:5=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-qt/linguist-tools:5
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
eqmake5 ${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
|
||||
}
|
||||
Reference in New Issue
Block a user