aboutsummaryrefslogblamecommitdiffstats
path: root/community/plasma-phone-components/APKBUILD
blob: 9a12b833fea7db1950cb2d84c82b1063d43dc936 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                  
             
        



                                                          
                                                                                                                                               
                                                                                                                                                                                                                                                                                                                                                                                                                                                       
                                                                 
                                                                                              


                           
                        
                                         

                                             
                           


         
                



                                          
                                                              
 






                                                                   
                                                                                                                                                                                    
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-phone-components
pkgver=5.19.2
pkgrel=1
pkgdesc="Modules providing phone functionality for Plasma"
arch="all !armhf"
url="https://www.plasma-mobile.org/"
license="GPL-2.0-or-later AND LGPL-2.1-or-later"
depends="plasma-nano qt5-qtquickcontrols2 plasma-workspace dbus-x11 kactivities plasma-pa plasma-nm libqofono breeze-icons $pkgname-vkbd-style"
makedepends="extra-cmake-modules kpeople-dev qt5-qtdeclarative-dev kactivities-dev plasma-framework-dev kservice-dev kdeclarative-dev ki18n-dev kio-dev kcoreaddons-dev kconfig-dev kbookmarks-dev kwidgetsaddons-dev kcompletion-dev kitemviews-dev kjobwidgets-dev solid-dev kxmlgui-dev kconfigwidgets-dev kauth-dev kcodecs-dev kpackage-dev kwindowsystem-dev kdbusaddons-dev knotifications-dev kwayland-dev telepathy-qt-dev libphonenumber-dev"
subpackages="$pkgname-lang $pkgname-vkbd-style:vkbd_style:noarch"
source="https://download.kde.org/stable/plasma/$pkgver/plasma-phone-components-$pkgver.tar.xz"
options="!check" # No tests

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 ctest
}

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

vkbd_style() {
	depends=""
	pkgdesc="Plasma Mobile style for Qt virtual keyboard"

	amove usr/lib/qt5/qml/QtQuick/VirtualKeyboard/Styles/Plasma
}
sha512sums="6a8e1b6cfe9696530972adc08fdef617ae4b93cfb1319a819e4c65fbf12bc0cdcd6c6b28fd1e51053968f38607590dc3341b048eca87c95cf00e70d50b7599c1  plasma-phone-components-5.19.2.tar.xz"