blob: 079ae2dc74f1a85b9501dfb5180cbcbb4cf46b40 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Contributor: knuxify <knuxify@gmail.com>
# Maintainer: knuxify <knuxify@gmail.com>
pkgname=xdg-desktop-portal-gnome
pkgver=42.3
pkgrel=0
pkgdesc="A backend implementation for xdg-desktop-portal for the GNOME desktop environment"
url="https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome"
arch="all !riscv64 !s390x" # blocked by gtk4.0
license="LGPL-2.1-or-later"
depends="xdg-desktop-portal xdg-desktop-portal-gtk"
makedepends="
gnome-desktop-dev
gsettings-desktop-schemas-dev
gtk4.0-dev
libadwaita-dev
meson
"
subpackages="$pkgname-lang"
source="https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/archive/$pkgver/xdg-desktop-portal-gnome-$pkgver.tar.gz
add-option-to-disable-systemd-service-file-build.patch
"
options="!check" # no tests
build() {
abuild-meson . output
meson compile ${JOBS:+-j ${JOBS}} -C output
}
check() {
meson test --no-rebuild --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
rm -rf "$pkgdir"/usr/lib/systemd
}
sha512sums="
00eff9b945e946e46519d9c8d01cba128eb8e74a4864c2ecca80a811353ced493045bd5c0e56c8ffbd4988519a2d8d108eb847ac7911aabf8e36c047c3ad6c73 xdg-desktop-portal-gnome-42.3.tar.gz
dfbd619bdda8f733476b8b541544e71122941ccc14efbda510c7b991e4f9dadf036e326d4f45ece12d72a0ae2e5e71271a916d4c08aa26fdfd0efe8e56937eff add-option-to-disable-systemd-service-file-build.patch
"
|