summaryrefslogtreecommitdiff
path: root/dev-dotnet/mono-addins
diff options
context:
space:
mode:
Diffstat (limited to 'dev-dotnet/mono-addins')
-rw-r--r--dev-dotnet/mono-addins/Manifest8
-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, 118 insertions, 0 deletions
diff --git a/dev-dotnet/mono-addins/Manifest b/dev-dotnet/mono-addins/Manifest
new file mode 100644
index 000000000000..d8b770e2005c
--- /dev/null
+++ b/dev-dotnet/mono-addins/Manifest
@@ -0,0 +1,8 @@
+AUX gmcs.patch 363 SHA256 aed8f6cc3bbe85d6f12e8b52e2b887c6fa793103d93672024868f81a671507b8 SHA512 139f162b03b6a21b31e954e9a37189a96250dc2eca13b9c8201ff547a19a71344e0a89e93d9b4a127b69739c12de432ddd7b0f524e0f12616a2931d999077960 WHIRLPOOL 44b41c908d27a953c1b9fffe87f0e85a3cfa22b5ff597e9462f7612730eb6f955172188624c10bcd64381dc9a8fa62c16df9e8a8b35ee896d3712e7236ccec2c
+DIST mono-addins-0.6.2.tar.bz2 337614 SHA256 3c24199e1de00860bffcfa0ff0859abe8ee38cacdcbffff0c6854042d8ea2f2c SHA512 6556cf8c82c9f25eba5df88bbec8d9d3dd39ad5b3a904cdadc82d6eccc71b27e07ad2faa2b41eba5b3519fd6dbcc50a398104e396dcae09b152252adb8f3f0f5 WHIRLPOOL b307fb11476bd2e29cdb80260b0c54556ebe5d3a25d4d84751415972085a72680218948fdbf030ba94cf7a5aacf155ce774d399f28771f73ddd41b060269faff
+DIST mono-addins-1.0.tar.gz 548940 SHA256 aee8ce94208478c98f04310ff5a7915d6fd143d1431d420911d58d3c6b951647 SHA512 ba2f625b2f9c9f0c367c87670c930b4c8ee874b04721fd1ca636c8ef5c27702256057c9bcebc9a3d1edd7bedd21a700268cbeadeecc795d3004a7b7ada8f5c24 WHIRLPOOL bec45263394880a12839c72283c4b5366af538f819018a0a86aa3f81d304c95da0ce43fe92f8fad8bb6a2a291854c05eb28d913db8ed56d0aa8a6086941b945a
+EBUILD mono-addins-0.6.2.ebuild 657 SHA256 72c733af28d1618185a0450ad7bda7f53b4ff1dd01cafac38c2f66852a86c018 SHA512 3ad0b445799f299b6389c0bc189daabf5ab0e76678c176c8c87256c517318e92a55fdd1dabaaec1fc19c10dc26f9fd605457667f5e951f7721222bf26abdea99 WHIRLPOOL 7d52e6866bd475aadb2470a253b08647d8da5fd13c7aa2d6c03c40929ce7074bebca4baa2acd9071e49ef11ad5ce6cad6ca228267f254bc1e1c155e22db43442
+EBUILD mono-addins-1.0-r1.ebuild 1185 SHA256 c0873bddbe60a959911b5dbdbb9308a94445b990c3bd91308d9689984c30fd9a SHA512 b5f17b70cf541f620aca5f94f770bfbb8f9711fc5881f48b890ef2eeeeb12c28e8b994f701da6ac0203ce098527fafbf0e3667fbca612af198be2177ba877a8a WHIRLPOOL ffb59e02a87fe4f6f865d8981426114ce20af460e08d25bd3cf650258abc41a09004e18ec51bfa75463f565d77a4235542ca5749665a229f14e076d33b347584
+MISC ChangeLog 2923 SHA256 f76c6b123a0c6946366ff2ee014f26f99d25821114b489b5ee38690ee26f4c7f SHA512 fe3e97d65f448eeb0e3aac62fd241ca205aa772f6152654fc9ceb7f590be3944e8d077d051cddbbc058f851fd06b4c27d3b99358dcd1ebafb6c25be3fcccfdf9 WHIRLPOOL 5c87f1cb8f549f640a833ee38a4cc44a5811714920cc8fc9697efb40f1c12bab5e1181e298e4c57fd0bd35431e0cbf230e7faf6d338e7215dcc0741d39ae76ca
+MISC ChangeLog-2015 4437 SHA256 6b22cf4a9b748055b460eee37e0fe81509f478f22bb3d8f31b4f2b2037bc68a3 SHA512 9071889562ddc6149f31613cbd3b316545b10bf98bf1af0d62dab8d4c57bea712285b9db6ab8a91464b7448ad5a7294ba78ccae96d184b61c6269d94c49b6ccc WHIRLPOOL 2addb64dcb479e95a78a3c18c56c245f024d2f725efd7d4da89a749663fee267476378c44db500bb6923b9ec61a0486b019c3f80a8cacbe8086f9d57fade1209
+MISC metadata.xml 336 SHA256 c43cb1638e8ed1dbd551fa0f0f47d3afdc778c83465147da8121afb3c9650286 SHA512 33236f001eff9cfedded49537f1204a0f7697e23ff2325865edeed28b309a5eff777374b310f45268c57545ba442ec71e767a0d62a25b7cd7dd69e4e8fb12fef WHIRLPOOL 8b58f3d7f9c8da7387605cd13525ae739fccc63766afa32b17f11fd2e5ea5fe9b040a001ef6812b2ca1d6245e8aee690969c5c0c896cd7a4404e393916092d6a
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
+}