summaryrefslogtreecommitdiff
path: root/dev-dotnet/mono-addins
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-dotnet/mono-addins
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-dotnet/mono-addins')
-rw-r--r--dev-dotnet/mono-addins/Manifest6
-rw-r--r--dev-dotnet/mono-addins/files/gmcs.patch15
-rw-r--r--dev-dotnet/mono-addins/metadata.xml11
-rw-r--r--dev-dotnet/mono-addins/mono-addins-0.6.2.ebuild33
-rw-r--r--dev-dotnet/mono-addins/mono-addins-1.0-r1.ebuild51
5 files changed, 116 insertions, 0 deletions
diff --git a/dev-dotnet/mono-addins/Manifest b/dev-dotnet/mono-addins/Manifest
new file mode 100644
index 000000000000..8012140f3311
--- /dev/null
+++ b/dev-dotnet/mono-addins/Manifest
@@ -0,0 +1,6 @@
+AUX gmcs.patch 363 BLAKE2B e3804fbd298d1d3b3f4c0d6ef8497961d8499b80778519c87ecaa4c5a2aa847dab29e372c3234aa6f9b406cefb6306816b191428f0d2b37f8882e170deefd057 SHA512 139f162b03b6a21b31e954e9a37189a96250dc2eca13b9c8201ff547a19a71344e0a89e93d9b4a127b69739c12de432ddd7b0f524e0f12616a2931d999077960
+DIST mono-addins-0.6.2.tar.bz2 337614 BLAKE2B beca5e728624fea9a0ada1b07e0a184509b6b3f42f772d62318e5cda188c5a21e70d32f2ab8b5a67e23c66f779ebfa3d45bb1486ba4d46d082695f328f63f354 SHA512 6556cf8c82c9f25eba5df88bbec8d9d3dd39ad5b3a904cdadc82d6eccc71b27e07ad2faa2b41eba5b3519fd6dbcc50a398104e396dcae09b152252adb8f3f0f5
+DIST mono-addins-1.0.tar.gz 548940 BLAKE2B 6cce06462398d3407655c0579fe3bf873487e22e189bc53bcc4061c0333dd6388d3d13688f79490b29cf34b1dda140531d4257e7f84b0261069a95673e431d18 SHA512 ba2f625b2f9c9f0c367c87670c930b4c8ee874b04721fd1ca636c8ef5c27702256057c9bcebc9a3d1edd7bedd21a700268cbeadeecc795d3004a7b7ada8f5c24
+EBUILD mono-addins-0.6.2.ebuild 657 BLAKE2B 9f828a8e9606b1f719b18b30ef46adf37872bd2dd23133f93252b5220cacbb278fd883a0232fa5fef85a63ed605ae25e54192e147319916e2aee5351cfd9478b SHA512 3ad0b445799f299b6389c0bc189daabf5ab0e76678c176c8c87256c517318e92a55fdd1dabaaec1fc19c10dc26f9fd605457667f5e951f7721222bf26abdea99
+EBUILD mono-addins-1.0-r1.ebuild 1185 BLAKE2B da03d475981e129a9bdeaeede0d083ce172fb1026e1451120b00c6cb2242fed60839ba0c957772f377c23b6b504e8a67ce8444cc9191677e5b4f7edd5f6bb249 SHA512 b5f17b70cf541f620aca5f94f770bfbb8f9711fc5881f48b890ef2eeeeb12c28e8b994f701da6ac0203ce098527fafbf0e3667fbca612af198be2177ba877a8a
+MISC metadata.xml 336 BLAKE2B 8a4a37d35a5037e117f4acd27f13e69310f306269c4e90f283a90ce5da6aad24343bb9a06a20d4038a7e92cedced80fcc4ccc168be34a67febcaed32305f2960 SHA512 33236f001eff9cfedded49537f1204a0f7697e23ff2325865edeed28b309a5eff777374b310f45268c57545ba442ec71e767a0d62a25b7cd7dd69e4e8fb12fef
diff --git a/dev-dotnet/mono-addins/files/gmcs.patch b/dev-dotnet/mono-addins/files/gmcs.patch
new file mode 100644
index 000000000000..a2426cf90945
--- /dev/null
+++ b/dev-dotnet/mono-addins/files/gmcs.patch
@@ -0,0 +1,15 @@
+diff -u origin/configure.ac mono-addins-mono-addins-1.0/configure.ac
+--- origin/configure.ac
++++ mono-addins-mono-addins-1.0/configure.ac
+@@ -18,7 +18,10 @@
+
+ AC_PROG_INSTALL
+
+-AC_PATH_PROG(MCS, gmcs, no)
++MCS=no
++AC_PATH_PROG(MCS, gmcs)
++AC_PATH_PROG(MCS, dmcs)
++AC_PATH_PROG(MCS, mcs)
+ if test "x$MCS" = "xno"; then
+ AC_MSG_ERROR([mcs Not found])
+ fi
diff --git a/dev-dotnet/mono-addins/metadata.xml b/dev-dotnet/mono-addins/metadata.xml
new file mode 100644
index 000000000000..6fd87fb6c017
--- /dev/null
+++ b/dev-dotnet/mono-addins/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>dotnet@gentoo.org</email>
+ <name>Gentoo Dotnet Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">mono/mono-addins</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-dotnet/mono-addins/mono-addins-0.6.2.ebuild b/dev-dotnet/mono-addins/mono-addins-0.6.2.ebuild
new file mode 100644
index 000000000000..bea91874d538
--- /dev/null
+++ b/dev-dotnet/mono-addins/mono-addins-0.6.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit mono multilib
+
+DESCRIPTION="A generic framework for creating extensible applications"
+HOMEPAGE="http://www.mono-project.com/Mono.Addins"
+SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="+gtk"
+
+RDEPEND=">=dev-lang/mono-2
+ gtk? ( >=dev-dotnet/gtk-sharp-2.0 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ econf $(use_enable gtk gui)
+}
+
+src_compile() {
+ emake -j1
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install
+ mono_multilib_comply
+}
diff --git a/dev-dotnet/mono-addins/mono-addins-1.0-r1.ebuild b/dev-dotnet/mono-addins/mono-addins-1.0-r1.ebuild
new file mode 100644
index 000000000000..67590ceb7001
--- /dev/null
+++ b/dev-dotnet/mono-addins/mono-addins-1.0-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils dotnet multilib autotools-utils
+
+DESCRIPTION="A generic framework for creating extensible applications"
+HOMEPAGE="http://www.mono-project.com/Mono.Addins"
+SRC_URI="https://github.com/mono/${PN}/archive/${P}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="+gtk"
+
+RDEPEND=">=dev-lang/mono-3
+ gtk? ( >=dev-dotnet/gtk-sharp-2.12.21:2 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+MAKEOPTS="${MAKEOPTS} -j1" #nowarn
+
+S="${WORKDIR}/${PN}-${P}"
+
+src_prepare() {
+ epatch "${FILESDIR}/gmcs.patch"
+
+ eautoreconf
+ autotools-utils_src_prepare
+ ## with dev-dotnet/gtk-sharp-2.99.1
+ ## it gives
+ ## checking for GTK_SHARP_20... no
+ ## configure: error: Package requirements (gtk-sharp-2.0) were not met:
+ ##
+ ## No package 'gtk-sharp-2.0' found
+
+ sed -i "s;Mono.Cairo;Mono.Cairo, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756;g" Mono.Addins.Gui/Mono.Addins.Gui.csproj || die "sed failed"
+}
+
+src_configure() {
+ econf $(use_enable gtk gui)
+}
+
+src_compile() {
+ default
+}
+
+src_install() {
+ default
+ dotnet_multilib_comply
+}