/[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.22 Revision 1.27
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.22 2009/03/17 16:33:28 loki_val Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gtk-sharp-module.eclass,v 1.27 2010/11/18 09:06:18 pacho 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
12# PLEASE TAKE NOTE: ONLY FOR EAPI-2 EBUILDS 12# PLEASE TAKE NOTE: ONLY FOR EAPI-2 EBUILDS
13 13
14WANT_AUTOMAKE=none 14WANT_AUTOMAKE=none
15WANT_AUTOCONF=none 15WANT_AUTOCONF=none
16 16
17inherit eutils mono multilib autotools base versionator 17inherit eutils mono multilib libtool autotools base versionator
18 18
19# @ECLASS-VARIABLE: GTK_SHARP_MODULE 19# @ECLASS-VARIABLE: GTK_SHARP_MODULE
20# @DESCRIPTION: 20# @DESCRIPTION:
21# The name of the Gtk# module. 21# The name of the Gtk# module.
22# Default value: ${PN/-sharp/} 22# Default value: ${PN/-sharp/}
109 ) 109 )
110 EAUTORECONF="YES" 110 EAUTORECONF="YES"
111 add_bdepend "=sys-devel/automake-1.10*" 111 add_bdepend "=sys-devel/automake-1.10*"
112 add_bdepend ">=sys-devel/autoconf-2.61" 112 add_bdepend ">=sys-devel/autoconf-2.61"
113 ;; 113 ;;
114 2.24.2*)
115 add_depend ">=dev-lang/mono-2.7"
116 ;;
114 esac 117 esac
115 ;; 118 ;;
116 gnome-desktop|gnome-print|gnome-panel|gtkhtml|gtksourceview|nautilusburn|rsvg|vte|wnck) 119 gnome-desktop|gnome-print|gnome-panel|gtkhtml|gtksourceview|nautilusburn|rsvg|vte|wnck)
117 TARBALL="gnome-desktop-sharp" 120 TARBALL="gnome-desktop-sharp"
118 add_depend "=dev-dotnet/gtk-sharp-${GTK_SHARP_REQUIRED_VERSION}*" 121 add_depend "=dev-dotnet/gtk-sharp-${GTK_SHARP_REQUIRED_VERSION}*"
201 gnomevfs-sharp-*) 204 gnomevfs-sharp-*)
202 add_depend ">=gnome-base/gnome-vfs-${PV_MAJOR}" 205 add_depend ">=gnome-base/gnome-vfs-${PV_MAJOR}"
203 ;; 206 ;;
204 #gnome-desktop-sharp tarball 207 #gnome-desktop-sharp tarball
205 gnome-desktop-sharp-*) 208 gnome-desktop-sharp-*)
206 # NOTE: This is REQUIRED to be locked to PV_MAJOR 209 # NOTE: libgnome-desktop-2.so has been known to make binary-
207 # libgnome-desktop-2.so.INTEGER is hardcoded in gnomedesktop-sharp.dll.config 210 # incompatible changes, requiring .so bumps. gnome-desktop-sharp
211 # is locked to a specific .so.n version, so strict dependencies
212 # may be required in the future (as it has in the past).
208 add_depend "=gnome-base/gnome-desktop-${PV_MAJOR}*" 213 add_depend ">=gnome-base/gnome-desktop-${PV_MAJOR}"
209 ;; 214 ;;
210 gnome-panel-sharp-*) 215 gnome-panel-sharp-*)
211 add_depend ">=gnome-base/gnome-panel-${PV_MAJOR}" 216 add_depend ">=gnome-base/gnome-panel-${PV_MAJOR}"
212 ;; 217 ;;
213 gnome-print-sharp-*) 218 gnome-print-sharp-*)
222 ;; 227 ;;
223 gtksourceview-sharp-*) 228 gtksourceview-sharp-*)
224 add_depend ">=x11-libs/gtksourceview-${GTKSOURCEVIEW_REQUIRED_VERSION}:2.0" 229 add_depend ">=x11-libs/gtksourceview-${GTKSOURCEVIEW_REQUIRED_VERSION}:2.0"
225 ;; 230 ;;
226 nautilusburn-sharp-*) 231 nautilusburn-sharp-*)
227 add_depend ">=gnome-extra/nautilus-cd-burner-${PV_MAJOR}" 232 add_depend ">=gnome-extra/nautilus-cd-burner-2.24.0"
228 ;; 233 ;;
229 rsvg-sharp-*) 234 rsvg-sharp-*)
230 add_depend ">=gnome-base/librsvg-${RSVG_REQUIRED_VERSION}" 235 add_depend ">=gnome-base/librsvg-${RSVG_REQUIRED_VERSION}"
231 ;; 236 ;;
232 vte-sharp-*) 237 vte-sharp-*)
448# value. 453# value.
449# Contains a phase_hook, runs very last. 454# Contains a phase_hook, runs very last.
450# phase_hook prefix trigger: ${TARBALL}-tarball-post 455# phase_hook prefix trigger: ${TARBALL}-tarball-post
451# Is exported. 456# Is exported.
452gtk-sharp-module_src_prepare() { 457gtk-sharp-module_src_prepare() {
453 base_src_util autopatch 458 base_src_prepare
454# @ECLASS-VARIABLE: EAUTORECONF 459# @ECLASS-VARIABLE: EAUTORECONF
455# @DESCRIPTION: 460# @DESCRIPTION:
456# If set, EAUTORECONF will be run during src_prepare. 461# If set, EAUTORECONF will be run during src_prepare.
457 [[ ${EAUTORECONF} ]] && eautoreconf 462 [[ ${EAUTORECONF} ]] && eautoreconf
458 phase_hook ${TARBALL}-tarball-post 463 phase_hook ${TARBALL}-tarball-post
464 elibtoolize
459} 465}
460 466
461# @FUNCTION: gtk-sharp-tarball_src_configure 467# @FUNCTION: gtk-sharp-tarball_src_configure
462# @DESCRIPTION: 468# @DESCRIPTION:
463# Sets some environment variables that will allow us to make the dependencies 469# Sets some environment variables that will allow us to make the dependencies

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.27

  ViewVC Help
Powered by ViewVC 1.1.20