summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeather Cynede <cynede@gentoo.org>2015-08-14 13:39:25 +0400
committerHeather Cynede <cynede@gentoo.org>2015-08-14 13:39:55 +0400
commitffb03ddf096eac0996015fffc200dc858be81391 (patch)
treeab6cbfdf190fbec56d233ba1a0af78c743451a15 /eclass/gtk-sharp-module.eclass
parentapp-editors/neovim: implement nvimpager useflag (diff)
downloadgentoo-ffb03ddf096eac0996015fffc200dc858be81391.tar.gz
gentoo-ffb03ddf096eac0996015fffc200dc858be81391.tar.bz2
gentoo-ffb03ddf096eac0996015fffc200dc858be81391.zip
eclass/gtk-sharp-module update for newer gtk-sharp packages
Diffstat (limited to 'eclass/gtk-sharp-module.eclass')
-rw-r--r--eclass/gtk-sharp-module.eclass23
1 files changed, 18 insertions, 5 deletions
diff --git a/eclass/gtk-sharp-module.eclass b/eclass/gtk-sharp-module.eclass
index 3919f84e22a7..7ecff1d6d091 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>