x11-themes/qtstyleplugins - 9999 (akater)

Search

Install

Install this version:

emerge -a =x11-themes/qtstyleplugins-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =x11-themes/qtstyleplugins-9999

Or alternatively:

emerge --autounmask-write -a =x11-themes/qtstyleplugins-9999

Package Information

Description:
Additional style plugins for Qt5 (gtk2, cleanlook, plastic, motif)
Homepage:
https://code.qt.io/cgit/qt/qtstyleplugins.git/
License:
LGPL-2

Ebuild Details

Version EAPI Keywords Slot
9999 7 5
View Raw Ebuild
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
# Last tested with EAPI=6

inherit qmake-utils git-r3

DESCRIPTION="Additional style plugins for Qt5 (gtk2, cleanlook, plastic, motif)"
HOMEPAGE="https://code.qt.io/cgit/qt/qtstyleplugins.git/"
EGIT_REPO_URI="https://code.qt.io/qt/qtstyleplugins.git"

LICENSE="LGPL-2"
SLOT="5"
KEYWORDS=""

DEPEND="
	x11-libs/gtk+:2
	dev-qt/qtgui:5
	dev-qt/qtdbus:5
	x11-libs/libX11"
RDEPEND="${DEPEND}"

src_configure() {
	eqmake5
}

src_install() {
	emake INSTALL_ROOT="${D}" install
}

pkg_postinst() {
	elog ""
	elog "To make Qt5 applications use the gtk2 style"
	elog "insert the following into ~/.profile:"
	elog "QT_QPA_PLATFORMTHEME=gtk2"
	elog "For environments using ~/.pam_environment (gnome wayland):"
	elog "QT_QPA_PLATFORMTHEME OVERRIDE=gtk2"
	elog ""
}

Inherited Eclasses

Dependencies

DEPEND

	x11-libs/gtk+:2
	dev-qt/qtgui:5
	dev-qt/qtdbus:5
	x11-libs/libX11

RDEPEND

	x11-libs/gtk+:2
	dev-qt/qtgui:5
	dev-qt/qtdbus:5
	x11-libs/libX11