aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArsenShnurkov <Arsen.Shnurkov@gmail.com>2016-03-17 21:58:55 +0300
committerArsenShnurkov <Arsen.Shnurkov@gmail.com>2016-03-17 21:58:55 +0300
commitfcea55124069aa81a70672f05cf07eab868abc27 (patch)
tree373e289331494b7b471ce79875b2c18a4d21ecbd /dev-dotnet/ikvm
parentlift java dependency 1.7->1.8 (diff)
downloaddotnet-fcea55124069aa81a70672f05cf07eab868abc27.tar.gz
dotnet-fcea55124069aa81a70672f05cf07eab868abc27.tar.bz2
dotnet-fcea55124069aa81a70672f05cf07eab868abc27.zip
lift to the latest mono commit
Diffstat (limited to 'dev-dotnet/ikvm')
-rw-r--r--dev-dotnet/ikvm/Manifest2
-rw-r--r--dev-dotnet/ikvm/ikvm-7.2.4630.5_p201602270.ebuild (renamed from dev-dotnet/ikvm/ikvm-7.2.4630.5-r1.ebuild)40
2 files changed, 31 insertions, 11 deletions
diff --git a/dev-dotnet/ikvm/Manifest b/dev-dotnet/ikvm/Manifest
index e170453..1ab710d 100644
--- a/dev-dotnet/ikvm/Manifest
+++ b/dev-dotnet/ikvm/Manifest
@@ -1,2 +1,4 @@
+DIST ikvm-fork-mono-7.2.4630.5_p201602270-00252c18fc0a4a206e45461736a890acb785a9d8.zip 336973 SHA256 0e3ab9092abaee414bbdcdfa3cea7a46d6a30e463f3f8fde5cd9580fe2db805c SHA512 218a14361c4c4b82a8f649c34f083537a43eee8c5fe33bca8be717ffa882c32794765d7d991bf881a6d01222f07a8bfd7fd6d069efc8a7b20ca0bdb94bbbaa51 WHIRLPOOL cdeb87cb78cc728c1151786bcf2f945c07c7aa24357e5a34b59cddd4d988abd59a3b0dbd2bbf24a46cec74f3d451ddaee0cd2e7086f0dc2b29b6be4b9f5275bf
DIST ikvmsrc-7.2.4630.5.zip 2122274 SHA256 171c87cff6d74651c410011ed06567120fb2b928e0b50bf004fa2c9131e4e921 SHA512 d4182ad5e8fd57932fb747f4a2e4e0c0249b2ad7bc6de1447fe60f595e1f4b54eea2ec9c5a500f34735a600482c0ef546c6d547bdca473367f7b9114d2a78a87 WHIRLPOOL 0dab8007270f47ed85cf98c270940fa55ef3ab1a39669bfc5a0009ad83258853fb6f148af52871111f3ba0f1305779fd4dbb1fc503fc0ba1b8ac44db2643a385
+DIST mono.snk.bz2 785 SHA256 0cc2ca58f90773eafa8460dfb8ff4ac6238b68106eb1631348a800091a6ff3de SHA512 de64da7a9e4fa53e5a5abaee00aae05ce3560c72ad8251fd79e2ff9ffa7fb2d5e7c1a4bdb2dbc2eeeeac6450aaad8c40649ff4675ddf95365ef8604a93333224 WHIRLPOOL 05882dd5cc9e2b99b78dc882fed49547dc6b6c133616574987322623e3bd734dc74435b69a6c864f928eb087df7a1ab42910adc47a7d0e70d54178e6b319f628
DIST openjdk-7u4-stripped.zip 55617337 SHA256 d85b89b452ecdb46309ec39b28e283813660bb8b8399d4c222d3ff1a83b971f9 SHA512 3f4d32994c9a078b68ae6da13770c249561240a01840f88094e139b0297b25e37a2acd3ef74fa14a830be5aa43c693b3ecf1c745dbc7051c4b2e1816c397e9a1 WHIRLPOOL b7690de8c31acb4b3a62fdd132bcf33b2264559e64a116d75fed3a3edeb570345ade582377d2d824d2ab5831a0865b5b1c51f7a514285935696be3cef5079b1b
diff --git a/dev-dotnet/ikvm/ikvm-7.2.4630.5-r1.ebuild b/dev-dotnet/ikvm/ikvm-7.2.4630.5_p201602270.ebuild
index 994d253..6f1894f 100644
--- a/dev-dotnet/ikvm/ikvm-7.2.4630.5-r1.ebuild
+++ b/dev-dotnet/ikvm/ikvm-7.2.4630.5_p201602270.ebuild
@@ -1,17 +1,28 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="4"
+EAPI="6"
inherit eutils dotnet multilib java-pkg-2
DESCRIPTION="Java VM for .NET"
HOMEPAGE="http://www.ikvm.net/ http://weblog.ikvm.net/"
-SRC_URI="http://www.frijters.net/openjdk-7u4-stripped.zip
- http://www.frijters.net/${PN}src-${PV}.zip"
LICENSE="ZLIB GPL-2-with-linking-exception"
+GITHUBNAME="mono/ikvm-fork"
+EGIT_BRANCH="master"
+EGIT_COMMIT="00252c18fc0a4a206e45461736a890acb785a9d8"
+GITHUBACC=${GITHUBNAME%/*}
+GITHUBREPO=${GITHUBNAME#*/}
+GITFILENAME=${GITHUBREPO}-${GITHUBACC}-${PV}-${EGIT_COMMIT}
+GITHUB_ZIP="https://api.github.com/repos/${GITHUBACC}/${GITHUBREPO}/zipball/${EGIT_COMMIT} -> ${GITFILENAME}.zip"
+S="${WORKDIR}/${GITFILENAME}"
+
+SRC_URI="http://www.frijters.net/openjdk-7u4-stripped.zip
+ mirror://gentoo/mono.snk.bz2
+ ${GITHUB_ZIP}"
+
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
@@ -26,23 +37,30 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
app-arch/sharutils"
+src_unpack() {
+ default_src_unpack
+ einfo '"'${WORKDIR}/${GITHUBACC}-${GITHUBREPO}-'"'*
+ mv "${WORKDIR}/${GITHUBACC}-${GITHUBREPO}-"* "${WORKDIR}/${GITFILENAME}" || die
+}
+
src_prepare() {
# We cannot rely on Mono Crypto Service Provider as it doesn't work inside
# sandbox, we simply hard-code the path to a bundled key like Debian does.
- epatch "${FILESDIR}"/${PN}-7.1.4532.2-key.patch
- mkdir -p ../debian/ || die
- uudecode < "${FILESDIR}"/mono.snk.uu -o ../debian/mono.snk || die
+ #epatch "${FILESDIR}"/${PN}-7.1.4532.2-key.patch
+ #mkdir -p ../debian/ || die
+ #uudecode < "${FILESDIR}"/mono.snk.uu -o ../debian/mono.snk || die
# Ensures that we use Mono's bundled copy of SharpZipLib instead of relying
# on ikvm-bin one
- sed -i -e 's:../bin/ICSharpCode.SharpZipLib.dll:ICSharpCode.SharpZipLib.dll:' \
- ikvmc/ikvmc.build ikvmstub/ikvmstub.build || die
+ #sed -i -e 's:../bin/ICSharpCode.SharpZipLib.dll:ICSharpCode.SharpZipLib.dll:' \
+ # ikvmc/ikvmc.build ikvmstub/ikvmstub.build || die
- sed -i -e 's:pkg-config --cflags:pkg-config --cflags --libs:' \
- native/native.build || die
+ #sed -i -e 's:pkg-config --cflags:pkg-config --cflags --libs:' \
+ # native/native.build || die
mkdir -p "${T}"/home/test
java-pkg-2_src_prepare
+ eapply_user
}
src_configure() {