diff options
author | Johannes Huber <johu@gentoo.org> | 2018-06-12 21:47:55 +0200 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2018-06-12 21:47:55 +0200 |
commit | 3bc38cb6a1a589a816b7e603ebad9de47222ec70 (patch) | |
tree | de4515bc2faf73df903ab881cccba27ea337c9a1 /app-editors | |
parent | kde-apps/okteta: Update description (diff) | |
download | kde-3bc38cb6a1a589a816b7e603ebad9de47222ec70.tar.gz kde-3bc38cb6a1a589a816b7e603ebad9de47222ec70.tar.bz2 kde-3bc38cb6a1a589a816b7e603ebad9de47222ec70.zip |
kde-apps/okteta -> app-editors/okteta
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/okteta/metadata.xml | 11 | ||||
-rw-r--r-- | app-editors/okteta/okteta-9999.ebuild | 61 |
2 files changed, 72 insertions, 0 deletions
diff --git a/app-editors/okteta/metadata.xml b/app-editors/okteta/metadata.xml new file mode 100644 index 0000000000..a50ada50ef --- /dev/null +++ b/app-editors/okteta/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <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/app-editors/okteta/okteta-9999.ebuild b/app-editors/okteta/okteta-9999.ebuild new file mode 100644 index 0000000000..59ab74d0dc --- /dev/null +++ b/app-editors/okteta/okteta-9999.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KDE_HANDBOOK="forceoptional" +KDE_TEST="true" +VIRTUALX_REQUIRED="test" +inherit kde5 + +DESCRIPTION="Hex editor by KDE" +HOMEPAGE="https://www.kde.org/applications/utilities/okteta +https://utils.kde.org/projects/okteta" +KEYWORDS="" +IUSE="crypt designer" + +DEPEND=" + $(add_frameworks_dep kbookmarks) + $(add_frameworks_dep kcmutils) + $(add_frameworks_dep kcodecs) + $(add_frameworks_dep kcompletion) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kcrash) + $(add_frameworks_dep kdbusaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kiconthemes) + $(add_frameworks_dep kio) + $(add_frameworks_dep kjobwidgets) + $(add_frameworks_dep knewstuff) + $(add_frameworks_dep kparts) + $(add_frameworks_dep kservice) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kxmlgui) + $(add_qt_dep qtgui) + $(add_qt_dep qtnetwork) + $(add_qt_dep qtprintsupport) + $(add_qt_dep qtscript 'scripttools') + $(add_qt_dep qtwidgets) + $(add_qt_dep qtxml) + crypt? ( app-crypt/qca:2[qt5(+)] ) + designer? ( $(add_qt_dep designer) ) +" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + -DOMIT_EXAMPLES=ON + $(cmake-utils_use_find_package crypt Qca-qt5) + -DBUILD_DESIGNERPLUGIN=$(usex designer) + ) + + kde5_src_configure +} + +src_test() { + local myctestargs=( -j1 ) + + kde5_src_test +} |