diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2019-06-21 14:54:12 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-21 11:06:50 -0300 |
commit | 10ff99f185cf068e1d488dedc3b2afc2bff92882 (patch) | |
tree | db6df63b8c4299f47ec047b454b11b03cae7953e /testing/xdg-desktop-portal-kde | |
parent | caa5174430c1381d3a16a098894c79e607ae1b59 (diff) | |
download | aports-10ff99f185cf068e1d488dedc3b2afc2bff92882.tar.bz2 aports-10ff99f185cf068e1d488dedc3b2afc2bff92882.tar.xz |
testing/xdg-desktop-portal-kde: new aport
Diffstat (limited to 'testing/xdg-desktop-portal-kde')
-rw-r--r-- | testing/xdg-desktop-portal-kde/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
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 <oss@cogitri.dev> +# Maintainer: Rasmus Thomsen <oss@cogitri.dev> +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" |