aboutsummaryrefslogblamecommitdiffstats
path: root/community/kdesignerplugin/APKBUILD
blob: 3e4aa6fdf7fd299b9f6601f75b752db7be73a664 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                                  
             
        
                                                                  
                                                        



                                                                                                                                                                                            
                       
                                                                                                           
                                                     

         
                        
                                         

                                             
                           


         
                
                                                   

 
           
                                                              

 
                                                                                                                                                                            
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kdesignerplugin
pkgver=5.70.0
pkgrel=0
pkgdesc="Integration of Frameworks widgets in Qt Designer/Creator"
arch="all !armhf" # armhf blocked by extra-cmake-modules
url="https://community.kde.org/Frameworks"
license="LGPL-2.1-only"
depends_dev="kcoreaddons-dev kconfig-dev kcompletion-dev kconfigwidgets-dev kiconthemes-dev kio-dev kitemviews-dev kplotting-dev ktextwidgets-dev kwidgetsaddons-dev kxmlgui-dev sonnet-dev"
makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev kdoctools-dev"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/portingAids/kdesignerplugin-$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
	cmake --build build
}

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

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}

sha512sums="756ec5b2b13d1084cd57009eec0034333ecca5c4bfb0dcea93f2e9f90db59aa97d3d11b113a5ebc0ad394a6ab21eec135fa544efd12f9a5d50ab2a617d61be85  kdesignerplugin-5.70.0.tar.xz"