Commit c39702d1 authored by saltedcoffii's avatar saltedcoffii Committed by GitHub

[Update Package] mono (#5238)

* [Update Package] mono

* Various fixes
parent 7b230e40
......@@ -3,27 +3,29 @@ require 'package'
class Mono < Package
description 'Mono is a software platform designed to allow developers to easily create cross platform applications part of the .NET Foundation.'
homepage 'http://www.mono-project.com/'
version '6.8.0.123-1'
version '6.12.0.107'
compatibility 'all'
source_url 'https://download.mono-project.com/sources/mono/mono-6.8.0.123.tar.xz'
source_sha256 'e2e42d36e19f083fc0d82f6c02f7db80611d69767112af353df2f279744a2ac5'
source_url 'https://download.mono-project.com/sources/mono/mono-6.12.0.107.tar.xz'
source_sha256 '61f3cd629f8e99371c6b47c1f8d96b8ac46d9e851b5531eef20cdf9ab60d2a5f'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/mono-6.8.0.123-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/mono-6.8.0.123-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/mono-6.8.0.123-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/mono-6.8.0.123-1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '8e62055873099e3f943dd33789274c3db2d5436ddec704c72c8cf758d24f6ee5',
armv7l: '8e62055873099e3f943dd33789274c3db2d5436ddec704c72c8cf758d24f6ee5',
i686: 'd0442cd9a809387cf79cb6a605018244704ccd25333fcc33f1e8440fc0c52a04',
x86_64: '46077f0cefcfc389006e730755ec9832a7624d67b9285b27410655cd65b55083',
})
depends_on 'bc'
depends_on 'libgdiplus'
depends_on 'python3' => :build
depends_on 'imake' => :build
def self.prebuild
system "if [ ! -f /proc/config.gz ]; then sudo modprobe configs -v; fi"
system "cat /proc/config.gz | gunzip | grep SYSVIPC=y || false" # Mono build hangs without this feature enabled.
end
def self.build
system "./configure #{CREW_OPTIONS} --disable-dependency-tracking --disable-maintainer-mode --disable-silent-rules --enable-nls=no"
system 'make'
system "env XMKMF=#{CREW_PREFIX}/bin/xmkmf \
./configure #{CREW_OPTIONS} \
--disable-maintainer-mode \
--enable-ninja \
--with-x \
--with-libgdiplus"
system 'make || make' # Make might fail the first time. This is a known upstream bug.
end
def self.install
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment