aboutsummaryrefslogblamecommitdiffstats
path: root/community/xdg-desktop-portal-kde/APKBUILD
blob: 8eedf70d8364578bbe21d2596170e6c1741dc456 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                               
                                                 
                              
             
        
                                                                              
                                                        
                                                               
                           
                            


                                                                             
                           
                                                                                             

         
                        
                                         

                                             
                           


           
                                                              

 
                                                                                                                                                                                   
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=xdg-desktop-portal-kde
pkgver=5.18.5
pkgrel=0
pkgdesc="A backend implementation for xdg-desktop-portal that is using Qt/KDE"
arch="all !armhf" # armhf blocked by extra-cmake-modules
url="https://phabricator.kde.org/source/xdg-desktop-portal-kde"
license="LGPL-2.0-or-later"
depends="xdg-desktop-portal"
makedepends="extra-cmake-modules qt5-qtbase-dev glib-dev kio-dev kwayland-dev
	kdeclarative-dev kirigami2-dev kcoreaddons-dev plasma-framework-dev
	libepoxy-dev pipewire-dev kcoreaddons xdg-desktop-portal cups-dev"
subpackages="$pkgname-lang"
source="https://download.kde.org/stable/plasma/$pkgver/xdg-desktop-portal-kde-$pkgver.tar.xz"

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

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

sha512sums="2380250e4d159b69a518e6cffc0f9310386683d7d852ac9b5d6c63390ccf95f325197d3a6e27482b17602d0ce7e69bd12262dceaf178ce93a81f7ad6f95d7f6a  xdg-desktop-portal-kde-5.18.5.tar.xz"