summaryrefslogblamecommitdiff
path: root/user/plasma-integration/APKBUILD
blob: 3b4116ae0b95cc11e08ed0ff551184e93f706f62 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                  
                                                     
                          
              
        


                                             
                                                    
                                                                                                                                                            
                         
                                                                            

                                                                            
                                                              
                           
                                                                                           

         











                                                                                          
                                    



            



                                          


                                      
                                                                                                                                                                                
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox-kde@adelielinux.org>
pkgname=plasma-integration
pkgver=5.17.90
pkgrel=0
pkgdesc="Qt platform theme plugin for Plasma"
url="https://www.kde.org/"
arch="all"
options="!check"  # Times out, requires X11 desktop.
license="(LGPL-2.1-only OR LGPL-3.0-only) AND LGPL-2.1-only AND ((LGPL-2.1-only WITH Nokia-Qt-exception-1.1) OR (GPL-3.0-only WITH Nokia-Qt-exception-1.1))"
depends="breeze ttf-noto"
makedepends="cmake extra-cmake-modules python3 qt5-qtbase-dev libxcursor-dev
	qt5-qtx11extras-dev kconfig-dev kconfigwidgets-dev ki18n-dev kio-dev
	kiconthemes-dev knotifications-dev kwayland-dev	kwidgetsaddons-dev
	kwindowsystem-dev breeze-dev qt5-qtquickcontrols2-dev"
subpackages="$pkgname-lang"
source="https://download.kde.org/unstable/plasma/$pkgver/plasma-integration-$pkgver.tar.xz"

build() {
	if [ "$CBUILD" != "$CHOST" ]; then
		CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
	fi
	cmake \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DBUILD_SHARED_LIBS=True \
		-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
		-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
		-DCMAKE_C_FLAGS="$CFLAGS" \
		-DCMAKE_DISABLE_FIND_PACKAGE_FontNotoSans=true \
		-DCMAKE_DISABLE_FIND_PACKAGE_FontHack=true \
		${CMAKE_CROSSOPTS} .
	make
}

check() {
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="a958c1d5817cc36ba6b62184d6b9ce7cc486a47334e93d00b50404d2a9940985eab616e58c1aceba0d20f81480baaf5804cbc160c3efcd60c35ac705fe6d51c9  plasma-integration-5.17.90.tar.xz"