# SPDX-License-Identifier: LGPL-2.1+
#
-# Copyright 2017 Zbigniew Jędrzejewski-Szmek
-#
-# elogind is free software; you can redistribute it and/or modify it
-# under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1 of the License, or
-# (at your option) any later version.
-#
-# elogind is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with elogind; If not, see <http://www.gnu.org/licenses/>.
+# Copyright © 2017 Zbigniew Jędrzejewski-Szmek
#if 0 /// elogind has only two of the parts here in it...
# libcore_la_sources = '''
# 'load-fragment-gperf.gperf',
# input : 'load-fragment-gperf.gperf.m4',
# output: 'load-fragment-gperf.gperf',
-# command : [m4, '-P'] + m4_defines + ['@INPUT@'],
+# command : [meson_apply_m4, config_h, '@INPUT@'],
# capture : true)
#
# load_fragment_gperf_c = custom_target(
# load_fragment_gperf_c,
# load_fragment_gperf_nulstr_c,
# include_directories : includes,
-# link_with : [libshared_static],
# dependencies : [threads,
+# librt,
# libseccomp,
# libpam,
# libaudit,
# libkmod,
# libapparmor,
+# libselinux,
# libmount])
#
# systemd_sources = files('main.c')
# install_data('org.freedesktop.systemd1.service',
# install_dir : dbussystemservicedir)
#
-# policy_in = configure_file(
-# input : 'org.freedesktop.systemd1.policy.in.in',
-# output : 'org.freedesktop.systemd1.policy.in',
+# policy = configure_file(
+# input : 'org.freedesktop.systemd1.policy.in',
+# output : 'org.freedesktop.systemd1.policy',
# configuration : substs)
+# install_data(policy,
+# install_dir : polkitpolicydir)
#
-# i18n.merge_file(
-# 'org.freedesktop.systemd1.policy',
-# input : policy_in,
-# output : 'org.freedesktop.systemd1.policy',
-# po_dir : po_dir,
-# data_dirs : po_dir,
-# install : install_polkit,
-# install_dir : polkitpolicydir)
-#endif // 0
-
-#if 0 /// totally UNNEEDED in elogind
# install_data('user.conf',
# install_dir : pkgsysconfdir)
#