NetworkManager-pptp: update to 1.2.12.

This commit is contained in:
Đoàn Trần Công Danh 2024-03-27 18:35:16 +07:00 committed by Đoàn Trần Công Danh
parent 01c40be6fd
commit 45ea6723e5
1 changed files with 6 additions and 16 deletions

View File

@ -1,11 +1,11 @@
# Template file for 'NetworkManager-pptp'
pkgname=NetworkManager-pptp
version=1.2.8
revision=6
version=1.2.12
revision=1
build_style=gnu-configure
configure_args="--without-libnm-glib"
hostmakedepends="pkg-config intltool glib-devel"
makedepends="gtk+3-devel libglib-devel libnma-devel libsecret-devel
configure_args="--with-gtk4 --disable-static"
hostmakedepends="pkg-config gettext glib-devel libxml2"
makedepends="gtk+3-devel libglib-devel libnma-devel libsecret-devel gtk4-devel
NetworkManager-devel ppp-devel"
depends="pptpclient"
short_desc="NetworkManager VPN plugin for pptp"
@ -13,14 +13,4 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://wiki.gnome.org/Projects/NetworkManager"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=f8e35e4a9a76312975c317cd315e5e9bd23bba2b5c31c3259c8c150583dc1953
do_configure() {
PPP_VERSION=$(sed -n '/VERSION/s/.*"\(.*\)".*/\1/p' ${XBPS_CROSS_BASE}/usr/include/pppd/patchlevel.h)
./configure ${configure_args} --with-pppd-plugin-dir=/usr/lib/pppd/${PPP_VERSION}
}
post_install() {
mv $DESTDIR/etc/dbus-1 $DESTDIR/usr/share
}
checksum=e5fa59fe46117f0ee86e9ca62c6943bc063884b04dd2396ccec38a2d1f414982