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


                                                  
              
        
                                                        


                                                 
                            




                                                                                 
                                                             
                            
                                                                                           
                                                     

         
                        
                                         

                                             
                           


         
                

                                                                                                               


           
                                                              

 
                                                                                                                                                                     
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=dolphin
pkgver=20.04.2
pkgrel=0
arch="all !armhf" # armhf blocked by extra-cmake-modules
url="https://kde.org/applications/system/dolphin"
pkgdesc="KDE File Manager"
license="GPL-2.0-only"
depends="udisks2 kio-extras"
depends_dev="qt5-qtbase-dev kdoctools-dev kinit-dev kcmutils-dev knewstuff-dev
	kcoreaddons-dev ki18n-dev kdbusaddons-dev kbookmarks-dev kconfig-dev
	kio-dev kparts-dev solid-dev kiconthemes-dev kcompletion-dev
	ktextwidgets-dev knotifications-dev kcrash-dev kwindowsystem-dev
	phonon-dev baloo-dev baloo-widgets-dev kfilemetadata-dev kactivities-dev"
makedepends="$depends_dev extra-cmake-modules ruby-test-unit"
checkdepends="xvfb-run dbus"
source="https://download.kde.org/stable/release-service/$pkgver/src/dolphin-$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
	# kfileitemmodeltest, placesitemmodeltest and dolphinmainwindowtest are broken
	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "(kfileitemmodel|placesitemmodel|dolphinmainwindow)test"
}

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

sha512sums="7896dcbd8a476b4c1c6ff4d6b0696c345aad8fd3611f7dedd9ec412d1bab9579651ce72c3802c83adbde373b9df400116ba785e0c7b4d905b6f79d60a5547802  dolphin-20.04.2.tar.xz"