aboutsummaryrefslogtreecommitdiffstats
path: root/community/xdg-desktop-portal-kde/APKBUILD
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-10-18 16:13:36 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-10-20 12:24:41 -0300
commitb3553abc60cd45495f8a252a5a06ca25c6749952 (patch)
tree89dc4e90e78d313a485ccb0fd7264c132d9d4381 /community/xdg-desktop-portal-kde/APKBUILD
parent9a177212eb91a159b575312d0824a790ad551adf (diff)
downloadaports-b3553abc60cd45495f8a252a5a06ca25c6749952.tar.bz2
aports-b3553abc60cd45495f8a252a5a06ca25c6749952.tar.xz
community/plasma: upgrade to 5.17.0
Diffstat (limited to 'community/xdg-desktop-portal-kde/APKBUILD')
-rw-r--r--community/xdg-desktop-portal-kde/APKBUILD31
1 files changed, 16 insertions, 15 deletions
diff --git a/community/xdg-desktop-portal-kde/APKBUILD b/community/xdg-desktop-portal-kde/APKBUILD
index 0347be0a58..c057eaf1dd 100644
--- a/community/xdg-desktop-portal-kde/APKBUILD
+++ b/community/xdg-desktop-portal-kde/APKBUILD
@@ -1,34 +1,35 @@
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=xdg-desktop-portal-kde
-pkgver=5.16.5
+pkgver=5.17.0
pkgrel=0
-pkgdesc="Qt/KF5 implementation of xdg-desktop-portal"
+pkgdesc="A backend implementation for xdg-desktop-portal that is using Qt/KDE"
url="https://phabricator.kde.org/source/xdg-desktop-portal-kde"
arch="all"
-license="GPL-3.0-or-later"
+license="LGPL-2.0-or-later"
makedepends="extra-cmake-modules qt5-qtbase-dev glib-dev kio-dev kwayland-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"
+prepare() {
+ default_prepare
+
+ mkdir "$builddir"/build
+}
+
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 \
+ cd "$builddir"/build
+ cmake "$builddir" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
- -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
- -DCMAKE_C_FLAGS="$CFLAGS" \
- ${CMAKE_CROSSOPTS} .
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
make
}
package() {
- make DESTDIR="$pkgdir" install
+ cd "$builddir"/build
+ DESTDIR="$pkgdir" make install
}
-sha512sums="381298cc001795902343512f8bb08c363acfb6e3ef398e0f170f305572ca9a5caaf458e85b6f48ac84bcd963a34e535c666b0ddc1bb910a894a8b8de8801467e xdg-desktop-portal-kde-5.16.5.tar.xz"
+sha512sums="69bda957d1a896d9068869a50750da9915e5abf3d2a7d5433a842326e8ecea6a040e7a7353890c6c0a78f92ff918a44386326bc2dde2bfc2fa5e4a7576e99ab2 xdg-desktop-portal-kde-5.17.0.tar.xz"