mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
45 lines
1.1 KiB
Plaintext
45 lines
1.1 KiB
Plaintext
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=syntax-highlighting
|
|
pkgver=5.105.0
|
|
pkgrel=0
|
|
pkgdesc="Syntax highlighting engine for structured text and code"
|
|
arch="all !armhf" # armhf blocked by extra-cmake-modules
|
|
url="https://community.kde.org/Frameworks"
|
|
license="MIT"
|
|
depends_dev="
|
|
qt5-qtbase-dev
|
|
qt5-qtdeclarative-dev
|
|
qt5-qtxmlpatterns-dev
|
|
"
|
|
makedepends="$depends_dev
|
|
doxygen
|
|
extra-cmake-modules
|
|
qt5-qttools-dev
|
|
samurai
|
|
"
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/syntax-highlighting-$pkgver.tar.xz"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_QCH=ON
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
cd build
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
b5dc83aaf306170976907174eafd04e29f432efec41cd902403451fc858a3b29f56a2635d1871606db7ed44be5e6faa9f5f9289a2690481cc72e19bd09353b4d syntax-highlighting-5.105.0.tar.xz
|
|
"
|