Skip to content

Commit b1f57c5

Browse files
committed
meson: Use built-in symlink creation method
1 parent ad5cf3f commit b1f57c5

3 files changed

Lines changed: 6 additions & 19 deletions

File tree

accountsservice/meson.build

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ act_interfacesdir = act_dep.get_variable(
2121
default_value: datadir /'accountsservice' / 'interfaces'
2222
)
2323

24-
meson.add_install_script(
25-
symlink,
26-
dbus_interfaces_dir / 'io.elementary.pantheon.AccountsService.xml',
27-
act_interfacesdir / 'io.elementary.pantheon.AccountsService.xml',
24+
install_symlink(
25+
'io.elementary.pantheon.AccountsService.xml',
26+
install_dir : act_interfacesdir,
27+
install_tag : 'runtime',
28+
pointing_to : dbus_interfaces_dir / 'io.elementary.pantheon.AccountsService.xml',
2829
)

meson.build

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
project(
22
'elementary-default-settings',
33
version: '8.1.0',
4-
meson_version: '>= 0.58.0'
4+
meson_version: '>= 0.61.0'
55
)
66

77
gnome = import('gnome')
@@ -12,8 +12,6 @@ schemadir = datadir / 'glib-2.0' / 'schemas'
1212

1313
gnome.post_install(glib_compile_schemas: true)
1414

15-
symlink = meson.current_source_dir () / 'meson' / 'create-symlink.sh'
16-
1715
# Sudo password feedback in terminals
1816
install_data(
1917
'sudoers.d/pwfeedback',

meson/create-symlink.sh

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)