diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-01-30 18:03:40 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-01-30 18:03:40 +0100 |
commit | 547bdf84d94ecfcca5aa09cc2ebd6d1e8fc455ac (patch) | |
tree | f9195345f9fa816ee958a0e0de0b481e0cd20651 /kde-frameworks/kxmlgui/kxmlgui-5.54.0-r1.ebuild | |
parent | kde-frameworks/kwidgetsaddons: No light font styles for headings (diff) | |
download | gentoo-547bdf84d94ecfcca5aa09cc2ebd6d1e8fc455ac.tar.gz gentoo-547bdf84d94ecfcca5aa09cc2ebd6d1e8fc455ac.tar.bz2 gentoo-547bdf84d94ecfcca5aa09cc2ebd6d1e8fc455ac.zip |
kde-frameworks/kxmlgui: Fix Qt5 app artifacts w/ kcheckaccelerators
Fixes long-standing bug in applications under Plasma-5 not linking to KXmlGui,
as seen in QtCreator and Clementine e.g.
KDE-Bug: https://bugs.kde.org/show_bug.cgi?id=337491
Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/kxmlgui/kxmlgui-5.54.0-r1.ebuild')
-rw-r--r-- | kde-frameworks/kxmlgui/kxmlgui-5.54.0-r1.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/kde-frameworks/kxmlgui/kxmlgui-5.54.0-r1.ebuild b/kde-frameworks/kxmlgui/kxmlgui-5.54.0-r1.ebuild new file mode 100644 index 000000000000..eac5c3cc9e21 --- /dev/null +++ b/kde-frameworks/kxmlgui/kxmlgui-5.54.0-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +VIRTUALX_REQUIRED="test" +inherit kde5 + +DESCRIPTION="Framework for managing menu and toolbar actions in an abstract way" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +LICENSE="LGPL-2+" +IUSE="attica" + +# slot op: includes QtCore/private/qlocale_p.h +RDEPEND=" + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kglobalaccel) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kiconthemes) + $(add_frameworks_dep kitemviews) + $(add_frameworks_dep ktextwidgets) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kwindowsystem) + $(add_qt_dep qtcore '' '' '5=') + $(add_qt_dep qtdbus) + $(add_qt_dep qtgui) + $(add_qt_dep qtnetwork 'ssl') + $(add_qt_dep qtprintsupport) + $(add_qt_dep qtwidgets) + $(add_qt_dep qtxml) + attica? ( $(add_frameworks_dep attica) ) +" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}/${P}-kcheckaccelerators.patch" ) + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package attica KF5Attica) + ) + + kde5_src_configure +} + +src_test() { + # Files are missing; whatever. Bugs 650290, 668198 + local myctestargs=( + -E "(ktoolbar_unittest|kxmlgui_unittest)" + ) + + kde5_src_test +} |