okteta5: fix cross

Closes #14245.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
John 2018-04-22 10:50:17 +02:00 committed by Enno Boland
parent ec538d5554
commit 0c090b4e66

View file

@ -1,11 +1,13 @@
# Template file for 'okteta5'
pkgname=okteta5
version=17.12.1
revision=1
revision=2
wrksrc="${pkgname%5}-${version}"
build_style=cmake
configure_args="-DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
conflicts="okteta"
hostmakedepends="extra-cmake-modules python qt5-qmake qt5-host-tools"
hostmakedepends="extra-cmake-modules python qt5-qmake qt5-host-tools
kdoctools kconfig kcoreaddons kparts"
makedepends="qt5-devel qt5-script-devel qca-qt5-devel kbookmarks-devel
kcodecs-devel kcompletion-devel kconfigwidgets-devel kcrash-devel
kcmutils-devel knewstuff-devel kparts-devel"
@ -13,9 +15,8 @@ short_desc="Hexadecimal editor for binary files"
maintainer="yopito <pierre.bourgin@free.fr>"
license="GPL-2, LGPL-2.1"
homepage="https://www.kde.org/applications/utilities/okteta/"
distfiles="http://download.kde.org/stable/applications/${version}/src/${pkgname%5}-${version}.tar.xz"
distfiles="${KDE_SITE}/applications/${version}/src/${pkgname%5}-${version}.tar.xz"
checksum=44994eeb2f0536911ee73438d304e2055dfece661c09b341483952ccd8c2cae7
nocross="qca-qt5-devel cmake files not suitable for crossbuild"
okteta5-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"