diff options
author | 2022-07-20 01:15:35 +0000 | |
---|---|---|
committer | 2022-07-20 01:15:49 +0000 | |
commit | 366a95b68da11e924cc540412cf833409d625aa6 (patch) | |
tree | b1767b7f634772b11d2971a51eaac43e7dc5d627 | |
parent | dotnet.eclass: drop broken eclass (diff) | |
download | dotnet-366a95b68da11e924cc540412cf833409d625aa6.tar.gz dotnet-366a95b68da11e924cc540412cf833409d625aa6.tar.bz2 dotnet-366a95b68da11e924cc540412cf833409d625aa6.zip |
dev-dotnet/dbus-sharp: EAPI 8
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | dev-dotnet/dbus-sharp/Manifest | 3 | ||||
-rw-r--r-- | dev-dotnet/dbus-sharp/dbus-sharp-0.7.0-r2.ebuild | 31 | ||||
-rw-r--r-- | dev-dotnet/dbus-sharp/dbus-sharp-0.8.1.ebuild | 31 |
3 files changed, 15 insertions, 50 deletions
diff --git a/dev-dotnet/dbus-sharp/Manifest b/dev-dotnet/dbus-sharp/Manifest index 6197f74..27e41fd 100644 --- a/dev-dotnet/dbus-sharp/Manifest +++ b/dev-dotnet/dbus-sharp/Manifest @@ -1,2 +1 @@ -DIST dbus-sharp-0.7.0.tar.gz 127651 SHA256 92529aef9063f477d1975947c6388c63d03234018f45d007c07716dd3e21dd41 SHA512 76d9c83aae227476e40efee1e987a03a8b1da29def79657365906a8220d2cceabe433f4b4679a87dd74e77431382b6c2857ca5498b0671b679d5ddd566d0229d WHIRLPOOL 275c0149c40cf65a7967eb86936f077aa0d526c70ce315dbf43057a2c962be0b7e07f5b9d3a69ac30ed88c785e9f0f1f7f105002b1709e202dee52433627158b -DIST v0.8.1.tar.gz 83110 SHA256 531011702c544fd8861751668b95ade8cf1aa2254838c934a02c3b4367b92b63 SHA512 1f806494b5251ac43d8e4d73cebd0357c9ff17a1495985b36dc9c9d764fc18f337d3e1ffcbf99d6666570ed177170f8e0ae2ef431fc9f81202dbc0446190b57f WHIRLPOOL e808422c0e19daa3fd5ed2553a552acada04b77c774171c8e4b40ce643b9b5533930f22823ed19947cac7215dfa4ba809273724a121a0b6aede54d902a1f2eba +DIST dbus-sharp-0.8.1.tar.gz 83110 BLAKE2B be8551a0e03139de3cb537ee6dd54bf5b08fb7a980917f3e0aceab5a45d8adf57a672913c4b3b2fcfd74a22e2c9d4adb1a4eb13ae5666ecf4ef57525ed51815c SHA512 1f806494b5251ac43d8e4d73cebd0357c9ff17a1495985b36dc9c9d764fc18f337d3e1ffcbf99d6666570ed177170f8e0ae2ef431fc9f81202dbc0446190b57f 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 "s@v3.5@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 } |