syntax-highlighting: update to 5.36.0.
This commit is contained in:
parent
15e90db9f7
commit
b0f5072f6d
|
@ -1,17 +1,32 @@
|
||||||
# Template file for 'syntax-highlighting'
|
# Template file for 'syntax-highlighting'
|
||||||
pkgname=syntax-highlighting
|
pkgname=syntax-highlighting
|
||||||
version=5.29.0
|
version=5.36.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DBUILD_TESTING=OFF"
|
configure_args="-DBUILD_TESTING=OFF"
|
||||||
hostmakedepends="extra-cmake-modules perl"
|
hostmakedepends="extra-cmake-modules perl"
|
||||||
makedepends="qt5-devel qt5-xmlpatterns-devel"
|
makedepends="qt5-devel qt5-tools-devel qt5-xmlpatterns-devel"
|
||||||
short_desc="Syntax highlighting engine for structured text and code"
|
short_desc="Syntax highlighting engine for structured text and code"
|
||||||
maintainer="Denis Revin <denis.revin@gmail.com>"
|
maintainer="Denis Revin <denis.revin@gmail.com>"
|
||||||
license="LGPL-2"
|
license="LGPL-2"
|
||||||
homepage="https://projects.kde.org/projects/frameworks/syntax-highlighting"
|
homepage="https://projects.kde.org/projects/frameworks/syntax-highlighting"
|
||||||
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=cbcca052a1ad79b4d1ed1209d6f8e9ba0c3812dc158b26c4a8232a8d879c7839
|
checksum=925a8845cd3a1d1720753aaba80f364d59612d45a71de089531d5e8dfa94fdc5
|
||||||
|
|
||||||
|
if [ -n "$CROSS_BUILD" ]; then
|
||||||
|
hostmakedepends+=" qt5-host-tools qt5-qmake qt5-tools syntax-highlighting"
|
||||||
|
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() {
|
||||||
|
# internal tool needed for cross-building
|
||||||
|
vinstall build/src/indexer/katehighlightingindexer 0755 usr/lib/libexec/${pkgname}
|
||||||
|
}
|
||||||
|
|
||||||
syntax-highlighting-devel_package() {
|
syntax-highlighting-devel_package() {
|
||||||
short_desc+=" - development"
|
short_desc+=" - development"
|
||||||
|
|
Loading…
Reference in New Issue