syntax-highlighting: update to 5.47.0.

This commit is contained in:
Piotr Wójcik 2018-06-11 09:49:39 +02:00
parent b0a674d4d2
commit 5bac79a01a

View file

@ -1,6 +1,6 @@
# Template file for 'syntax-highlighting'
pkgname=syntax-highlighting
version=5.43.0
version=5.47.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
@ -10,22 +10,19 @@ short_desc="Syntax highlighting engine for structured text and code"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2"
homepage="https://projects.kde.org/projects/frameworks/syntax-highlighting"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=611e6ddbd34f2410a2618cef32cc87b49757001da351369ac16c2b3ee6cd3d28
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=0c6c138605639a67ed33ca6ef843144f95cd1aec7ed836c44e14ee3e362b622f
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake qt5-tools syntax-highlighting"
hostmakedepends+=" qt5-host-tools qt5-qmake qt5-tools syntax-highlighting qt5-devel qt5-tools-devel"
configure_args+=" -DKATEHIGHLIGHTINGINDEXER_EXECUTABLE=/usr/lib/libexec/${pkgname}/katehighlightingindexer"
fi
pre_configure() {
if [ -n "$CROSS_BUILD" ]; then
sed -i -e "s,COMMAND katehighlightingindexer,COMMAND /usr/lib/libexec/${pkgname}/katehighlightingindexer,g" data/CMakeLists.txt
fi
}
post_install() {
if [ -z "$CROSS_BUILD" ]; then
# internal tool needed for cross-building
vinstall build/bin/katehighlightingindexer 0755 usr/lib/libexec/${pkgname}
fi
}
syntax-highlighting-devel_package() {