From 10ff99f185cf068e1d488dedc3b2afc2bff92882 Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Fri, 21 Jun 2019 14:54:12 +0200 Subject: testing/xdg-desktop-portal-kde: new aport --- testing/xdg-desktop-portal-kde/APKBUILD | 34 +++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 testing/xdg-desktop-portal-kde/APKBUILD (limited to 'testing/xdg-desktop-portal-kde') diff --git a/testing/xdg-desktop-portal-kde/APKBUILD b/testing/xdg-desktop-portal-kde/APKBUILD new file mode 100644 index 0000000000..b13ddc7950 --- /dev/null +++ b/testing/xdg-desktop-portal-kde/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Rasmus Thomsen +# Maintainer: Rasmus Thomsen +pkgname=xdg-desktop-portal-kde +pkgver=5.16.1 +pkgrel=0 +pkgdesc="Qt/KF5 implementation of xdg-desktop-portal" +url="https://phabricator.kde.org/source/xdg-desktop-portal-kde" +arch="all" +license="GPL-3.0-or-later" +makedepends="cmake qt5-qtbase-dev glib-dev kio-dev kwayland-dev libepoxy-dev + pipewire-dev kcoreaddons xdg-desktop-portal extra-cmake-modules cups-dev" +subpackages="$pkgname-lang" +source="https://download.kde.org/stable/plasma/$pkgver/xdg-desktop-portal-kde-$pkgver.tar.xz" + +build() { + if [ "$CBUILD" != "$CHOST" ]; then + CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" + fi + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=True \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_FLAGS="$CFLAGS" \ + ${CMAKE_CROSSOPTS} . + make +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="dd7390232dc10100937993d77c7e509a33968f22da6646f678e33f7a898d0408cb4f78b2349edd697c3e4faffcbcc36d1df8588caa3f65bbe15e32abc5509af6 xdg-desktop-portal-kde-5.16.1.tar.xz" -- cgit v1.2.3