mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
net-vpn/networkmanager-sstp: disable libnm-glib usage, fix some deps
* Ensure libnm-glib and co usage is always disabled * Fix USE=gtk deps; libnma was missing, even after --without-libnm-glib * Add missing gdbus-codegen build dep * Drop dbus-glib dep, long ported to GDBus; dep on needed minimum glib as per upstream * Drop ltprune.eclass usage and unused eutils.eclass inherit * Other small min dep tweaks per configure.ac Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
This commit is contained in:
@@ -3,8 +3,6 @@
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils ltprune
|
||||
|
||||
MY_PN="NetworkManager-sstp"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
@@ -17,17 +15,20 @@ SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gtk"
|
||||
|
||||
RDEPEND=">=dev-libs/dbus-glib-0.74
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.32:2
|
||||
net-misc/sstp-client
|
||||
>=net-misc/networkmanager-${PV}
|
||||
>=net-misc/networkmanager-1.1.0
|
||||
net-dialup/ppp:=
|
||||
gtk? (
|
||||
x11-libs/gtk+:3
|
||||
>=x11-libs/gtk+-3.4:3
|
||||
>=net-libs/libnma-1.1.0
|
||||
app-crypt/libsecret
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/gdbus-codegen
|
||||
virtual/pkgconfig
|
||||
sys-devel/gettext
|
||||
dev-util/intltool
|
||||
@@ -42,10 +43,11 @@ src_configure() {
|
||||
--disable-static \
|
||||
--with-dist-version=Gentoo \
|
||||
--with-pppd-plugin-dir="${EPREFIX}/usr/$(get_libdir)/pppd/${PPPD_VERSION}" \
|
||||
$(use_with gtk gnome)
|
||||
$(use_with gtk gnome) \
|
||||
--without-libnm-glib
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files
|
||||
find "${ED}" -type f -name '*.la' -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user