summaryrefslogtreecommitdiffstats
path: root/packages/net-apps/NetworkManager-openvpn/NetworkManager-openvpn.exlib
blob: 397fc40c745acace61d56e0ed420dc480418f927 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41


require gnome.org [ pn="network-manager-openvpn" ]
ever is_scm && require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.11 ] ]


SLOT="0"

LICENCES="GPL-2"

SUMMARY="OpenVPN support for NetworkManager"

DEPENDENCIES="
    build:
        dev-util/intltool
        dev-util/pkg-config
    build+run:
        dev-libs/glib:2
        dev-libs/dbus-glib:1[>=0.74]
        net-apps/NetworkManager[>=0.8.998]
        keyring? (
            x11-libs/gtk+:3[>=2.91.4]
            gnome-desktop/libgnome-keyring:1
        )
"

MYOPTIONS="
    keyring [[ description = [ Use gnome-keyring for password storage ] ]]
"


DEFAULT_SRC_CONFIGURE_OPTION_WITHS=(
    'keyring gnome'
)

if ever is_scm; then
    src_prepare() {
        autotools_src_prepare
        edo intltoolize --force --copy
    }
fi