net-vpn/networkmanager-fortisslvpn: 1.3.90.ebuild enhancements

Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Joonas Niilola 2021-08-03 09:58:38 +03:00
parent 957c34e186
commit 2b3c9975b4
No known key found for this signature in database
GPG Key ID: 7383942B8DC06962
1 changed files with 13 additions and 7 deletions

View File

@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
GNOME_ORG_MODULE="NetworkManager-${PN##*-}"
GNOME2_LA_PUNT="yes"
GNOME2_EAUTORECONF="yes"
@ -16,26 +17,31 @@ SLOT="0"
KEYWORDS="~amd64"
IUSE="gtk"
RDEPEND="
>=net-misc/networkmanager-1.2:=
DEPEND="
>=dev-libs/glib-2.32:2
net-dialup/ppp:=
>=net-vpn/openfortivpn-1.2.0
>=net-misc/networkmanager-1.2:=
gtk? (
>=app-crypt/libsecret-0.18
media-libs/harfbuzz
>=net-libs/libnma-1.2.0
x11-libs/cairo
x11-libs/gdk-pixbuf
>=x11-libs/gtk+-3.4:3
x11-libs/pango
)
"
DEPEND="${RDEPEND}"
RDEPEND="${RDEPEND}
net-dialup/ppp
>=net-vpn/openfortivpn-1.2.0"
BDEPEND="dev-util/gdbus-codegen
>=sys-devel/gettext-0.19
virtual/pkgconfig"
src_prepare() {
sed -i 's/\/appdata/\/metainfo/g' Makefile.am
default
eapply_user
# Fix deprecated location, #709450
sed -i 's|/appdata|/metainfo|g' Makefile.{in,am} || die
}
src_configure() {