Files
NetworkManager/examples/C/glib/meson.build
Thomas Haller 977ea352a0 all: update deprecated SPDX license identifiers
These SPDX license identifiers are deprecated ([1]). Update them.

[1] https://spdx.org/licenses/

  sed \
     -e '1 s%^/\* SPDX-License-Identifier: \(GPL-2.0\|LGPL-2.1\)+ \*/$%/* SPDX-License-Identifier: \1-or-later */%' \
     -e '1,2 s%^\(--\|#\|//\) SPDX-License-Identifier: \(GPL-2.0\|LGPL-2.1\)+$%\1 SPDX-License-Identifier: \2-or-later%' \
     -i \
     $(git grep -l SPDX-License-Identifier -- \
         ':(exclude)shared/c-*/' \
         ':(exclude)shared/n-*/' \
         ':(exclude)shared/systemd/src' \
         ':(exclude)src/systemd/src')
2021-01-05 09:46:21 +01:00

21 lines
606 B
Meson

# SPDX-License-Identifier: LGPL-2.1-or-later
examples = [
['add-connection-gdbus', [libnm_enum_sources[1]], [uuid_dep]],
['add-connection-libnm', [], [libnm_dep]],
['get-active-connections-gdbus', [libnm_enum_sources[1]], []],
['get-ap-info-libnm', [], [libnm_dep]],
['list-connections-gdbus', [], []],
['list-connections-libnm', [], [libnm_dep]],
['monitor-nm-running-gdbus', [], []],
['monitor-nm-state-gdbus', [], []],
]
foreach example: examples
executable(
example[0],
[example[0] + '.c'] + example[1],
dependencies: [libnm_nm_default_dep] + example[2],
)
endforeach