eef97ce49d
* Add postmarketos-ui-plasma-mobile * Add more required packages * Upgrade plasma sources * Modernize APKBUILDs * Make it run in general * Support RGB32 framebuffer with BGR order (thanks @zhuowei!)
37 lines
1.2 KiB
Text
37 lines
1.2 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=syntax-highlighting
|
|
pkgver=5.40.0
|
|
pkgrel=0
|
|
pkgdesc='Syntax highlighting engine for structured text and code'
|
|
arch="all"
|
|
url='https://community.kde.org/Frameworks'
|
|
license="LGPL-2.1"
|
|
depends=""
|
|
depends_dev="qt5-qtbase-dev"
|
|
makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev doxygen"
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz
|
|
apkbuild-syntax-highlight.patch"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
|
|
|
|
|
build() {
|
|
cmake \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_QCH=ON
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
sha512sums="4e7868ae64e18b7734d7d5b778187951ae01fdd2d2dfaa1a78f8d9c0b9d5c435e30f4bc333dac3ed18f864f3458991144e870bd6a2c5b17c8ee49b61a82c0ccb syntax-highlighting-5.40.0.tar.xz
|
|
0722d3c44c52f70eae5636c7f912e8e53491a728c96968705c14621fb38749583d855ffdf07ea84cecfcfce0e6c295fe500a06190f7bc82082d67986d879f66e apkbuild-syntax-highlight.patch"
|