summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Johanson <latexer@gentoo.org>2006-03-16 07:02:44 +0000
committerPeter Johanson <latexer@gentoo.org>2006-03-16 07:02:44 +0000
commit7273b0af5cbf32228f7bec9239c91431106c8096 (patch)
tree649edf0e2747b4b8bc23f3e44a1ec799cbdd5d14 /eclass/gtk-sharp-component.eclass
parentAdding some necessary patches to fix QT mess. (diff)
downloadgentoo-2-7273b0af5cbf32228f7bec9239c91431106c8096.tar.gz
gentoo-2-7273b0af5cbf32228f7bec9239c91431106c8096.tar.bz2
gentoo-2-7273b0af5cbf32228f7bec9239c91431106c8096.zip
Small SRC_URI addition in preparation for 2.{4,8}.2 bump, and a little overdue clean-up.
Diffstat (limited to 'eclass/gtk-sharp-component.eclass')
-rw-r--r--eclass/gtk-sharp-component.eclass22
1 files changed, 5 insertions, 17 deletions
diff --git a/eclass/gtk-sharp-component.eclass b/eclass/gtk-sharp-component.eclass
index 250d9494a239..0616bdd53031 100644
--- a/eclass/gtk-sharp-component.eclass
+++ b/eclass/gtk-sharp-component.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gtk-sharp-component.eclass,v 1.23 2006/01/29 04:05:30 latexer Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gtk-sharp-component.eclass,v 1.24 2006/03/16 07:02:44 latexer Exp $
# Author : Peter Johanson <latexer@gentoo.org>
# Based off of original work in gst-plugins.eclass by <foser@gentoo.org>
@@ -17,6 +17,10 @@ RESTRICT="test"
[ "${PV:0:1}" == "2" ] \
&& SOURCE_SERVER="http://www.go-mono.com/sources/gtk-sharp-2.0/"
+# Can be switched to [ "${PV:0:3}" == "2.8" ] when 2.8.0 is out of the tree.
+[ "${PV}" == "2.8.2" ] \
+ && SOURCE_SERVER="http://www.go-mono.com/sources/gtk-sharp-2.8/"
+
[ "${PV}" == "1.0.10" ] \
&& SOURCE_SERVER="http://www.go-mono.com/sources/gtk-sharp/"
@@ -90,16 +94,6 @@ gtk-sharp-component_fix_makefiles() {
${makefiles} || die "Failed to fix the gtk-sharp makefiles"
fi
- # Changes specific to 1.9.3
-# if [ "${PV:0:5}" == "1.9.3" ] || \
-# [ "${PV:0:5}" == "1.9.5" ] || \
-# [ "${PV:0:3}" == "2.3" ] || \
-# [ "${PV:0:3}" == "2.5" ] ; then
-# sed -i -e "s:\$(API) \$(top_builddir)/parser/gapi-fixup.exe:\$(API):" \
-# -e "s:\$(API) \$(top_builddir)/generator/gapi_codegen.exe:\$(API):" \
-# ${makefiles} || die "Failed to fix the gtk-sharp makefiles"
-# fi
-
# Changes specific to *-sharp-1.0.x
if [ "${PV:0:3}" = "1.0" ] ; then
sed -i -e "s:\$(RUNTIME) \.\./parser/gapi-fixup.exe:${GAPI_FIXUP}:" \
@@ -107,12 +101,6 @@ gtk-sharp-component_fix_makefiles() {
-e "s: \.\./generator/gapi_codegen.exe::" \
${makefiles} || die "Failed to fix the gtk-sharp makefiles"
fi
-
- # Changes only in 1.9.x
-# if [ "${PV:0:1}" == "2" ]; then
-# sed -i -e "s;\.\./[[:alpha:]]*/\([[:alpha:]]*\(-[[:alpha:]]*\)*\).dll;${GTK_SHARP_LIB_DIR}/\1.dll;g" \
-# ${makefiles} || die "Failed to fix the gtk-sharp makefiles"
-# fi
}
gtk-sharp-component_src_unpack() {