aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-07-20 01:05:55 +0000
committerSam James <sam@gentoo.org>2022-07-20 01:07:25 +0000
commita3bcd78e0c3a2ebe08993b1a5687d4d7a70ece86 (patch)
tree7045f04a11b0bc23e85d74e120344398801c0b48 /dev-util/monodevelop/monodevelop-9999.ebuild
parentdev-lang/ironscheme: treeclean (broken) (diff)
downloaddotnet-a3bcd78e0c3a2ebe08993b1a5687d4d7a70ece86.tar.gz
dotnet-a3bcd78e0c3a2ebe08993b1a5687d4d7a70ece86.tar.bz2
dotnet-a3bcd78e0c3a2ebe08993b1a5687d4d7a70ece86.zip
dev-util/monodevelop: treeclean (broken)
Bug: https://bugs.gentoo.org/858938 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/monodevelop/monodevelop-9999.ebuild')
-rw-r--r--dev-util/monodevelop/monodevelop-9999.ebuild113
1 files changed, 0 insertions, 113 deletions
diff --git a/dev-util/monodevelop/monodevelop-9999.ebuild b/dev-util/monodevelop/monodevelop-9999.ebuild
deleted file mode 100644
index 2f9ed05..0000000
--- a/dev-util/monodevelop/monodevelop-9999.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit xdg-utils gnome2-utils dotnet versionator eutils git-r3
-
-DESCRIPTION="Integrated Development Environment for .NET"
-HOMEPAGE="https://www.monodevelop.com/"
-LICENSE="LGPL-2 MIT"
-LICENSE+=" Apache-2.0" # fsharpbinding, monomac
-LICENSE+=" GPL-2" # ikvm, mono-tools
-LICENSE+=" GPL-2-with-classpath-exception" # ikvm
-LICENSE+=" GPL-2-with-linking-exception" # libgit2
-
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
-
-EGIT_COMMIT="${P}"
-EGIT_REPO_URI="git://github.com/mono/monodevelop.git"
-EGIT_SUBMODULES=( '*' ) # todo: replace certain submodules with system packages
-
-if [ "${PV}" == "9999" ]; then
- EGIT_COMMIT="HEAD"
- KEYWORDS=""
-fi
-
-USE_DOTNET="net45" # todo: necessary?
-IUSE="${USE_DOTNET} +subversion +git qtcurve test"
-
-COMMON_DEPEND="
- >=dev-lang/mono-4.4.1
- >=dev-dotnet/gtk-sharp-2.12.21:2
- >=dev-dotnet/nuget-2.8.7
- dev-dotnet/referenceassemblies-pcl
- >=dev-lang/fsharp-4.0.1.15
- net-libs/libssh2"
-RDEPEND="${COMMON_DEPEND}
- dev-util/ctags
- sys-apps/dbus[X]
- >=www-servers/xsp-2
- git? ( dev-vcs/git )
- subversion? ( dev-vcs/subversion )"
-DEPEND="${COMMON_DEPEND}
- dev-util/intltool
- virtual/pkgconfig
- sys-devel/gettext
- x11-misc/shared-mime-info
- x11-terms/xterm
- app-arch/unzip"
-
-S="${WORKDIR}/${P}/main"
-
-src_unpack() {
- git-r3_fetch
- git-r3_checkout
- nuget restore "${S}"
- default
-}
-
-src_prepare() {
- # use system nuget
- find "${S}" -name 'Makefile*' -exec sed -i 's|mono .nuget/NuGet.exe|nuget|g' {} + || die
-
- # prevent binding problem when gtk#-3 is installed alongside gtk#-2
- find "${S}" -name '*.csproj' -exec sed -i 's#<SpecificVersion>.*</SpecificVersion>#<SpecificVersion>True</SpecificVersion>#' {} + || die
-
- # this fsharpbinding test won't build
- sed -i 's|<Compile Include="TemplateTests.fs" />|<None Include="TemplateTests.fs" />|g' "${S}"/external/fsharpbinding/MonoDevelop.FSharp.Tests/MonoDevelop.FSharp.Tests.fsproj || die
-
- use qtcurve && epatch -p2 "${FILESDIR}/kill-qtcurve-warning.patch"
-
- # generate configure script but don't execute yet
- NOCONFIGURE=1 ./autogen.sh
-
- default
-}
-
-src_configure() {
- # env vars are added as the fix for https://github.com/gentoo/dotnet/issues/29
- MCS=/usr/bin/dmcs CSC=/usr/bin/dmcs GMCS=/usr/bin/dmcs econf \
- --disable-update-mimedb \
- --disable-update-desktopdb \
- --enable-monoextensions \
- --enable-gnomeplatform \
- --enable-release \
- $(use_enable test tests) \
- $(use_enable subversion) \
- $(use_enable git)
-
- # Main.sln file was created on the fly during econf
-
- # https://github.com/mrward/xdt/issues/4
- epatch -p2 "${FILESDIR}/mrward-xdt-issue-4.patch"
-
- # https://github.com/gentoo/dotnet/issues/38
- sed -i -E -e 's#(EXE_PATH=")(.*)(/lib/monodevelop/bin/MonoDevelop.exe")#\1'${EPREFIX}'/usr\3#g' "${S}/monodevelop" || die
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
- xdg_mimeinfo_database_update
- xdg_desktop_database_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
- xdg_mimeinfo_database_update
- xdg_desktop_database_update
-}