You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.6 KiB
64 lines
1.6 KiB
6 years ago
|
# Copyright 1999-2018 Gentoo Foundation
|
||
6 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=6
|
||
|
|
||
|
KDE_HANDBOOK="forceoptional"
|
||
|
KDE_TEST="optional"
|
||
|
VIRTUALX_REQUIRED="test"
|
||
|
inherit kde5
|
||
|
|
||
6 years ago
|
DESCRIPTION="Hex editor by KDE"
|
||
6 years ago
|
HOMEPAGE="https://www.kde.org/applications/utilities/okteta
|
||
|
https://utils.kde.org/projects/okteta"
|
||
6 years ago
|
SRC_URI="mirror://kde/stable/applications/${PV}/${P}.tar.xz"
|
||
6 years ago
|
KEYWORDS="amd64 x86"
|
||
6 years ago
|
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)
|
||
6 years ago
|
crypt? ( app-crypt/qca:2[qt5(+)] )
|
||
6 years ago
|
designer? ( $(add_qt_dep designer) )
|
||
|
"
|
||
|
RDEPEND="${DEPEND}"
|
||
|
|
||
|
src_configure() {
|
||
|
local mycmakeargs=(
|
||
|
-DOMIT_EXAMPLES=ON
|
||
|
$(cmake-utils_use_find_package crypt Qca-qt5)
|
||
|
$(cmake-utils_use_find_package designer Qt5Designer)
|
||
|
$(cmake-utils_use_find_package designer Qt5UiPlugin)
|
||
|
)
|
||
|
|
||
|
kde5_src_configure
|
||
|
}
|
||
|
|
||
|
src_test() {
|
||
|
local myctestargs=( -j1 )
|
||
|
|
||
|
kde5_src_test
|
||
|
}
|