kde-apps/okteta: Add KDE_DESIGNERPLUGIN=true, drop USE=examples, fix crypt
authorAndreas Sturmlechner <asturm@gentoo.org>
Tue, 4 Apr 2017 09:52:33 +0000 (11:52 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Tue, 4 Apr 2017 10:01:10 +0000 (12:01 +0200)
No examples are actually ending up installed. Fixes cmake warnings.

Reported-by: Arfrever
Package-Manager: Portage-2.3.3, Repoman-2.3.1

kde-apps/okteta/metadata.xml
kde-apps/okteta/okteta-16.12.3.ebuild

index 2fdbf33d963db81228cb30a4f1abf67dbe9c29f1..a50ada50ef0eee44105adc4e77eae08a570de238 100644 (file)
@@ -5,4 +5,7 @@
                <email>kde@gentoo.org</email>
                <name>Gentoo KDE Project</name>
        </maintainer>
+       <use>
+               <flag name="designer">Build plugins for <pkg>dev-qt/designer</pkg></flag>
+       </use>
 </pkgmetadata>
index 2c09e39968cc0eb68d163295a9c9a08655c0ef7f..ecc44c1d1c8b77ca8cc0e088afe092aef62e89ac 100644 (file)
@@ -3,6 +3,7 @@
 
 EAPI=6
 
+KDE_DESIGNERPLUGIN="true"
 KDE_HANDBOOK="forceoptional"
 KDE_TEST="optional"
 VIRTUALX_REQUIRED="test"
@@ -12,7 +13,7 @@ DESCRIPTION="KDE hexeditor"
 HOMEPAGE="https://www.kde.org/applications/utilities/okteta
 https://utils.kde.org/projects/okteta"
 KEYWORDS="~amd64 ~arm ~x86"
-IUSE="crypt examples"
+IUSE="crypt"
 
 DEPEND="
        $(add_frameworks_dep kbookmarks)
@@ -32,7 +33,6 @@ DEPEND="
        $(add_frameworks_dep kservice)
        $(add_frameworks_dep kwidgetsaddons)
        $(add_frameworks_dep kxmlgui)
-       $(add_qt_dep designer)
        $(add_qt_dep qtgui)
        $(add_qt_dep qtnetwork)
        $(add_qt_dep qtprintsupport)
@@ -45,8 +45,8 @@ RDEPEND="${DEPEND}"
 
 src_configure() {
        local mycmakeargs=(
-               -DENABLE_OKTETA_BUILD_EXAMPLES=$(usex examples)
-               $(cmake-utils_use_find_package crypt QCA2)
+               -DOMIT_EXAMPLES=ON
+               $(cmake-utils_use_find_package crypt Qca-qt5)
        )
 
        kde5_src_configure