/[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.17 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.17 2009/02/25 06:48:13 zmedico 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
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.*) 85 2.12.*)
86 SRC_URI="mirror://gentoo/gtk-sharp-2.12.7.patch.bz2" 86 SRC_URI="mirror://gentoo/${TARBALL}-2.12.7.patch.bz2"
87 #Upstream: https://bugzilla.novell.com/show_bug.cgi?id=$bugno 87 #Upstream: https://bugzilla.novell.com/show_bug.cgi?id=$bugno
88 #Upstream bug #470390 for the gtk-sharp-2.12.7.patch 88 #Upstream bug #470390 for the gtk-sharp-2.12.7.patch
89 PATCHES=( 89 PATCHES=(
90 "${WORKDIR}/${TARBALL}-2.12.7.patch" 90 "${WORKDIR}/${TARBALL}-2.12.7.patch"
91 ) 91 )
98 art|gnome|gnomevfs|gconf) 98 art|gnome|gnomevfs|gconf)
99 TARBALL="gnome-sharp" 99 TARBALL="gnome-sharp"
100 add_depend "=dev-dotnet/gtk-sharp-${GTK_SHARP_REQUIRED_VERSION}*" 100 add_depend "=dev-dotnet/gtk-sharp-${GTK_SHARP_REQUIRED_VERSION}*"
101 has "${GTK_SHARP_MODULE}" "${gapi_users_list}" && \ 101 has "${GTK_SHARP_MODULE}" "${gapi_users_list}" && \
102 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
103 ;; 114 ;;
104 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)
105 TARBALL="gnome-desktop-sharp" 116 TARBALL="gnome-desktop-sharp"
106 add_depend "=dev-dotnet/gtk-sharp-${GTK_SHARP_REQUIRED_VERSION}*" 117 add_depend "=dev-dotnet/gtk-sharp-${GTK_SHARP_REQUIRED_VERSION}*"
107 add_depend "=dev-dotnet/gnome-sharp-${PV_MAJOR}*" 118 add_depend "=dev-dotnet/gnome-sharp-${PV_MAJOR}*"
189 gnomevfs-sharp-*) 200 gnomevfs-sharp-*)
190 add_depend ">=gnome-base/gnome-vfs-${PV_MAJOR}" 201 add_depend ">=gnome-base/gnome-vfs-${PV_MAJOR}"
191 ;; 202 ;;
192 #gnome-desktop-sharp tarball 203 #gnome-desktop-sharp tarball
193 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
194 add_depend ">=gnome-base/gnome-desktop-${PV_MAJOR}" 207 add_depend "=gnome-base/gnome-desktop-${PV_MAJOR}*"
195 ;; 208 ;;
196 gnome-panel-sharp-*) 209 gnome-panel-sharp-*)
197 add_depend ">=gnome-base/gnome-panel-${PV_MAJOR}" 210 add_depend ">=gnome-base/gnome-panel-${PV_MAJOR}"
198 ;; 211 ;;
199 gnome-print-sharp-*) 212 gnome-print-sharp-*)
240add_bdepend ">=sys-apps/sed-4" 253add_bdepend ">=sys-apps/sed-4"
241add_bdepend ">=dev-util/pkgconfig-0.23" 254add_bdepend ">=dev-util/pkgconfig-0.23"
242add_bdepend ">=app-shells/bash-3.1" 255add_bdepend ">=app-shells/bash-3.1"
243 256
244IUSE="debug" 257IUSE="debug"
245# @ECLASS-VARIABLE: HOMEPAGE 258# @ECLASS-VARIABLE: S
246# @DESCRIPTION: 259# @DESCRIPTION:
247# Default value: ${WORKDIR}/${TARBALL}-${PV} 260# Default value: ${WORKDIR}/${TARBALL}-${PV}
248S="${WORKDIR}/${TARBALL}-${PV}" 261S="${WORKDIR}/${TARBALL}-${PV}"
249# @ECLASS-VARIABLE: SRC_URI 262# @ECLASS-VARIABLE: SRC_URI
250# @DESCRIPTION: 263# @DESCRIPTION:

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

  ViewVC Help
Powered by ViewVC 1.1.20