aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormpkh <cynede@gentoo.org>2018-05-30 18:48:58 +0400
committerGitHub <noreply@github.com>2018-05-30 18:48:58 +0400
commit0e9961bb94d989f6eb4f2b920ebd5ada6cc3fb32 (patch)
tree494da07bf1691c4937fd43ff2eda468801350cee
parentMerge pull request #395 from madsl/master (diff)
parentAdd ebuilds for 2.24.4 and git (diff)
downloaddotnet-0e9961bb94d989f6eb4f2b920ebd5ada6cc3fb32.tar.gz
dotnet-0e9961bb94d989f6eb4f2b920ebd5ada6cc3fb32.tar.bz2
dotnet-0e9961bb94d989f6eb4f2b920ebd5ada6cc3fb32.zip
Merge pull request #391 from Lahvuun/master
dev-dotnet/gnome-sharp: add new ebuilds and fix repoman warnings
-rw-r--r--dev-dotnet/gnome-sharp/Manifest1
-rw-r--r--dev-dotnet/gnome-sharp/gnome-sharp-2.24.2-r2.ebuild3
-rw-r--r--dev-dotnet/gnome-sharp/gnome-sharp-2.24.4.ebuild82
-rw-r--r--dev-dotnet/gnome-sharp/gnome-sharp-9999.ebuild82
4 files changed, 166 insertions, 2 deletions
diff --git a/dev-dotnet/gnome-sharp/Manifest b/dev-dotnet/gnome-sharp/Manifest
index 565a751..a8f183d 100644
--- a/dev-dotnet/gnome-sharp/Manifest
+++ b/dev-dotnet/gnome-sharp/Manifest
@@ -1 +1,2 @@
+DIST 2.24.4.tar.gz 321244 SHA256 4e72b9b452af9cf54250564b0b633e5a5925f50ddb3b39e97efd0abe69bc077e SHA512 00f0b9b917c13086f4e83091f1c99c21182288f0a2a3c9be2e71ed56b3d32d30c65a59a03101668ce410abea06f3ea4ef617fcf085f6a3be6eae8b2476e41a4f WHIRLPOOL c30c81f1d2b2599fdfb985c7024119d3be1f84f4389e8c9af4911553866312f0d4d0332aa6b56b4331aede17a37eab120e0fdc977b69d3a91d4e5e17ee065574
DIST gnome-sharp-2.24.2.tar.bz2 421281 SHA256 122b1e03966d63ec3389decf5440fb94285907d1b6be48352dcf6aca292cf7b0 SHA512 1bf786d6febfb1d7fe29b2b94000ac56a61233dd842d173d028814b2c8f2360df060d781af16db509e9a0a445bdcbef9ed99af5793630192f50440cd0536e571 WHIRLPOOL 07fb7efd8c98e70dae0d2e9c6a2db7a09b551bf16187eb8c20b877218e0c85fb6164baff8eac9c84b1624ce69c81da61a0dbbf41918b75f3267f839b247f9ec8
diff --git a/dev-dotnet/gnome-sharp/gnome-sharp-2.24.2-r2.ebuild b/dev-dotnet/gnome-sharp/gnome-sharp-2.24.2-r2.ebuild
index b23cbb5..3b20d20 100644
--- a/dev-dotnet/gnome-sharp/gnome-sharp-2.24.2-r2.ebuild
+++ b/dev-dotnet/gnome-sharp/gnome-sharp-2.24.2-r2.ebuild
@@ -1,6 +1,5 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id$
EAPI="6"
diff --git a/dev-dotnet/gnome-sharp/gnome-sharp-2.24.4.ebuild b/dev-dotnet/gnome-sharp/gnome-sharp-2.24.4.ebuild
new file mode 100644
index 0000000..e397cae
--- /dev/null
+++ b/dev-dotnet/gnome-sharp/gnome-sharp-2.24.4.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit dotnet autotools
+
+SLOT="2"
+DESCRIPTION="gnome bindings for mono"
+HOMEPAGE="http://www.mono-project.com/GtkSharp"
+LICENSE="GPL-2"
+
+# Taken from the bootstrap configure script to allow using portage
+# functions for building. Should be updated accordingly.
+GNOME_SHARP_VERSION=2.24.4 # Not using ${PV} because 9999 depends on this value. Must be bumped with every release.
+ASSEMBLY_VERSION=2.24.0.0
+POLICY_VERSIONS="2.4 2.6 2.8 2.16 2.20"
+GTK_REQUIRED_VERSION=2.13.0
+GTK_SHARP_REQUIRED_VERSION=2.12.2
+GNOME_REQUIRED_VERSION=2.23.0
+GNOMECANVAS_REQUIRED_VERSION=2.20.0
+VERSIONCSDEFINES="-define:GTK_SHARP_2_6 -define:GTK_SHARP_2_8 -define:GNOME_SHARP_2_16 -define:GNOME_SHARP_2_20 -define:GNOME_SHARP_2_24"
+VERSIONCFLAGS="-DGTK_SHARP_2_6 -DGTK_SHARP_2_8 -DGNOME_SHARP_2_16 -DGNOME_SHARP_2_20 -DGNOME_SHARP_2_24"
+GNOME_API_TAG=2.20
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/mono/gnome-sharp.git"
+ inherit git-r3
+else
+ KEYWORDS="~amd64 ~x86 ~ppc"
+ SRC_URI="https://github.com/mono/${PN}/archive/${PV}.tar.gz"
+fi
+
+IUSE="debug"
+
+RESTRICT="test"
+
+RDEPEND="
+ >=dev-dotnet/gtk-sharp-2.12.21:2
+ gnome-base/gconf
+ gnome-base/libgnomecanvas
+ gnome-base/libgnomeui
+ media-libs/libart_lgpl
+ !dev-dotnet/gnomevfs-sharp
+ !dev-dotnet/gconf-sharp
+ !dev-dotnet/art-sharp
+ "
+DEPEND="${RDEPEND}
+ sys-devel/automake:1.11"
+
+pkg_pretend() {
+ if [[ ${PV} != "9999" ]] ; then
+ if [[ ${PV} > ${GNOME_SHARP_VERSION} ]] ; then
+ die "Revision bumps must also update the GNOME_SHARP_VERSION variable."
+ fi
+ fi
+}
+
+src_prepare() {
+ sed -e "s/@GNOME_SHARP_VERSION@/$GNOME_SHARP_VERSION/" \
+ -e "s/@GTK_REQUIRED_VERSION@/$GTK_REQUIRED_VERSION/" \
+ -e "s/@GTK_SHARP_REQUIRED_VERSION@/$GTK_SHARP_REQUIRED_VERSION/" \
+ -e "s/@GNOME_REQUIRED_VERSION@/$GNOME_REQUIRED_VERSION/" \
+ -e "s/@GNOMECANVAS_REQUIRED_VERSION@/$GNOMECANVAS_REQUIRED_VERSION/" \
+ -e "s/@VERSIONCSDEFINES@/$VERSIONCSDEFINES/" \
+ -e "s/@VERSIONCFLAGS@/$VERSIONCFLAGS/" \
+ -e "s/@POLICY_VERSIONS@/$POLICY_VERSIONS/" \
+ -e "s/@ASSEMBLY_VERSION@/$ASSEMBLY_VERSION/" "$S/configure.in.in" > "$S/configure.in"
+
+ default
+ eautoreconf
+ elibtoolize
+}
+
+src_configure() {
+ econf $(use_enable debug)
+}
+
+src_install() {
+ default
+ dotnet_multilib_comply
+}
diff --git a/dev-dotnet/gnome-sharp/gnome-sharp-9999.ebuild b/dev-dotnet/gnome-sharp/gnome-sharp-9999.ebuild
new file mode 100644
index 0000000..e397cae
--- /dev/null
+++ b/dev-dotnet/gnome-sharp/gnome-sharp-9999.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit dotnet autotools
+
+SLOT="2"
+DESCRIPTION="gnome bindings for mono"
+HOMEPAGE="http://www.mono-project.com/GtkSharp"
+LICENSE="GPL-2"
+
+# Taken from the bootstrap configure script to allow using portage
+# functions for building. Should be updated accordingly.
+GNOME_SHARP_VERSION=2.24.4 # Not using ${PV} because 9999 depends on this value. Must be bumped with every release.
+ASSEMBLY_VERSION=2.24.0.0
+POLICY_VERSIONS="2.4 2.6 2.8 2.16 2.20"
+GTK_REQUIRED_VERSION=2.13.0
+GTK_SHARP_REQUIRED_VERSION=2.12.2
+GNOME_REQUIRED_VERSION=2.23.0
+GNOMECANVAS_REQUIRED_VERSION=2.20.0
+VERSIONCSDEFINES="-define:GTK_SHARP_2_6 -define:GTK_SHARP_2_8 -define:GNOME_SHARP_2_16 -define:GNOME_SHARP_2_20 -define:GNOME_SHARP_2_24"
+VERSIONCFLAGS="-DGTK_SHARP_2_6 -DGTK_SHARP_2_8 -DGNOME_SHARP_2_16 -DGNOME_SHARP_2_20 -DGNOME_SHARP_2_24"
+GNOME_API_TAG=2.20
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/mono/gnome-sharp.git"
+ inherit git-r3
+else
+ KEYWORDS="~amd64 ~x86 ~ppc"
+ SRC_URI="https://github.com/mono/${PN}/archive/${PV}.tar.gz"
+fi
+
+IUSE="debug"
+
+RESTRICT="test"
+
+RDEPEND="
+ >=dev-dotnet/gtk-sharp-2.12.21:2
+ gnome-base/gconf
+ gnome-base/libgnomecanvas
+ gnome-base/libgnomeui
+ media-libs/libart_lgpl
+ !dev-dotnet/gnomevfs-sharp
+ !dev-dotnet/gconf-sharp
+ !dev-dotnet/art-sharp
+ "
+DEPEND="${RDEPEND}
+ sys-devel/automake:1.11"
+
+pkg_pretend() {
+ if [[ ${PV} != "9999" ]] ; then
+ if [[ ${PV} > ${GNOME_SHARP_VERSION} ]] ; then
+ die "Revision bumps must also update the GNOME_SHARP_VERSION variable."
+ fi
+ fi
+}
+
+src_prepare() {
+ sed -e "s/@GNOME_SHARP_VERSION@/$GNOME_SHARP_VERSION/" \
+ -e "s/@GTK_REQUIRED_VERSION@/$GTK_REQUIRED_VERSION/" \
+ -e "s/@GTK_SHARP_REQUIRED_VERSION@/$GTK_SHARP_REQUIRED_VERSION/" \
+ -e "s/@GNOME_REQUIRED_VERSION@/$GNOME_REQUIRED_VERSION/" \
+ -e "s/@GNOMECANVAS_REQUIRED_VERSION@/$GNOMECANVAS_REQUIRED_VERSION/" \
+ -e "s/@VERSIONCSDEFINES@/$VERSIONCSDEFINES/" \
+ -e "s/@VERSIONCFLAGS@/$VERSIONCFLAGS/" \
+ -e "s/@POLICY_VERSIONS@/$POLICY_VERSIONS/" \
+ -e "s/@ASSEMBLY_VERSION@/$ASSEMBLY_VERSION/" "$S/configure.in.in" > "$S/configure.in"
+
+ default
+ eautoreconf
+ elibtoolize
+}
+
+src_configure() {
+ econf $(use_enable debug)
+}
+
+src_install() {
+ default
+ dotnet_multilib_comply
+}