Package Details: xdg-desktop-portal-kde-git 20190109.011ae60-1

Git Clone URL: https://aur.archlinux.org/xdg-desktop-portal-kde-git.git (read-only, click to copy)
Package Base: xdg-desktop-portal-kde-git
Description: A backend implementation for xdg-desktop-portal that is using Qt/KDE.
Upstream URL: https://github.com/KDE/xdg-desktop-portal-kde
Licenses: GPL
Conflicts: xdg-desktop-portal-kde
Provides: xdg-desktop-portal-impl, xdg-desktop-portal-kde
Submitter: piotr212
Maintainer: ami_ba
Last Packager: drew33
Votes: 2
Popularity: 0.000000
First Submitted: 2017-02-11 11:26 (UTC)
Last Updated: 2021-02-22 14:35 (UTC)

Required by (19)

Sources (1)

Latest Comments

Treetrain1 commented on 2024-10-27 05:42 (UTC)

pkgname=xdg-desktop-portal-kde-git
_pkgname=xdg-desktop-portal-kde
pkgver=20241027.3b409b9
pkgrel=1
pkgdesc='A backend implementation for xdg-desktop-portal that is using Qt/KDE.'
url='https://github.com/KDE/xdg-desktop-portal-kde'
license=('LGPL')
arch=('x86_64')
depends=('xdg-desktop-portal') # Are you sure? in non-git version they are: depends=(kirigami2 plasma-framework)
makedepends=('extra-cmake-modules' 'plasma-wayland-protocols' 'wayland-protocols')
source=('git+https://github.com/KDE/xdg-desktop-portal-kde.git')
sha1sums=('SKIP')
conflicts=('xdg-desktop-portal-kde')
provides=('xdg-desktop-portal-impl' 'xdg-desktop-portal-kde')
install=install

pkgver() { 
    cd "${srcdir}/${_pkgname}"
    git log -1 --format='%cd.%h' --date=short | tr -d - 
}

build() {
  cmake -B build -S $_pkgname \
    -DCMAKE_INSTALL_LIBEXECDIR=lib \
    -DBUILD_TESTING=OFF
  cmake --build build
}

package() { 
    DESTDIR="$pkgdir" cmake --install build
}

Ashark commented on 2022-01-19 13:02 (UTC) (edited on 2022-01-19 14:19 (UTC) by Ashark)

pkgname=xdg-desktop-portal-kde-git
_pkgname=xdg-desktop-portal-kde
pkgver=20220118.551c583
pkgrel=1
pkgdesc='A backend implementation for xdg-desktop-portal that is using Qt/KDE.'
url='https://github.com/KDE/xdg-desktop-portal-kde'
license=('LGPL')
arch=('x86_64')
depends=('xdg-desktop-portal') # Are you sure? in non-git version they are: depends=(kirigami2 plasma-framework)
makedepends=('extra-cmake-modules' 'plasma-wayland-protocols')
source=('git://github.com/KDE/xdg-desktop-portal-kde.git')
sha1sums=('SKIP')
conflicts=('xdg-desktop-portal-kde')
provides=('xdg-desktop-portal-impl' 'xdg-desktop-portal-kde')
install=install

pkgver() { 
    cd "${srcdir}/${_pkgname}"
    git log -1 --format='%cd.%h' --date=short | tr -d - 
}

build() {
  cmake -B build -S $_pkgname \
    -DCMAKE_INSTALL_LIBEXECDIR=lib \
    -DBUILD_TESTING=OFF
  cmake --build build
}

package() { 
    DESTDIR="$pkgdir" cmake --install build
}

katoitalia commented on 2021-04-05 21:43 (UTC) (edited on 2021-04-05 21:48 (UTC) by katoitalia)

hi @drew33 this fails to compile, figured it out tho making a few changes, feel free to change PKGBUILD as follows:

<h1>Maintainer: Drew33 public@rembrandt.dev</h1>

pkgname=xdg-desktop-portal-kde-git _pkgname=xdg-desktop-portal-kde pkgver=20210327.1138af1 pkgrel=1 pkgdesc='A backend implementation for xdg-desktop-portal that is using Qt/KDE.' url='https://github.com/KDE/xdg-desktop-portal-kde' license=('GPL') arch=('x86_64') makedepends=('cmake' 'extra-cmake-modules' 'plasma-wayland-protocols') depends=('xdg-desktop-portal') source=('git://github.com/KDE/xdg-desktop-portal-kde.git') sha1sums=('SKIP') conflicts=('xdg-desktop-portal-kde') provides=('xdg-desktop-portal-impl' 'xdg-desktop-portal-kde') install=install

pkgver() { cd "${srcdir}/${_pkgname}" git log -1 --format='%cd.%h' --date=short | tr -d - }

prepare() { cd "${srcdir}"

}

build() { cd $_pkgname mkdir build cd build cmake \ -DCMAKE_INSTALL_PREFIX="$srcdir"/$_pkgname/install .. make -j$(($(nproc)+1)) make install }

package() { cd $_pkgname/build make DESTDIR=$srcdir install

piotr212 commented on 2020-11-19 16:32 (UTC)

I am sorry but I don't use Arch currently so I can't fix that. Disowned.

unusual_thoughts commented on 2020-11-17 13:46 (UTC)

missing makedepend: plasma-wayland-protocols

CounterPillow commented on 2019-01-10 17:29 (UTC)

or rather, it should be

provides=('xdg-desktop-portal-impl' 'xdg-desktop-portal-kde')

as to not break plasma-meta

CounterPillow commented on 2019-01-10 17:25 (UTC)

provides should be provides=(xdg-desktop-portal-impl)

<deleted-account> commented on 2018-12-17 06:24 (UTC)

flatpak is not needed, see https://github.com/KDE/xdg-desktop-portal-kde/commit/23b11bf6c4938cd382567b91f0d783b96ef7ea69 .