systemd/systemd-services: include xdg-desktop-portal-phosh user service (MR 5808) (MR 5563)

Upstream: https://gitlab.gnome.org/guidog/xdg-desktop-portal-phosh/-/blob/main/data/xdg-desktop-portal-phosh.service.in

[ci:skip-build]: already built successfully in CI
This commit is contained in:
fossdd 2024-11-17 00:58:38 +01:00 committed by Oliver Smith
parent e2e646cac5
commit b242c181e5
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
2 changed files with 16 additions and 2 deletions

View file

@ -6,8 +6,8 @@
# How to add a new service file (5 steps):
pkgname=systemd-services
# 1. bump pkgver
pkgver=24
pkgrel=1
pkgver=25
pkgrel=0
pkgdesc="Systemd service files"
url="https://postmarketos.org"
arch="noarch"
@ -56,6 +56,7 @@ subpackages="
wpa_supplicant-systemd:_service
xdg-desktop-portal-gnome-systemd:_service
xdg-desktop-portal-gtk-systemd:_service
xdg-desktop-portal-phosh-systemd:_service
xdg-desktop-portal-systemd:_service
xdg-desktop-portal-wlr-systemd:_service
"
@ -114,6 +115,7 @@ _xdg_desktop_portal_sources="
user/xdg-permission-store.service
"
_xdg_desktop_portal_gtk_sources="user/xdg-desktop-portal-gtk.service"
_xdg_desktop_portal_phosh_sources="user/xdg-desktop-portal-phosh.service"
_xdg_desktop_portal_gnome_sources="user/xdg-desktop-portal-gnome.service"
_xdg_desktop_portal_wlr_sources="user/xdg-desktop-portal-wlr.service"
@ -163,6 +165,7 @@ source="$(flatpath \
$_wpa_supplicant_sources \
$_xdg_desktop_portal_gnome_sources \
$_xdg_desktop_portal_gtk_sources \
$_xdg_desktop_portal_phosh_sources \
$_xdg_desktop_portal_sources \
$_xdg_desktop_portal_wlr_sources \
)"
@ -284,5 +287,6 @@ e09a3c76f3be961dce9f564bb654ea84d1d7fb59907a2168c0569bf6c17a5ebe9fbe4d1f94f1d014
1262f10b97989be726432700a923d7717570feb7b0d78c3c573e21ee6be320f5a618d0d21c1eb351702397caa95b476b8854bf83545993fb464b4a7a80067800 user-xdg-permission-store.service
eb01dd32fc598e49cbae31847aee4c3e28ee5014df052d65ad02c9a943a9e3399a4a119aa136630efef1157e31f6adc2d8420f8e72dc9da4c0b72645e4c84faa user-xdg-desktop-portal-gtk.service
0ee2f844819c5f954d269d3703c17b5e51888bb89bd4376d3960f97735b1ba9769c932817270fdb75b8ddf291c21ab6eb78d1a8bde14aac83564881b36914066 user-xdg-desktop-portal-gnome.service
7d45e305a54417a0afdcc7553dec2d43930b07c12fdbce240bd7d5b89a7653b16baabdf2d7c6dd38649925224f0d73cccf2b8024657b62d47b75c6d9ce46ac20 user-xdg-desktop-portal-phosh.service
744c60fdc6e53ba2c9f370ce8462e1a420cfea973edff49d0caf7a3e65f0f35257d61b5ae3ace3e9d9d48e382cb54d9f2ff96ad02d5e16758a49ba2e07963e5a user-xdg-desktop-portal-wlr.service
"

View file

@ -0,0 +1,10 @@
[Unit]
Description=Portal service (Phosh implementation)
After=graphical-session.target
PartOf=graphical-session.target
ConditionEnvironment=WAYLAND_DISPLAY
[Service]
Type=dbus
BusName=org.freedesktop.impl.portal.desktop.phosh
ExecStart=/usr/lib/xdg-desktop-portal-phosh