summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2021-01-23 23:19:32 +0000
committerJames Le Cuirot <chewi@gentoo.org>2021-01-23 23:19:32 +0000
commitfc94b75038d34f5f8804b5092d4be8ad472acd07 (patch)
tree33cf8125f37551033b77c22cf63055a3456a9a53 /dev-qt/qtstyleplugins/qtstyleplugins-5.0.0_p20170311-r1.ebuild
parentsys-kernel/gentoo-kernel-bin: Bump to 5.10.10 (diff)
downloadgentoo-fc94b75038d34f5f8804b5092d4be8ad472acd07.tar.gz
gentoo-fc94b75038d34f5f8804b5092d4be8ad472acd07.tar.bz2
gentoo-fc94b75038d34f5f8804b5092d4be8ad472acd07.zip
dev-qt/qtstyleplugins: Add missing dbus USE dep on qtgui
Closes: https://bugs.gentoo.org/766618 Package-Manager: Portage-3.0.14, Repoman-3.0.1 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'dev-qt/qtstyleplugins/qtstyleplugins-5.0.0_p20170311-r1.ebuild')
-rw-r--r--dev-qt/qtstyleplugins/qtstyleplugins-5.0.0_p20170311-r1.ebuild46
1 files changed, 46 insertions, 0 deletions
diff --git a/dev-qt/qtstyleplugins/qtstyleplugins-5.0.0_p20170311-r1.ebuild b/dev-qt/qtstyleplugins/qtstyleplugins-5.0.0_p20170311-r1.ebuild
new file mode 100644
index 000000000000..d92dec7cb9c1
--- /dev/null
+++ b/dev-qt/qtstyleplugins/qtstyleplugins-5.0.0_p20170311-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2021 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://code.qt.io/cgit/qt/qtstyleplugins.git/"
+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=[dbus]
+ 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"
+}