/[gentoo-x86]/eclass/gtk-sharp-module.eclass
Gentoo

Diff of /eclass/gtk-sharp-module.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.14 Revision 1.19
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/gtk-sharp-module.eclass,v 1.14 2009/01/29 22:48:20 loki_val Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gtk-sharp-module.eclass,v 1.19 2009/03/09 01:02:13 loki_val Exp $
4 4
5# @ECLASS: gtk-sharp-module.eclass 5# @ECLASS: gtk-sharp-module.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# dotnet@gentoo.org 7# dotnet@gentoo.org
8# @BLURB: Manages the modules of the gtk-, gnome-, and gnome-desktop-sharp tarballs 8# @BLURB: Manages the modules of the gtk-, gnome-, and gnome-desktop-sharp tarballs
80# to which GTK_SHARP_MODULE belongs. 80# to which GTK_SHARP_MODULE belongs.
81case ${GTK_SHARP_MODULE} in 81case ${GTK_SHARP_MODULE} in
82 glib|glade|gtk|gdk|atk|pango|gtk-dotnet|gtk-gapi|gtk-docs) 82 glib|glade|gtk|gdk|atk|pango|gtk-dotnet|gtk-gapi|gtk-docs)
83 TARBALL="gtk-sharp" 83 TARBALL="gtk-sharp"
84 case ${PVR} in 84 case ${PVR} in
85 2.12.7-r1*) 85 2.12.*)
86 SRC_URI="mirror://gentoo/gtk-sharp-2.12.0-patches.tar.bz2 86 SRC_URI="mirror://gentoo/${TARBALL}-2.12.7.patch.bz2"
87 mirror://gentoo/gtk-sharp-2.12.7.patch.bz2"
88 #Upstream: https://bugzilla.novell.com/show_bug.cgi?id=$bugno 87 #Upstream: https://bugzilla.novell.com/show_bug.cgi?id=$bugno
89 #Upstream bug #421063 for the parallel-make patches
90 #Upstream bug #470390 for the gtk-sharp-2.12.7.patch 88 #Upstream bug #470390 for the gtk-sharp-2.12.7.patch
91 PATCHES=( "${WORKDIR}/patches/${TARBALL}-2.12.0-parallelmake.patch" 89 PATCHES=(
92 "${WORKDIR}/patches/${TARBALL}-2.12.0-doc-parallelmake.patch"
93 "${WORKDIR}/${TARBALL}-2.12.7.patch" ) 90 "${WORKDIR}/${TARBALL}-2.12.7.patch"
91 )
94 EAUTORECONF="YES" 92 EAUTORECONF="YES"
95 add_bdepend "=sys-devel/automake-1.10*" 93 add_bdepend "=sys-devel/automake-1.10*"
96 add_bdepend ">=sys-devel/autoconf-2.61" 94 add_bdepend ">=sys-devel/autoconf-2.61"
97 ;; 95 ;;
98 esac 96 esac
100 art|gnome|gnomevfs|gconf) 98 art|gnome|gnomevfs|gconf)
101 TARBALL="gnome-sharp" 99 TARBALL="gnome-sharp"
102 add_depend "=dev-dotnet/gtk-sharp-${GTK_SHARP_REQUIRED_VERSION}*" 100 add_depend "=dev-dotnet/gtk-sharp-${GTK_SHARP_REQUIRED_VERSION}*"
103 has "${GTK_SHARP_MODULE}" "${gapi_users_list}" && \ 101 has "${GTK_SHARP_MODULE}" "${gapi_users_list}" && \
104 add_bdepend "=dev-dotnet/gtk-sharp-gapi-${GTK_SHARP_REQUIRED_VERSION}*" 102 add_bdepend "=dev-dotnet/gtk-sharp-gapi-${GTK_SHARP_REQUIRED_VERSION}*"
103 case ${PVR} in
104 2.24.1*)
105 SRC_URI="mirror://gentoo/${TARBALL}-2.24.1.patch.bz2"
106 PATCHES=(
107 "${WORKDIR}/${TARBALL}-2.24.1.patch"
108 )
109 EAUTORECONF="YES"
110 add_bdepend "=sys-devel/automake-1.10*"
111 add_bdepend ">=sys-devel/autoconf-2.61"
112 ;;
113 esac
105 ;; 114 ;;
106 gnome-desktop|gnome-print|gnome-panel|gtkhtml|gtksourceview|nautilusburn|rsvg|vte|wnck) 115 gnome-desktop|gnome-print|gnome-panel|gtkhtml|gtksourceview|nautilusburn|rsvg|vte|wnck)
107 TARBALL="gnome-desktop-sharp" 116 TARBALL="gnome-desktop-sharp"
108 add_depend "=dev-dotnet/gtk-sharp-${GTK_SHARP_REQUIRED_VERSION}*" 117 add_depend "=dev-dotnet/gtk-sharp-${GTK_SHARP_REQUIRED_VERSION}*"
109 add_depend "=dev-dotnet/gnome-sharp-${PV_MAJOR}*" 118 add_depend "=dev-dotnet/gnome-sharp-${PV_MAJOR}*"
191 gnomevfs-sharp-*) 200 gnomevfs-sharp-*)
192 add_depend ">=gnome-base/gnome-vfs-${PV_MAJOR}" 201 add_depend ">=gnome-base/gnome-vfs-${PV_MAJOR}"
193 ;; 202 ;;
194 #gnome-desktop-sharp tarball 203 #gnome-desktop-sharp tarball
195 gnome-desktop-sharp-*) 204 gnome-desktop-sharp-*)
205 # NOTE: This is REQUIRED to be locked to PV_MAJOR
206 # libgnome-desktop-2.so.INTEGER is hardcoded in gnomedesktop-sharp.dll.config
196 add_depend "=gnome-base/gnome-desktop-${PV_MAJOR}*" 207 add_depend "=gnome-base/gnome-desktop-${PV_MAJOR}*"
197 ;; 208 ;;
198 gnome-panel-sharp-*) 209 gnome-panel-sharp-*)
199 add_depend "=gnome-base/gnome-panel-${PV_MAJOR}*" 210 add_depend ">=gnome-base/gnome-panel-${PV_MAJOR}"
200 ;; 211 ;;
201 gnome-print-sharp-*) 212 gnome-print-sharp-*)
202 add_depend ">=gnome-base/libgnomeprint-${API_VERSION}" 213 add_depend ">=gnome-base/libgnomeprint-${API_VERSION}"
203 ;; 214 ;;
204 gtkhtml-sharp-*) 215 gtkhtml-sharp-*)
242add_bdepend ">=sys-apps/sed-4" 253add_bdepend ">=sys-apps/sed-4"
243add_bdepend ">=dev-util/pkgconfig-0.23" 254add_bdepend ">=dev-util/pkgconfig-0.23"
244add_bdepend ">=app-shells/bash-3.1" 255add_bdepend ">=app-shells/bash-3.1"
245 256
246IUSE="debug" 257IUSE="debug"
247# @ECLASS-VARIABLE: HOMEPAGE 258# @ECLASS-VARIABLE: S
248# @DESCRIPTION: 259# @DESCRIPTION:
249# Default value: ${WORKDIR}/${TARBALL}-${PV} 260# Default value: ${WORKDIR}/${TARBALL}-${PV}
250S="${WORKDIR}/${TARBALL}-${PV}" 261S="${WORKDIR}/${TARBALL}-${PV}"
251# @ECLASS-VARIABLE: SRC_URI 262# @ECLASS-VARIABLE: SRC_URI
252# @DESCRIPTION: 263# @DESCRIPTION:

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.19

  ViewVC Help
Powered by ViewVC 1.1.20