1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Echizen Ryoma <echizenryoma.zhang@gmail.com>
3 # Contributor: Martchus <martchus@gmx.net>
5 pkgname=network-manager-sstp
8 pkgdesc="SSTP support for NetworkManager"
10 url="https://gitlab.gnome.org/GNOME/network-manager-sstp"
12 depends=('libsecret' 'sstp-client')
14 'libnma: GUI support (GTK 3)'
15 'libnma-gtk4: GUI support (GTK 4)')
16 makedepends=('gtk3' 'gtk4' 'libnma' 'libnma-gtk4' 'intltool' 'ppp' 'python')
17 source=("https://gitlab.gnome.org/GNOME/network-manager-sstp/-/archive/release-$pkgver/network-manager-sstp-release-$pkgver.tar.bz2")
18 sha256sums=('20ff1422a8779b5825ea0198e0d4232a27ac9b15f2dcafc04124f26bef7864d6')
21 pppd_version=(`pppd --version 2>&1 | awk '{print $3}'`)
22 cd network-manager-sstp-release-$pkgver
27 --with-pppd-plugin-dir=/usr/lib/pppd/$pppd_version \
29 --libexecdir=/usr/lib/NetworkManager \
30 --with-libnm-glib=no \
31 --enable-more-warnings=yes \
33 # libnm-glib disabled due to missing libnm-gtk package
34 # set_more_warnings being error by default, which adds -Werror
40 cd network-manager-sstp-release-$pkgver
42 make DESTDIR="$pkgdir" dbusservicedir=/usr/share/dbus-1/system.d install