summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-04-04 11:52:33 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-04-04 12:01:10 +0200
commit9b964c1e5ffd89dec3a4f96f12280856fbe67839 (patch)
tree93d17276a16db01eadefaaf324f2f92d552544ee /kde-apps/okteta
parentdev-perl/MCE: Bump to version 1.826.0 (diff)
downloadgentoo-9b964c1e5ffd89dec3a4f96f12280856fbe67839.tar.gz
gentoo-9b964c1e5ffd89dec3a4f96f12280856fbe67839.tar.bz2
gentoo-9b964c1e5ffd89dec3a4f96f12280856fbe67839.zip
kde-apps/okteta: Add KDE_DESIGNERPLUGIN=true, drop USE=examples, fix crypt
No examples are actually ending up installed. Fixes cmake warnings. Reported-by: Arfrever Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'kde-apps/okteta')
-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