1 |
commit: 38561a60e293480f656d740e61ada2c04951981e |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 30 21:35:24 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 30 21:45:45 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38561a60 |
7 |
|
8 |
dev-dotnet/gtk-sharp: port to EAPI 7, drop base.eclass |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
dev-dotnet/gtk-sharp/gtk-sharp-2.12.21.ebuild | 36 +++++++++++++-------------- |
13 |
1 file changed, 18 insertions(+), 18 deletions(-) |
14 |
|
15 |
diff --git a/dev-dotnet/gtk-sharp/gtk-sharp-2.12.21.ebuild b/dev-dotnet/gtk-sharp/gtk-sharp-2.12.21.ebuild |
16 |
index 91c76012d1d..94b9034c107 100644 |
17 |
--- a/dev-dotnet/gtk-sharp/gtk-sharp-2.12.21.ebuild |
18 |
+++ b/dev-dotnet/gtk-sharp/gtk-sharp-2.12.21.ebuild |
19 |
@@ -1,16 +1,18 @@ |
20 |
-# Copyright 1999-2020 Gentoo Authors |
21 |
+# Copyright 1999-2021 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
-EAPI=5 |
25 |
+EAPI=7 |
26 |
|
27 |
-inherit dotnet autotools base |
28 |
+WANT_AUTOMAKE="1.11" |
29 |
+inherit autotools dotnet |
30 |
|
31 |
-SLOT="2" |
32 |
-DESCRIPTION="gtk bindings for mono" |
33 |
-LICENSE="GPL-2" |
34 |
+DESCRIPTION="GTK bindings for mono" |
35 |
HOMEPAGE="http://www.mono-project.com/GtkSharp" |
36 |
-KEYWORDS="amd64 x86" |
37 |
SRC_URI="http://download.mono-project.com/sources/gtk-sharp212/${P}.tar.gz" |
38 |
+ |
39 |
+LICENSE="GPL-2" |
40 |
+SLOT="2" |
41 |
+KEYWORDS="amd64 x86" |
42 |
IUSE="debug" |
43 |
|
44 |
RESTRICT="test" |
45 |
@@ -30,33 +32,31 @@ RDEPEND=" |
46 |
!dev-dotnet/glib-sharp |
47 |
!dev-dotnet/glade-sharp |
48 |
!dev-dotnet/pango-sharp |
49 |
- !dev-dotnet/atk-sharp" |
50 |
-DEPEND="${RDEPEND} |
51 |
- virtual/pkgconfig |
52 |
- sys-devel/automake:1.11" |
53 |
+ !dev-dotnet/atk-sharp |
54 |
+" |
55 |
+DEPEND="${RDEPEND}" |
56 |
+BDEPEND="virtual/pkgconfig" |
57 |
|
58 |
PATCHES=( |
59 |
"${FILESDIR}/${PN}-2.12.21-mono-ambiguous-range.patch" |
60 |
) |
61 |
|
62 |
src_prepare() { |
63 |
- base_src_prepare |
64 |
+ default |
65 |
+ |
66 |
eautoreconf |
67 |
- libtoolize |
68 |
} |
69 |
|
70 |
src_configure() { |
71 |
- econf --disable-static \ |
72 |
+ econf \ |
73 |
+ --disable-static \ |
74 |
--disable-maintainer-mode \ |
75 |
$(use_enable debug) |
76 |
} |
77 |
|
78 |
-src_compile() { |
79 |
- emake |
80 |
-} |
81 |
- |
82 |
src_install() { |
83 |
default |
84 |
+ |
85 |
dotnet_multilib_comply |
86 |
sed -i "s/\\r//g" "${D}"/usr/bin/* || die "sed failed" |
87 |
} |