Skip to content

Commit 4db2e7a

Browse files
committed
ui: Add portal configuration file
1 parent 4af3fec commit 4db2e7a

3 files changed

Lines changed: 14 additions & 2 deletions

File tree

meson.build

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,16 @@ meson.add_dist_script(
2828
meson.project_source_root(),
2929
)
3030

31+
# Libs and executables
3132
subdir('credentialsd-common')
3233
subdir('credentialsd')
3334
subdir('credentialsd-ui')
35+
36+
# Data files
37+
subdir('doc')
3438
subdir('dbus')
39+
subdir('portal')
3540
subdir('systemd')
3641
subdir('webext')
37-
subdir('doc')
38-
subdir('demo_client')
42+
43+
subdir('demo_client')

portal/credentialsd.portal

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[portal]
2+
DBusName=xyz.iinuwa.credentialsd.UiControl
3+
Interfaces=org.freedesktop.impl.portal.experimental.Credential

portal/meson.build

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
install_data(
2+
'credentialsd.portal',
3+
install_dir: datadir / 'xdg-desktop-portal/portals/',
4+
)

0 commit comments

Comments
 (0)