kde-frameworks/kconfig: Add missing dependency
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 20 Jan 2019 16:19:50 +0000 (17:19 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 20 Jan 2019 18:54:16 +0000 (19:54 +0100)
Upstream commit 8579ec54838b7188ed016f7adb4a69bbf2e39712

Reported-by: Jochen Schlick <josch09@gmail.com>
Closes: https://bugs.gentoo.org/675880
Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
kde-frameworks/kconfig/kconfig-5.54.0-r1.ebuild [new file with mode: 0644]

diff --git a/kde-frameworks/kconfig/kconfig-5.54.0-r1.ebuild b/kde-frameworks/kconfig/kconfig-5.54.0-r1.ebuild
new file mode 100644 (file)
index 0000000..d78a702
--- /dev/null
@@ -0,0 +1,34 @@
+# 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 reading and writing configuration"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="dbus nls"
+
+RDEPEND="
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtxml)
+       dbus? ( $(add_qt_dep qtdbus) )
+"
+DEPEND="${RDEPEND}
+       nls? ( $(add_qt_dep linguist-tools) )
+       test? ( $(add_qt_dep qtconcurrent) )
+"
+
+# bug 560086
+RESTRICT+=" test"
+
+DOCS=( DESIGN docs/DESIGN.kconfig docs/options.md )
+
+src_configure() {
+       local mycmakeargs=(
+               -DKCONFIG_USE_DBUS=$(usex dbus)
+       )
+       kde5_src_configure
+}