* [gentoo-commits] proj/dotnet:master commit in: dev-dotnet/soup-sharp/files/, dev-dotnet/webkitgtk-sharp/, ...
@ 2015-12-10 7:44 Heather Cynede
0 siblings, 0 replies; only message in thread
From: Heather Cynede @ 2015-12-10 7:44 UTC (permalink / raw
To: gentoo-commits
commit: 88c81b9424e85653751230b288fb6d59f5588c0a
Author: grafi <grafi <AT> grafi <DOT> jp>
AuthorDate: Wed Dec 9 09:11:07 2015 +0000
Commit: Heather Cynede <cynede <AT> gentoo <DOT> org>
CommitDate: Wed Dec 9 09:14:06 2015 +0000
URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=88c81b94
add webkitgtk-sharp and soup-sharp
.../files/soup-sharp-2.42.2-4404312-libdir.patch | 16 ++++++++++
.../files/soup-sharp-2.42.2-5898dab-mcs.patch | 13 +++++++++
dev-dotnet/soup-sharp/soup-sharp-2.42.2.ebuild | 34 ++++++++++++++++++++++
.../files/webkitgtk-sharp-2.0.0-aaad3bf-mcs.patch | 13 +++++++++
.../webkitgtk-sharp-2.0.0-fadd308-libdir.patch | 29 ++++++++++++++++++
.../webkitgtk-sharp/webkitgtk-sharp-2.0.0.ebuild | 34 ++++++++++++++++++++++
6 files changed, 139 insertions(+)
diff --git a/dev-dotnet/soup-sharp/files/soup-sharp-2.42.2-4404312-libdir.patch b/dev-dotnet/soup-sharp/files/soup-sharp-2.42.2-4404312-libdir.patch
new file mode 100644
index 0000000..b50ca10
--- /dev/null
+++ b/dev-dotnet/soup-sharp/files/soup-sharp-2.42.2-4404312-libdir.patch
@@ -0,0 +1,16 @@
+diff --git a/soup-sharp-2.4.pc.in b/soup-sharp-2.4.pc.in
+index c2dd575..84e5e2c 100644
+--- a/soup-sharp-2.4.pc.in
++++ b/soup-sharp-2.4.pc.in
+@@ -1,9 +1,10 @@
+ prefix=@prefix@
+ exec_prefix=${prefix}
+ libdir=@libdir@
++pkglibdir=${exec_prefix}/lib/mono/@ASSEMBLY_NAME@
+
+ Name: @ASSEMBLY_TITLE@
+ Description: @ASSEMBLY_DESCRIPTION@
+ Version: @VERSION@
+ Requires:
+-Libs: -r:${libdir}/mono/@ASSEMBLY_NAME@/@ASSEMBLY_NAME@.dll
++Libs: -r:${pkglibdir}/@ASSEMBLY_NAME@.dll
diff --git a/dev-dotnet/soup-sharp/files/soup-sharp-2.42.2-5898dab-mcs.patch b/dev-dotnet/soup-sharp/files/soup-sharp-2.42.2-5898dab-mcs.patch
new file mode 100644
index 0000000..806ad72
--- /dev/null
+++ b/dev-dotnet/soup-sharp/files/soup-sharp-2.42.2-5898dab-mcs.patch
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index fe7b089..d1fdac9 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -39,7 +39,7 @@ PKG_CHECK_MODULES(MONO_DEPENDENCY, mono >= 1.0, has_mono=true, has_mono=false)
+
+ if test "x$has_mono" = "xtrue"; then
+ 1 AC_PATH_PROG(RUNTIME, mono, no)
+- AC_PATH_PROG(CSC, gmcs, no)
++ AC_PATH_PROG(CSC, mcs, no)
+ LIB_PREFIX=.so
+ LIB_SUFFIX=
+ else
diff --git a/dev-dotnet/soup-sharp/soup-sharp-2.42.2.ebuild b/dev-dotnet/soup-sharp/soup-sharp-2.42.2.ebuild
new file mode 100644
index 0000000..d4ac869
--- /dev/null
+++ b/dev-dotnet/soup-sharp/soup-sharp-2.42.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit mono-env autotools eutils
+
+DESCRIPTION="C# Bindings for libsoup2.4"
+HOMEPAGE="https://github.com/stsundermann/soup-sharp"
+SRC_URI="https://github.com/stsundermann/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ >=dev-lang/mono-2.11
+ >=dev-dotnet/gtk-sharp-2.99.2:3
+ net-libs/libsoup"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ mkdir -p doc/en # upstream d474abc
+ epatch "$FILESDIR/${P}-4404312-libdir.patch"
+ epatch "$FILESDIR/${P}-5898dab-mcs.patch"
+ eautoreconf -I . -I m4
+}
+
+src_compile() {
+ emake -j1
+}
diff --git a/dev-dotnet/webkitgtk-sharp/files/webkitgtk-sharp-2.0.0-aaad3bf-mcs.patch b/dev-dotnet/webkitgtk-sharp/files/webkitgtk-sharp-2.0.0-aaad3bf-mcs.patch
new file mode 100644
index 0000000..7fb330f
--- /dev/null
+++ b/dev-dotnet/webkitgtk-sharp/files/webkitgtk-sharp-2.0.0-aaad3bf-mcs.patch
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index 8925cdb..355bdff 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -39,7 +39,7 @@ PKG_CHECK_MODULES(MONO_DEPENDENCY, mono >= 1.0, has_mono=true, has_mono=false)
+
+ if test "x$has_mono" = "xtrue"; then
+ 1 AC_PATH_PROG(RUNTIME, mono, no)
+- AC_PATH_PROG(CSC, gmcs, no)
++ AC_PATH_PROG(CSC, mcs, no)
+ LIB_PREFIX=.so
+ LIB_SUFFIX=
+ else
diff --git a/dev-dotnet/webkitgtk-sharp/files/webkitgtk-sharp-2.0.0-fadd308-libdir.patch b/dev-dotnet/webkitgtk-sharp/files/webkitgtk-sharp-2.0.0-fadd308-libdir.patch
new file mode 100644
index 0000000..731d772
--- /dev/null
+++ b/dev-dotnet/webkitgtk-sharp/files/webkitgtk-sharp-2.0.0-fadd308-libdir.patch
@@ -0,0 +1,29 @@
+diff --git a/sources/Makefile.am b/sources/Makefile.am
+index a726b23..aca6456 100644
+--- a/sources/Makefile.am
++++ b/sources/Makefile.am
+@@ -42,7 +42,7 @@ generated-stamp: $(API)
+
+ $(DLL): $(build_sources) generated-stamp
+ $(CSC) -nowarn:169 -unsafe -target:library $(GTK_SHARP_LIBS) \
+- $(build_sources) $(MONOCAIRO_LIBS) $(SOUPSHARP_LIBS) generated/*.cs -out:$(DLL)
++ $(build_sources) $(MONOCAIRO_LIBS) $(SOUPSHARP_LIBS) generated/*.cs generated/*/*.cs -out:$(DLL)
+
+ install-data-local:
+ echo "$(GACUTIL) /i $(DLL) /f $(GACUTIL_FLAGS)"; \
+diff --git a/webkitgtk-sharp-3.0.pc.in b/webkitgtk-sharp-3.0.pc.in
+index c2dd575..84e5e2c 100644
+--- a/webkitgtk-sharp-3.0.pc.in
++++ b/webkitgtk-sharp-3.0.pc.in
+@@ -1,9 +1,10 @@
+ prefix=@prefix@
+ exec_prefix=${prefix}
+ libdir=@libdir@
++pkglibdir=${exec_prefix}/lib/mono/@ASSEMBLY_NAME@
+
+ Name: @ASSEMBLY_TITLE@
+ Description: @ASSEMBLY_DESCRIPTION@
+ Version: @VERSION@
+ Requires:
+-Libs: -r:${libdir}/mono/@ASSEMBLY_NAME@/@ASSEMBLY_NAME@.dll
++Libs: -r:${pkglibdir}/@ASSEMBLY_NAME@.dll
diff --git a/dev-dotnet/webkitgtk-sharp/webkitgtk-sharp-2.0.0.ebuild b/dev-dotnet/webkitgtk-sharp/webkitgtk-sharp-2.0.0.ebuild
new file mode 100644
index 0000000..3a5ba09
--- /dev/null
+++ b/dev-dotnet/webkitgtk-sharp/webkitgtk-sharp-2.0.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit mono-env autotools eutils
+
+DESCRIPTION="C# bindings for WebKitGTK+ 3.0 using GObject Introspection"
+HOMEPAGE="https://github.com/stsundermann/webkitgtk-sharp"
+SRC_URI="https://github.com/stsundermann/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ >=dev-lang/mono-2.11
+ >=dev-dotnet/gtk-sharp-2.99.2:3
+ net-libs/webkit-gtk:3=
+ dev-dotnet/soup-sharp"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "$FILESDIR/${P}-fadd308-libdir.patch"
+ epatch "$FILESDIR/${P}-aaad3bf-mcs.patch"
+ eautoreconf -I . -I m4
+}
+
+src_compile() {
+ emake -j1
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-12-10 7:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-10 7:44 [gentoo-commits] proj/dotnet:master commit in: dev-dotnet/soup-sharp/files/, dev-dotnet/webkitgtk-sharp/, Heather Cynede
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox