aboutsummaryrefslogblamecommitdiffstats
path: root/community/xdg-desktop-portal-kde/APKBUILD
blob: f54d25a2107fa239d215bf52dd0f5e089f96e87b (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.19.3
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="6fe8d6b62fc4439cdee0ce3ea9d94049c573efeeaa0b778ea35ffdba517002698088bccec9ad0722a0fc2e4a1ad89ed463c2d4f4cc660f1b785702e1c2f3b3f2  xdg-desktop-portal-kde-5.19.3.tar.xz"