1 |
commit: 5b6d3fbdaf850ab465e97a9fe5b0f03fbd7d63fe |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 7 11:44:16 2019 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 7 11:45:33 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b6d3fbd |
7 |
|
8 |
net-misc/connman-gtk: do not call econf twice |
9 |
|
10 |
Also, bump to EAPI-7. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/687550 |
13 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
14 |
Package-Manager: Portage-2.3.66, Repoman-2.3.11 |
15 |
|
16 |
net-misc/connman-gtk/connman-gtk-1.1.1-r1.ebuild | 53 ++++++++++++++++++++++++ |
17 |
1 file changed, 53 insertions(+) |
18 |
|
19 |
diff --git a/net-misc/connman-gtk/connman-gtk-1.1.1-r1.ebuild b/net-misc/connman-gtk/connman-gtk-1.1.1-r1.ebuild |
20 |
new file mode 100644 |
21 |
index 00000000000..3888b84171b |
22 |
--- /dev/null |
23 |
+++ b/net-misc/connman-gtk/connman-gtk-1.1.1-r1.ebuild |
24 |
@@ -0,0 +1,53 @@ |
25 |
+# Copyright 1999-2019 Gentoo Authors |
26 |
+# Distributed under the terms of the GNU General Public License v2 |
27 |
+ |
28 |
+EAPI=7 |
29 |
+ |
30 |
+inherit autotools gnome2-utils |
31 |
+ |
32 |
+DESCRIPTION="GTK GUI for Connman" |
33 |
+HOMEPAGE="https://github.com/jgke/connman-gtk" |
34 |
+SRC_URI="https://github.com/jgke/connman-gtk/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
35 |
+ |
36 |
+LICENSE="GPL-2+" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~amd64 ~x86" |
39 |
+IUSE="openconnect" |
40 |
+ |
41 |
+CDEPEND=" |
42 |
+ >=dev-libs/glib-2.0:2 |
43 |
+ >=x11-libs/gtk+-3.10:3 |
44 |
+ openconnect? ( >=net-vpn/openconnect-5.99 ) |
45 |
+" |
46 |
+RDEPEND="${CDEPEND} |
47 |
+ net-misc/connman |
48 |
+" |
49 |
+DEPEND="${CDEOEND} |
50 |
+ >=dev-util/intltool-0.35.0 |
51 |
+ sys-devel/gettext |
52 |
+ virtual/pkgconfig |
53 |
+" |
54 |
+ |
55 |
+src_prepare() { |
56 |
+ default |
57 |
+ sed -i -e '/^Categories/ s/$/;/' connman-gtk.desktop.in || die |
58 |
+ eautoreconf |
59 |
+} |
60 |
+ |
61 |
+src_configure() { |
62 |
+ econf \ |
63 |
+ --disable-schemas-compile \ |
64 |
+ $(use_with openconnect) |
65 |
+} |
66 |
+ |
67 |
+pkg_preinst() { |
68 |
+ gnome2_schemas_savelist |
69 |
+} |
70 |
+ |
71 |
+pkg_postinst() { |
72 |
+ gnome2_schemas_update |
73 |
+} |
74 |
+ |
75 |
+pkg_postrm() { |
76 |
+ gnome2_schemas_update |
77 |
+} |