blob: 264ea0b842aa78d3e53b9168ebccb9fd62e58485 (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# Contributor: Marcell Meszaros < marcell.meszaros AT runbox.eu >
# Contributor: Kevin Majewski < kevin.majewski02 AT gmail.com >
# Contributor: Jeremy Kescher < jeremy AT kescher.at >
pkgname=xdg-desktop-portal-git
_pkgname="${pkgname%-git}"
pkgver=1.18.1.r115.gb1a3d1e
pkgrel=1
pkgdesc="Desktop integration portals for sandboxed apps"
url="https://github.com/flatpak/${_pkgname}"
arch=(x86_64)
license=(LGPL)
depends=(
fuse3
gdk-pixbuf2
geoclue
glib2
pipewire
rtkit
systemd
)
makedepends=(
docbook-xsl
flatpak
git
libportal
meson
python-pytest
python-dbus
python-dbusmock
python-sphinx
python-sphinx-copybutton
python-sphinx-furo
python-sphinxext-opengraph
xmlto
)
provides=("${_pkgname}=${pkgver}")
conflicts=("${_pkgname}")
source=("git+https://github.com/flatpak/${_pkgname}")
b2sums=('SKIP')
pkgver() {
cd "${_pkgname}"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
arch-meson "${_pkgname}" build
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
depends+=(xdg-desktop-portal-impl)
meson install -C build --destdir "$pkgdir"
}
|