blob: 7490ba33af2a322ed4a2a75c714f77e3b232618e (
plain)
1 # Description: Virtual keyboard framework
2 # URL: https://www.qt.io/
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: hunspell qt6-declarative qt6-svg
5
6 name=qt6-virtualkeyboard
7 version=6.4.2
8 release=1
9 source=(https://download.qt.io/official_releases/qt/${version%.*}/$version/submodules/qtvirtualkeyboard-everywhere-src-$version.tar.xz)
10
11 build() {
12 prt-get isinst ninja && PKGMK_QT6+=' -G Ninja'
13 prt-get isinst ccache && PKGMK_QT6+=' -D QT_USE_CCACHE=ON' && PATH="$(echo ${PATH} | awk -v RS=: -v ORS=: '/ccache/ {next} {print}' | sed 's/:*$//')"
14
15 cmake -S qtvirtualkeyboard-everywhere-src-$version -B build $PKGMK_QT6 \
16 -D CMAKE_BUILD_TYPE=Release \
17 -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
18 -D CMAKE_C_FLAGS_RELEASE="$CFLAGS"
19 cmake --build build
20 DESTDIR=$PKG cmake --install build
21 }
|