/[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.9 Revision 1.11
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.9 2009/01/05 20:49:10 loki_val Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gtk-sharp-module.eclass,v 1.11 2009/01/06 19:37:18 grobian Exp $
4 4
5# Author : Peter Johanson <latexer@gentoo.org>, butchered by ikelos, then loki_val. 5# Author : Peter Johanson <latexer@gentoo.org>, butchered by ikelos, then loki_val.
6# Based off of original work in gst-plugins.eclass by <foser@gentoo.org> 6# Based off of original work in gst-plugins.eclass by <foser@gentoo.org>
7 7
8# Note that this breaks compatibility with the original gtk-sharp-component 8# Note that this breaks compatibility with the original gtk-sharp-component
86 && add_depend ">=dev-dotnet/gnome-sharp-${PV_MAJOR}" 86 && add_depend ">=dev-dotnet/gnome-sharp-${PV_MAJOR}"
87 87
88case ${PF} in 88case ${PF} in
89 #gtk-sharp tarball 89 #gtk-sharp tarball
90 gtk-sharp-gapi*) 90 gtk-sharp-gapi*)
91 add_rdepend "!<=dev-dotnet/gtk-sharp-2.12.7:2"
91 add_depend "dev-perl/XML-LibXML" 92 add_depend "dev-perl/XML-LibXML"
92 ;; 93 ;;
93 gtk-sharp-*) 94 gtk-sharp-*)
94 add_depend "~dev-dotnet/atk-sharp-${PV}" 95 add_depend "~dev-dotnet/atk-sharp-${PV}"
95 add_depend "~dev-dotnet/gdk-sharp-${PV}" 96 add_depend "~dev-dotnet/gdk-sharp-${PV}"
355 Name: ${pkgconfig_pkgname} 356 Name: ${pkgconfig_pkgname}
356 Description: ${pkgconfig_description} 357 Description: ${pkgconfig_description}
357 Version: ${pkgconfig_version} 358 Version: ${pkgconfig_version}
358 EOF 359 EOF
359 360
360 for gfile in "${D}"/usr/${apifile%/*}/*-api.xml 361 for gfile in "${D}"/usr/${apifile%/*}/*-api.xml
361 do 362 do
362 CSTRING="${CSTRING} -I:"'${gapidir}'"/${gfile##*/}" 363 CSTRING="${CSTRING} -I:"'${gapidir}'"/${gfile##*/}"
363 done 364 done
364 echo "${CSTRING}" >> "${D}/usr/$(get_libdir)/pkgconfig/${pkgconfig_filename}.pc" 365 echo "${CSTRING}" >> "${D}/usr/$(get_libdir)/pkgconfig/${pkgconfig_filename}.pc"
365 366
366 367
367 for dll in "${D}"/usr/$(get_libdir)/mono/${pkgconfig_monodir}/*.dll 368 for dll in "${D}"/usr/$(get_libdir)/mono/${pkgconfig_monodir}/*.dll
368 do 369 do

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.20