summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Volodymyr Medvid <vmedvid@riseup.net> 2015-09-06 16:51:39 +0000
committerAvatar Wulf C. Krueger <philantrop@exherbo.org> 2015-11-08 14:24:56 +0100
commita5d553530c2e06c4f6d56d5f45f7ff4f83759d3f (patch)
tree9ee46472aa1d3f607890b2c244180ead574f990e
parentb21e55b8c4011dc84644d1243b4fe020a8d23d3b (diff)
downloadmono-a5d553530c2e06c4f6d56d5f45f7ff4f83759d3f.tar.gz
mono-a5d553530c2e06c4f6d56d5f45f7ff4f83759d3f.tar.xz
mono-addins: bump to 1.2, fix build with mono-4
Change-Id: I7380a5ffd336a94a26e33bf27d62052449e16034 Reviewed-on: https://galileo.mailstation.de/gerrit/3514 Reviewed-by: Wulf C. Krueger <philantrop@exherbo.org>
-rw-r--r--packages/dev-dotnet/mono-addins/files/mono-addins-1.2-Use-PKG_PROG_PKG_CONFIG-macro.patch (renamed from packages/dev-dotnet/mono-addins/files/mono-addins-1.1-Use-PKG_PROG_PKG_CONFIG-macro.patch)0
-rw-r--r--packages/dev-dotnet/mono-addins/mono-addins-1.2.exheres-0 (renamed from packages/dev-dotnet/mono-addins/mono-addins-1.1.exheres-0)19
2 files changed, 15 insertions, 4 deletions
diff --git a/packages/dev-dotnet/mono-addins/files/mono-addins-1.1-Use-PKG_PROG_PKG_CONFIG-macro.patch b/packages/dev-dotnet/mono-addins/files/mono-addins-1.2-Use-PKG_PROG_PKG_CONFIG-macro.patch
index eb0b366..eb0b366 100644
--- a/packages/dev-dotnet/mono-addins/files/mono-addins-1.1-Use-PKG_PROG_PKG_CONFIG-macro.patch
+++ b/packages/dev-dotnet/mono-addins/files/mono-addins-1.2-Use-PKG_PROG_PKG_CONFIG-macro.patch
diff --git a/packages/dev-dotnet/mono-addins/mono-addins-1.1.exheres-0 b/packages/dev-dotnet/mono-addins/mono-addins-1.2.exheres-0
index edc55b3..93d2f53 100644
--- a/packages/dev-dotnet/mono-addins/mono-addins-1.1.exheres-0
+++ b/packages/dev-dotnet/mono-addins/mono-addins-1.2.exheres-0
@@ -2,14 +2,17 @@
# Distributed under the terms of the GNU General Public License v2
require github [ user=mono tag=${PNV} ] mono
-require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.13 1.12 1.11 1.10 ] ]
+require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 1.13 ] ]
SUMMARY="A generic framework for creating extensible applications"
LICENCES="MIT"
SLOT="0"
PLATFORMS="~amd64 ~x86"
-MYOPTIONS="gui"
+MYOPTIONS="
+ gui [[ description = [ Enable support for GTK dependent libraries ] ]]
+ gui-gtk3 [[ description = [ Enable support for GTK3 dependent libraries ] ]]
+"
DEPENDENCIES="
build:
@@ -17,11 +20,19 @@ DEPENDENCIES="
build+run:
dev-lang/mono[>=1.0]
gui? ( gnome-bindings/gtk-sharp:2 )
+ gui-gtk3? ( gnome-bindings/gtk-sharp:3[>=2.99] )
"
+# Tests require nunit (unpackaged)
+RESTRICT="test"
+
DEFAULT_SRC_PREPARE_PATCHES=( "${FILES}"/${PNV}-Use-PKG_PROG_PKG_CONFIG-macro.patch )
-DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=( gui )
+DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=( gui gui-gtk3 )
+
+DEFAULT_SRC_CONFIGURE_TESTS=( '--enable-tests --disable-tests' )
-DEFAULT_SRC_CONFIGURE_PARAMS=( --enable-tests )
+pkg_setup() {
+ export MCS=/usr/$(exhost --target)/bin/mcs
+}