diff options
| author | raveit65 <[email protected]> | 2023-09-14 12:13:19 +0200 | 
|---|---|---|
| committer | raveit65 <[email protected]> | 2023-09-15 09:42:29 +0200 | 
| commit | 287fdce6d43086d4610f294a8cff759fb58eeabb (patch) | |
| tree | 1ad94304696a2fdad5aa62511516828a3c0a2282 | |
| parent | 0d811ab11128b7473ac762391321a24efe6095ab (diff) | |
| download | mate-desktop-287fdce6d43086d4610f294a8cff759fb58eeabb.tar.bz2 mate-desktop-287fdce6d43086d4610f294a8cff759fb58eeabb.tar.xz  | |
add xdg-desktop-portal config file
| -rw-r--r-- | Makefile.am | 2 | ||||
| -rw-r--r-- | configure.ac | 1 | ||||
| -rw-r--r-- | meson.build | 1 | ||||
| -rw-r--r-- | xdg-portal/Makefile.am | 5 | ||||
| -rw-r--r-- | xdg-portal/mate-portals.conf | 3 | ||||
| -rw-r--r-- | xdg-portal/meson.build | 4 | 
6 files changed, 15 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 6be0d84..c8e9064 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,4 @@ -SUBDIRS = libmate-desktop man docs schemas tools icons po +SUBDIRS = libmate-desktop man docs schemas tools icons po xdg-portal  if MATE_ABOUT_ENABLED  SUBDIRS += mate-about diff --git a/configure.ac b/configure.ac index 6a9129f..2477262 100644 --- a/configure.ac +++ b/configure.ac @@ -257,6 +257,7 @@ schemas/org.mate.background.gschema.xml  man/Makefile  tools/Makefile  icons/Makefile +xdg-portal/Makefile  ])  AC_OUTPUT diff --git a/meson.build b/meson.build index 070b662..b64f88c 100644 --- a/meson.build +++ b/meson.build @@ -104,6 +104,7 @@ endif  subdir('po')  subdir('tools')  subdir('schemas') +subdir('xdg-portal')  if get_option('mate-about')    subdir('mate-about')  endif diff --git a/xdg-portal/Makefile.am b/xdg-portal/Makefile.am new file mode 100644 index 0000000..a907bb4 --- /dev/null +++ b/xdg-portal/Makefile.am @@ -0,0 +1,5 @@ +NULL = + +xdgportaldir = $(datadir)/xdg-desktop-portal +dist_xdgportal_DATA = mate-portals.conf + diff --git a/xdg-portal/mate-portals.conf b/xdg-portal/mate-portals.conf new file mode 100644 index 0000000..a586b59 --- /dev/null +++ b/xdg-portal/mate-portals.conf @@ -0,0 +1,3 @@ +[preferred] +default=gtk; +org.freedesktop.impl.portal.Secret=gnome-keyring; diff --git a/xdg-portal/meson.build b/xdg-portal/meson.build new file mode 100644 index 0000000..0151fec --- /dev/null +++ b/xdg-portal/meson.build @@ -0,0 +1,4 @@ +install_data( +  'mate-portals.conf', +  install_dir: join_paths(get_option('datadir'), 'xdg-desktop-portal'), +)  | 
