aboutsummaryrefslogblamecommitdiffstats
path: root/community/plasma-desktop/APKBUILD
blob: 63424deac64162d1ea1389209338f7275ff6bc27 (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-desktop
pkgver=5.18.2
pkgrel=0
pkgdesc="KDE Plasma Desktop"
# s390x blocked by ibus
# armhf blocked by qt5-qtdeclarative
arch="all !s390x !armhf"
url='https://www.kde.org/workspaces/plasmadesktop/'
license="GPL-2.0-only AND LGPL-2.1-only"
depends="kirigami2 plasma-workspace setxkbmap qqc2-desktop-style ibus-emoji"
depends_dev="
	qt5-qtbase-dev
	qt5-qtdeclarative-dev
	qt5-qtx11extras-dev
	qt5-qtsvg-dev
	kauth-dev
	plasma-framework-dev
	ki18n-dev
	kcmutils-dev
	knewstuff-dev
	kdelibs4support-dev
	knotifications-dev
	knotifyconfig-dev
	attica-dev
	kwallet-dev
	krunner-dev
	kglobalaccel-dev
	kdeclarative-dev
	kpeople-dev
	kdbusaddons-dev
	kactivities-dev
	kactivities-stats-dev
	kconfig-dev
	plasma-workspace-dev
	kwin-dev
	kitemmodels-dev
	kemoticons-dev
	baloo-dev
	fontconfig-dev
	eudev-dev
	xf86-input-libinput-dev
	xf86-input-evdev-dev
	xf86-input-synaptics-dev
	libxkbfile-dev
	libxcursor-dev
	libxi-dev
	ibus-dev
	"
makedepends="$depends_dev extra-cmake-modules kdoctools-dev"
checkdepends="xvfb-run iso-codes"
source="https://download.kde.org/stable/plasma/$pkgver/plasma-desktop-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang knetattach"
options="!check" # Requires running dbus

build() {
	cmake -B "$builddir"/build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make -C build
}

check() {
	cd "$builddir"/build
	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
}

package() {
	DESTDIR="$pkgdir" make -C build install

	rm "$pkgdir"/usr/bin/knetattach
	rm "$pkgdir"/usr/share/applications/org.kde.knetattach.desktop
}

knetattach() {
	pkgdesc="Wizard which makes it easier to integrate network resources with the Plasma Desktop"
	depends="kdelibs4support"

	cd "$builddir"/build/knetattach
	DESTDIR="$subpkgdir" make install
}
sha512sums="3f850eb9ab6f7a7ee86b11d024a0e9c5552fbfb24a17502bca141bd01e52a99a509e64669abd708ec7a2617fcbb5c65eaa401084388a812785573ed1c5f9c097  plasma-desktop-5.18.2.tar.xz"