1 |
commit: ff6f8a9503e7a5ef9080399f4960b3c67bebc158 |
2 |
Author: ArsenShnurkov <ArsenShnurkov <AT> users <DOT> noreply <DOT> github <DOT> com> |
3 |
AuthorDate: Fri Oct 13 11:39:53 2017 +0000 |
4 |
Commit: Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 13 11:39:53 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=ff6f8a95 |
7 |
|
8 |
compilation and signing done |
9 |
|
10 |
dev-dotnet/irony-daxnet/irony-daxnet-1.0.0_p2017083101.ebuild | 11 ++++++++--- |
11 |
dev-dotnet/sharpziplib/sharpziplib-0.86.0.762.ebuild | 6 +++--- |
12 |
2 files changed, 11 insertions(+), 6 deletions(-) |
13 |
|
14 |
diff --git a/dev-dotnet/irony-daxnet/irony-daxnet-1.0.0_p2017083101.ebuild b/dev-dotnet/irony-daxnet/irony-daxnet-1.0.0_p2017083101.ebuild |
15 |
index ead9db2..aaa7b01 100644 |
16 |
--- a/dev-dotnet/irony-daxnet/irony-daxnet-1.0.0_p2017083101.ebuild |
17 |
+++ b/dev-dotnet/irony-daxnet/irony-daxnet-1.0.0_p2017083101.ebuild |
18 |
@@ -40,7 +40,7 @@ DEPEND="${CDEPEND} |
19 |
" |
20 |
|
21 |
PROJECT_PATH="src/Irony" |
22 |
-PROJECT_FILE=Irony |
23 |
+PROJECT_NAME=Irony |
24 |
PROJECT_OUT=Irony |
25 |
|
26 |
KEY2="${DISTDIR}/mono.snk" |
27 |
@@ -57,12 +57,17 @@ function output_filename ( ) { |
28 |
} |
29 |
|
30 |
src_prepare() { |
31 |
- cp "${FILESDIR}/template.csproj" "${S}/${PROJECT_PATH}/${PROJECT_FILE}.csproj" || die |
32 |
+ sed -i "/Version/d" "${S}/${PROJECT_PATH}/Properties/AssemblyInfo.cs" || die |
33 |
+ cp "${FILESDIR}/template.csproj" "${S}/${PROJECT_PATH}/${PROJECT_NAME}.csproj" || die |
34 |
+ sed -i 's#^.*-- Reference --.*$#&\n<Reference Include="System.Xml" />#' "${S}/${PROJECT_PATH}/${PROJECT_NAME}.csproj" || die |
35 |
+ sed -i 's#^.*-- Reference --.*$#&\n<Reference Include="System.Numerics" />#' "${S}/${PROJECT_PATH}/${PROJECT_NAME}.csproj" || die |
36 |
+ sed -i 's#^.*-- Reference --.*$#&\n<Reference Include="Microsoft.CSharp" />#' "${S}/${PROJECT_PATH}/${PROJECT_NAME}.csproj" || die |
37 |
eapply_user |
38 |
} |
39 |
|
40 |
src_compile() { |
41 |
- emsbuild /p:SignAssembly=true /p:PublicSign=true "/p:AssemblyOriginatorKeyFile=${KEY2}" "/p:AssemblyName=${PROJECT_OUT}" "/p:ProjectType=Library" "/p:AssemblyVersion=${ASSEMBLY_VERSION}""${S}/${PROJECT_PATH}/${PROJECT_FILE}.csproj" |
42 |
+ emsbuild /p:SignAssembly=true /p:PublicSign=true "/p:AssemblyOriginatorKeyFile=${KEY2}" "/p:OutputName=${PROJECT_OUT}" "/p:OutputType=Library" "/p:VersionNumber=${ASSEMBLY_VERSION}" "${S}/${PROJECT_PATH}/${PROJECT_NAME}.csproj" |
43 |
+ sn -R "$(output_filename)" "${KEY2}" || die |
44 |
} |
45 |
|
46 |
src_install() { |
47 |
|
48 |
diff --git a/dev-dotnet/sharpziplib/sharpziplib-0.86.0.762.ebuild b/dev-dotnet/sharpziplib/sharpziplib-0.86.0.762.ebuild |
49 |
index 6737b71..a8a05bb 100644 |
50 |
--- a/dev-dotnet/sharpziplib/sharpziplib-0.86.0.762.ebuild |
51 |
+++ b/dev-dotnet/sharpziplib/sharpziplib-0.86.0.762.ebuild |
52 |
@@ -24,11 +24,11 @@ DESCRIPTION="Zip, GZip, Tar and BZip2 library written entirely in C# for the .NE |
53 |
LICENSE="MIT" # Actually not, it is GPL with exception - http://icsharpcode.github.io/SharpZipLib/ |
54 |
|
55 |
# dev-dotnet/system-security-cryptography-algorithms |
56 |
-COMMON_DEPENDENCIES="|| ( >=dev-lang/mono-5.4.0.167 <dev-lang/mono-9999 ) |
57 |
+CDEPEND="|| ( >=dev-lang/mono-5.4.0.167 <dev-lang/mono-9999 ) |
58 |
" |
59 |
-RDEPEND="${COMMON_DEPENDENCIES} |
60 |
+RDEPEND="${CDEPEND} |
61 |
" |
62 |
-DEPEND="${COMMON_DEPENDENCIES} |
63 |
+DEPEND="${CDEPEND} |
64 |
>=dev-dotnet/msbuildtasks-1.5.0.240 |
65 |
" |