diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-10-01 23:05:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-10-01 23:05:41 +0100 |
commit | 2e34d110f164bf74d55fced27fe0000201b3eec5 (patch) | |
tree | f00ae60197c58f84ad51f60b210738d9b70f555b /dev-qt/qtstyleplugins/qtstyleplugins-5.0.0_p20170311.ebuild | |
parent | f70a1bfc721336d4fc7dfb711c2f518a6b18cf16 (diff) |
gentoo resync : 01.10.2020
Diffstat (limited to 'dev-qt/qtstyleplugins/qtstyleplugins-5.0.0_p20170311.ebuild')
-rw-r--r-- | dev-qt/qtstyleplugins/qtstyleplugins-5.0.0_p20170311.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/dev-qt/qtstyleplugins/qtstyleplugins-5.0.0_p20170311.ebuild b/dev-qt/qtstyleplugins/qtstyleplugins-5.0.0_p20170311.ebuild new file mode 100644 index 000000000000..24e7e83cdc2f --- /dev/null +++ b/dev-qt/qtstyleplugins/qtstyleplugins-5.0.0_p20170311.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit qmake-utils + +COMMIT="335dbece103e2cbf6c7cf819ab6672c2956b17b3" +DESCRIPTION="Additional style plugins for Qt5 (gtk2, cleanlook, plastic, motif)" +HOMEPAGE="https://github.com/qt/qtstyleplugins" +SRC_URI="https://github.com/qt/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="5" +KEYWORDS="~amd64" + +DEPEND=" + dev-qt/qtcore:5= + dev-qt/qtgui:5= + dev-qt/qtwidgets:5= + x11-libs/gtk+:2 + x11-libs/libX11 + x11-libs/pango +" + +RDEPEND=" + ${DEPEND} +" + +S="${WORKDIR}/${PN}-${COMMIT}" + +PATCHES=( + "${FILESDIR}"/fix-build-qt5.15.patch +) + +src_configure() { + eqmake5 +} + +src_install() { + emake INSTALL_ROOT="${D}" install +} + +pkg_postinst() { + elog "To make Qt5 use the gtk2 style, set this in your environment:" + elog " QT_QPA_PLATFORMTHEME=gtk2" +} |