1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
8 pkgdesc='Additional components to increase the functionality of KIO'
10 url='https://www.kde.org/'
12 depends=(kio kdnssd libssh smbclient libmtp phonon-qt5 syntax-highlighting kdsoap-ws-discovery-client libxcursor)
13 makedepends=(extra-cmake-modules kdoctools gperf taglib libappimage openexr kactivities-stats)
14 optdepends=('qt5-imageformats: thumbnails for additional image formats' 'perl: info kioslave'
15 'kimageformats: thumbnails for additional image formats' 'taglib: audio file thumbnails'
16 'libappimage: AppImage thumbnails' 'icoutils: Windows executable thumbnails'
17 'openexr: EXR format thumbnails' 'kactivities-stats: recently used kioslave')
18 groups=(kde-applications kde-network)
19 source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig}
20 https://invent.kde.org/network/kio-extras/-/commit/afe11f24.patch)
21 sha256sums=('e6789828e2fb1a38b7633ad1de8ce9ae9296ebee5cfe12f09e8989c06b8472c6'
23 '8de7ec1e47d852bacd41e4412aacbe539328e004eaa3f74351adc5aa4ee3e131')
24 validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aacid@kde.org>
25 F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87 # Christoph Feck <cfeck@kde.org>
26 D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heiko.becker@kde.org>
30 patch -d $pkgname-$pkgver -p1 < afe11f24.patch # Fix dir mime type on fish
34 cmake -B build -S $pkgname-$pkgver \
35 -DLIBAPPIMAGE_LIBRARIES=libappimage.so \
36 -DCMAKE_INSTALL_LIBEXECDIR=lib \
42 DESTDIR="$pkgdir" cmake --install build