You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
888 B
47 lines
888 B
3 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
4 years ago
|
# 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)"
|
||
4 years ago
|
HOMEPAGE="https://code.qt.io/cgit/qt/qtstyleplugins.git/"
|
||
4 years ago
|
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=
|
||
3 years ago
|
dev-qt/qtgui:5=[dbus]
|
||
4 years ago
|
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"
|
||
|
}
|