summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-30 21:35:24 +0000
committerSam James <sam@gentoo.org>2021-03-30 21:45:45 +0000
commit38561a60e293480f656d740e61ada2c04951981e (patch)
tree95ed2b6b0b7b722472ca6a818910e965bec2531d /dev-dotnet/gtk-sharp
parentnet-nds/tac_plus: fix DuplicateFiles (duplicate patch) (diff)
downloadgentoo-38561a60e293480f656d740e61ada2c04951981e.tar.gz
gentoo-38561a60e293480f656d740e61ada2c04951981e.tar.bz2
gentoo-38561a60e293480f656d740e61ada2c04951981e.zip
dev-dotnet/gtk-sharp: port to EAPI 7, drop base.eclass
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-dotnet/gtk-sharp')
-rw-r--r--dev-dotnet/gtk-sharp/gtk-sharp-2.12.21.ebuild36
1 files 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 91c76012d1da..94b9034c1074 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"
}