commit:     366a95b68da11e924cc540412cf833409d625aa6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 20 01:15:35 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jul 20 01:15:49 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/dotnet.git/commit/?id=366a95b6

dev-dotnet/dbus-sharp: EAPI 8

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

 dev-dotnet/dbus-sharp/dbus-sharp-0.7.0-r2.ebuild | 31 ------------------------
 dev-dotnet/dbus-sharp/dbus-sharp-0.8.1.ebuild    | 31 +++++++++++-------------
 2 files changed, 14 insertions(+), 48 deletions(-)

diff --git a/dev-dotnet/dbus-sharp/dbus-sharp-0.7.0-r2.ebuild 
b/dev-dotnet/dbus-sharp/dbus-sharp-0.7.0-r2.ebuild
deleted file mode 100644
index f6bbf7f..0000000
--- a/dev-dotnet/dbus-sharp/dbus-sharp-0.7.0-r2.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit autotools mono-env dotnet eutils
-
-DESCRIPTION="D-Bus for .NET"
-HOMEPAGE="https://github.com/mono/dbus-sharp";
-SRC_URI="mirror://github/mono/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-
-RDEPEND=">=dev-lang/mono-4.0.2.5
-       sys-apps/dbus"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig"
-
-pkg_setup() {
-       DOCS="AUTHORS README"
-}
-
-src_prepare() {
-       # Fix signals, bug #387097
-       epatch "${FILESDIR}/${P}-fix-signals.patch"
-       epatch "${FILESDIR}/${P}-fix-signals2.patch"
-       sed -i "s@gmcs@mcs@g" configure.ac || die
-       eautoreconf
-}

diff --git a/dev-dotnet/dbus-sharp/dbus-sharp-0.8.1.ebuild 
b/dev-dotnet/dbus-sharp/dbus-sharp-0.8.1.ebuild
index d23f4f1..734e310 100644
--- a/dev-dotnet/dbus-sharp/dbus-sharp-0.8.1.ebuild
+++ b/dev-dotnet/dbus-sharp/dbus-sharp-0.8.1.ebuild
@@ -1,40 +1,37 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit autotools mono-env dotnet eutils
+EAPI=7
+
+inherit autotools mono-env dotnet
 
 DESCRIPTION="D-Bus for .NET"
 HOMEPAGE="https://github.com/mono/dbus-sharp";
-SRC_URI="mirror://github/mono/${PN}/${P}.tar.gz"
-SRC_URI="https://github.com/mono/dbus-sharp/archive/v${PV}.tar.gz";
+SRC_URI="https://github.com/mono/dbus-sharp/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
 
 RDEPEND=">=dev-lang/mono-4.0.2.5
        sys-apps/dbus"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
-pkg_setup() {
-       DOCS="AUTHORS README"
-}
+DOCS=( AUTHORS README )
 
 src_prepare() {
-       # Fix signals, bug #387097
-#      epatch "${FILESDIR}/dbus-sharp-0.7.0-fix-signals.patch"
-#      epatch "${FILESDIR}/dbus-sharp-0.7.0-fix-signals2.patch"
+       default
+
        sed -i "s@gmcs@mcs@g" configure.ac || die
        find . -iname "*.csproj" | xargs sed -i "[email protected]@v4.5@g" || die
+
        eautoreconf
-       default
 }
 
 src_compile() {
-    default
-    # https://github.com/gentoo/dotnet/issues/305
-    sn -R src/dbus-sharp.dll dbus-sharp.snk
+       default
+
+       # https://github.com/gentoo/dotnet/issues/305
+       sn -R src/dbus-sharp.dll dbus-sharp.snk
 }

Reply via email to