commit:     38561a60e293480f656d740e61ada2c04951981e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 30 21:35:24 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 30 21:45:45 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38561a60

dev-dotnet/gtk-sharp: port to EAPI 7, drop base.eclass

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-dotnet/gtk-sharp/gtk-sharp-2.12.21.ebuild | 36 +++++++++++++--------------
 1 file changed, 18 insertions(+), 18 deletions(-)

diff --git a/dev-dotnet/gtk-sharp/gtk-sharp-2.12.21.ebuild 
b/dev-dotnet/gtk-sharp/gtk-sharp-2.12.21.ebuild
index 91c76012d1d..94b9034c107 100644
--- a/dev-dotnet/gtk-sharp/gtk-sharp-2.12.21.ebuild
+++ b/dev-dotnet/gtk-sharp/gtk-sharp-2.12.21.ebuild
@@ -1,16 +1,18 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
-inherit dotnet autotools base
+WANT_AUTOMAKE="1.11"
+inherit autotools dotnet
 
-SLOT="2"
-DESCRIPTION="gtk bindings for mono"
-LICENSE="GPL-2"
+DESCRIPTION="GTK bindings for mono"
 HOMEPAGE="http://www.mono-project.com/GtkSharp";
-KEYWORDS="amd64 x86"
 SRC_URI="http://download.mono-project.com/sources/gtk-sharp212/${P}.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="amd64 x86"
 IUSE="debug"
 
 RESTRICT="test"
@@ -30,33 +32,31 @@ RDEPEND="
        !dev-dotnet/glib-sharp
        !dev-dotnet/glade-sharp
        !dev-dotnet/pango-sharp
-       !dev-dotnet/atk-sharp"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig
-       sys-devel/automake:1.11"
+       !dev-dotnet/atk-sharp
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 PATCHES=(
        "${FILESDIR}/${PN}-2.12.21-mono-ambiguous-range.patch"
 )
 
 src_prepare() {
-       base_src_prepare
+       default
+
        eautoreconf
-       libtoolize
 }
 
 src_configure() {
-       econf   --disable-static \
+       econf \
+               --disable-static \
                --disable-maintainer-mode \
                $(use_enable debug)
 }
 
-src_compile() {
-       emake
-}
-
 src_install() {
        default
+
        dotnet_multilib_comply
        sed -i "s/\\r//g" "${D}"/usr/bin/* || die "sed failed"
 }

Reply via email to