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


                                                  
             
        
                                                 
                                                                                           

                                                                                  




























                           
                       



                                                                                  
                                                     
                                                                                                   

         
                        
                                         


                                             
                           


         
                
                                                   


           
                                                              
 


                                                                                                                                                                                                 
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kio
pkgver=5.74.0
pkgrel=0
pkgdesc="Resource and network access abstraction"
arch="all !armhf !s390x" # armhf blocked by extra-cmake-modules and s390x blocked by polkit
url="https://community.kde.org/Frameworks"
license="LGPL-2.1-only AND LGPL-2.1-or-later AND (LGPL-2.1-only OR LGPL-3.0-only)"
depends_dev="
	karchive-dev
	kbookmarks-dev
	kcompletion-dev
	kconfig-dev
	kconfigwidgets-dev
	kcoreaddons-dev
	kcrash-dev
	kdbusaddons-dev
	ki18n-dev
	kiconthemes-dev
	kitemviews-dev
	kjobwidgets-dev
	knotifications-dev
	kservice-dev
	kwallet-dev
	kwidgetsaddons-dev
	kwindowsystem-dev
	qt5-qtscript-dev
	solid-dev
	"
makedepends="$depends_dev
	doxygen
	extra-cmake-modules
	kdoctools-dev
	libxml2-dev
	libxslt-dev
	qt5-qttools-dev
	"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kio-$pkgver.tar.xz
	0001-remove-old-kio_fonts-hack.patch
	0002-accomodate-local-protocols-that-use-hostname-in-url.patch
	"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
options="!check" # Fails due to requiring physical devices not normally available and test 14 hangs

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DBUILD_QCH=ON
	cmake --build build
}

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

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}
sha512sums="f7bcc25bf131debb67c7ae1787d17280c6e4f7098a6c807a657f9313d1f72607e35ebb71d1ae3789253d5298d7a7546a7bc5c7af6095a7c2e886360dd9b64f92  kio-5.74.0.tar.xz
3af4673da70fc530dc204098c0901fb3d1ca5b0aa27e0924da00b411dadd1aa63fc2829d00eafbbfb8dd4c4ba94dde30a9067898a142c5ace81e272798aa689a  0001-remove-old-kio_fonts-hack.patch
be464b71b9e5168373ae3fdc50201dc19324255d598961593fdd1a99edc3cc70e57f93226844d1bf75409eb955c5cbe29ba57736020f8ef7633cbc302fde0f0a  0002-accomodate-local-protocols-that-use-hostname-in-url.patch"