1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- #!/usr/bin/env python3
- # -*- coding: utf-8 -*-
- #
- # Licensed under the GNU General Public License, version 3.
- # See the file http://www.gnu.org/licenses/gpl.txt
- from inary.actionsapi import mesontools
- from inary.actionsapi import shelltools
- def setup():
- shelltools.system("grep -rl '^#!.*python$' | xargs sed -i '1s/python/&3/'")
- mesontools.meson_configure("\
- -Dlibaudit=yes \
- -Dlibpsl=true \
- -Dnmtui=true \
- -Dovs=true \
- -Ddbus_conf_dir=/usr/share/dbus-1/system.d \
- -Dsession_tracking_consolekit=false \
- -Dmodify_system=true \
- -Dpolkit_agent=true \
- -Dselinux=false \
- -D config_plugins_default=keyfile \
- -Difupdown=true \
- -Difcfg-rh=true \
- -Diwd=true \
- -Dpppd_plugin_dir=/usr/lib/pppd/2.4.7 \
- -Dnm_cloud_setup=true \
- -Dbluez5_dun=true \
- -Debpf=true \
- -Dvapi=true \
- -Ddocs=true \
- -Dmore_asserts=no \
- -Dmore_logging=false \
- -Dtests=no \
- -Dppp=true \
- -Dselinux=false \
- -Dudev_dir=/lib/udev \
- -Dsession_tracking=elogind \
- -Dmodem_manager=true \
- -Dsystemdsystemunitdir=no \
- -Dsystemd_journal=false \
- -Dqt=false ")
- def build():
- mesontools.ninja_build()
- def install():
- mesontools.ninja_install()
|