summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-apps/okteta/metadata.xml3
-rw-r--r--kde-apps/okteta/okteta-16.12.3.ebuild8
2 files changed, 7 insertions, 4 deletions
diff --git a/kde-apps/okteta/metadata.xml b/kde-apps/okteta/metadata.xml
index 2fdbf33d963d..a50ada50ef0e 100644
--- a/kde-apps/okteta/metadata.xml
+++ b/kde-apps/okteta/metadata.xml
@@ -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>
diff --git a/kde-apps/okteta/okteta-16.12.3.ebuild b/kde-apps/okteta/okteta-16.12.3.ebuild
index 2c09e39968cc..ecc44c1d1c8b 100644
--- a/kde-apps/okteta/okteta-16.12.3.ebuild
+++ b/kde-apps/okteta/okteta-16.12.3.ebuild
@@ -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