commit:     ffb03ddf096eac0996015fffc200dc858be81391
Author:     Heather Cynede <cynede <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 14 09:39:25 2015 +0000
Commit:     Heather Cynede <cynede <AT> gentoo <DOT> org>
CommitDate: Fri Aug 14 09:39:55 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffb03ddf

eclass/gtk-sharp-module update for newer gtk-sharp packages

 eclass/gtk-sharp-module.eclass | 23 ++++++++++++++++++-----
 1 file changed, 18 insertions(+), 5 deletions(-)

diff --git a/eclass/gtk-sharp-module.eclass b/eclass/gtk-sharp-module.eclass
index 3919f84..7ecff1d 100644
--- a/eclass/gtk-sharp-module.eclass
+++ b/eclass/gtk-sharp-module.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -87,13 +87,21 @@ case ${GTK_SHARP_MODULE} in
        glib|glade|gtk|gdk|atk|pango|gtk-dotnet|gtk-gapi|gtk-docs)
                TARBALL="gtk-sharp"
                case ${PVR} in
-                       2.12.*)
+                       2.12.10*)
                                
SRC_URI="mirror://gentoo/${TARBALL}-2.12.7.patch.bz2"
                                #Upstream: 
https://bugzilla.novell.com/show_bug.cgi?id=$bugno
                                #Upstream bug #470390 for the 
gtk-sharp-2.12.7.patch
                                PATCHES=(
                                        "${WORKDIR}/${TARBALL}-2.12.7.patch"
                                )
+                               ;;
+                       2.12.11*)
+                               
SRC_URI="mirror://gentoo/${TARBALL}-2.12.11.patch.bz2"
+                               PATCHES=(
+                                       "${WORKDIR}/${TARBALL}-2.12.11.patch"
+                               )
+                               ;;
+                       2.12.1*)
                                EAUTORECONF="YES"
                                add_bdepend "=sys-devel/automake-1.10*"
                                add_bdepend ">=sys-devel/autoconf-2.61"
@@ -137,7 +145,7 @@ esac
 case ${PF} in
        #gtk-sharp tarball
        gtk-sharp-docs*)
-               add_depend ">=dev-lang/mono-2.0"
+               add_depend ">=virtual/monodoc-2.0"
                ;;
        gtk-sharp-gapi*)
                add_rdepend "!<=dev-dotnet/gtk-sharp-2.12.7:2"
@@ -275,8 +283,13 @@ S="${WORKDIR}/${TARBALL}-${PV}"
 # @ECLASS-VARIABLE: SRC_URI
 # @DESCRIPTION:
 # Default value: 
mirror://gnome/sources/${TARBALL}/${PV_MAJOR}/${TARBALL}-${PV}.tar.bz2
-SRC_URI="${SRC_URI}
-       mirror://gnome/sources/${TARBALL}/${PV_MAJOR}/${TARBALL}-${PV}.tar.bz2"
+if TARBALL="gtk-sharp"; then
+       SRC_URI="${SRC_URI}
+               
http://download.mono-project.com/sources/gtk-sharp212/${TARBALL}-${PV}.tar.bz2";
+else
+       SRC_URI="${SRC_URI}
+               
mirror://gnome/sources/${TARBALL}/${PV_MAJOR}/${TARBALL}-${PV}.tar.bz2"
+fi
 
 # @FUNCTION: get_sharp_apis
 # @USAGE: <type> <pkgconfig-package>

Reply via email to