Files
binary-repo/kde/frameworks/ktextwidgets/ympbuild
T
2024-02-07 22:46:57 +03:00

39 lines
1.0 KiB
Bash

#!/usr/bin/env bash
name='ktextwidgets'
release='2'
version='5.114.0'
url='https://community.kde.org/Frameworks'
description='Advanced text editing widgets'
email='akarsu@protonmail.com'
maintainer='akarsu'
license=('LGPL')
source=("https://download.kde.org/stable/frameworks/${version%.*}/ktextwidgets-${version}.tar.xz")
depends=(kcompletion sonnet qt5-speech)
makedepends=(extra-cmake-modules doxygen qt5-tools)
md5sums=('dfda4b4225a3c0ecb181ca8a990cc8af')
group=(kde.frameworks)
uses=()
arch=('x86_64')
cd $name-$version
#HATA :CMake Error at /usr/lib64/cmake/Qt5TextToSpeech/Qt5TextToSpeechConfig.cmake:26 (message):
# The imported target "Qt5::TextToSpeech" references the file "/usr/lib/qt5/plugins/texttospeech/libqtexttospeech_speechd.so"
setup () {
cmake -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_QCH=ON \
-DDocBookXSL_DIR=/usr/share/xml/docbook/xsl-stylesheets-1.79.2-nons
}
build () {
cmake --build build
}
package () {
INSTALL_ROOT="$DESTDIR" cmake --install build
}