From 739c65c54cb0e957df5e9b76f93fb02554e5cac3 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 4 May 2022 23:52:30 +0100 Subject: moved everything to new file formatting --- repo/system/networkmanager.xibuild | 66 -------------------------------------- 1 file changed, 66 deletions(-) delete mode 100644 repo/system/networkmanager.xibuild (limited to 'repo/system/networkmanager.xibuild') diff --git a/repo/system/networkmanager.xibuild b/repo/system/networkmanager.xibuild deleted file mode 100644 index 910b601..0000000 --- a/repo/system/networkmanager.xibuild +++ /dev/null @@ -1,66 +0,0 @@ -#!/bin/sh - -MAKEDEPS="grep meson ninja python intltool glib" -DEPS="libndp curl wpa_supplicant newt nss polkit libpsl dbus gobject-introspection dhcp eudev libintl modemmanager nspr mobile-broadband-provider-info python-gobject" - -PKG_VER=1.39.2 -SOURCE=https://download.gnome.org/sources/NetworkManager/${PKG_VER%.*}/NetworkManager-$PKG_VER.tar.xz - -ADDITIONAL=" -networkmanager.conf -networkmanager-dispatcher.initd -networkmanager.initd -networkmanager.rules -" - -DESC="Network connection manager and user applications" - -prepare () { - ggrep -rl '^#!.*python$' | xargs sed -i '1s/python/&3/' - dbus-uuidgen --ensure -} - -build () { - mkdir build && - cd build && - meson \ - --prefix=/usr \ - -Dsystemdsystemunitdir=no \ - -Dudev_dir=/lib/udev \ - -Dmodify_system=true \ - -Dselinux=false \ - -Dsystemd_journal=false \ - -Dlibaudit=no \ - -Diwd=true \ - -Dppp=false \ - -Dconfig_plugins_default=ifupdown \ - -Difupdown=true \ - -Ddhcpcd=true \ - -Dconfig_dhcp_default=internal \ - -Dvapi=true \ - -Dtests="no" \ - -Dpolkit=true \ - -Dsession_tracking=no \ - -Dqt=false \ - -Dovs=false \ - -Dofono=true \ - -Dcrypto=nss \ - -Ddbus_conf_dir=/usr/share/dbus-1/system.d \ - -Ddocs=false \ - .. - ninja -} - -package () { - DESTDIR=$PKG_DEST ninja install && - mv $PKG_DEST/usr/share/doc/NetworkManager \ - $PKG_DEST/usr/share/doc/NetworkManager-$PKG_VER - - install -m644 -D networkmanager.rules \ - "$PKG_DEST/usr/share/polkit-1/rules.d/01-org.freedesktop.NetworkManager.settings.modify.system.rules" - - cd .. - install -m755 -D networkmanager.initd $PKG_DEST/etc/init.d/networkmanager - install -m755 -D networkmanager-dispatcher.initd $PKG_DEST/etc/init.d/networkmanager-dispatcher - install -m755 -D networkmanager.conf $PKG_DEST/etc/NetworkManager/NetworkManager.conf -} -- cgit v1.2.1