pmaports/temp/xdg-desktop-portal-kde/APKBUILD

50 lines
1.3 KiB
Text
Raw Normal View History

# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=xdg-desktop-portal-kde
pkgver=5.20.90
pkgrel=0
pkgdesc="A backend implementation for xdg-desktop-portal that is using Qt/KDE"
# armhf blocked by extra-cmake-modules
# s390x blocked by rust and pipewire
arch="all !armhf !s390x"
arch="$arch !mips !mips64 !s390x" # xdg-desktop-portal->flatpak->polkit
url="https://phabricator.kde.org/source/xdg-desktop-portal-kde"
license="LGPL-2.0-or-later"
depends="xdg-desktop-portal"
makedepends="
cups-dev
extra-cmake-modules
glib-dev
kcoreaddons-dev
kdeclarative-dev
kio-dev
kirigami2-dev
kwayland-dev
libepoxy-dev
pipewire-dev
plasma-framework-dev
plasma-wayland-protocols
qt5-qtbase-dev
"
subpackages="$pkgname-lang"
case "$pkgver" in
*.90*) _rel=unstable;;
*) _rel=stable;;
esac
source="https://download.kde.org/$_rel/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 --install build
}
sha512sums="77e5a69350107104cc344f4bc677dc4a7436e4a796d8653e9ce9ca973a9cee3b7e809646ecad30b503feb358c92dfb05a53c395e88fff5bebe8c2d198e0e3a5f xdg-desktop-portal-kde-5.20.90.tar.xz"