aboutsummaryrefslogblamecommitdiffstats
path: root/community/ktextwidgets/APKBUILD
blob: 7f765cbfd770935cdccaa98fc09193c15fa98d68 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                  
             
        
                                       
                                                        

                                          
                                                                                                                                                  
                                                                      
                       
                                                                                            
                                                     

         
                        
                                         


                                             
                           


         
                
                                                   


           
                                                              
 
                                                                                                                                                                         
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=ktextwidgets
pkgver=5.70.0
pkgrel=0
pkgdesc="Advanced text editing widgets"
arch="all !armhf" # armhf blocked by extra-cmake-modules
url="https://community.kde.org/Frameworks"
license="LGPL-2.1-or-later"
depends_dev="qt5-qtspeech-dev kcompletion-dev kconfig-dev kconfigwidgets-dev ki18n-dev kiconthemes-dev kservice-dev kwidgetsaddons-dev sonnet-dev"
makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/ktextwidgets-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DBUILD_QCH=ON
	cmake --build build
}

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}
sha512sums="97480c1bcab3e1a27b66fefe2103d1caa5e515699b0fe9adf4936ffaec4ffbafa32a6b84072de8181d914327aae5440dd4cb8ae99b1faec7e6fb070de308259e  ktextwidgets-5.70.0.tar.xz"