# # Copyright (c) 2007 Paul Scott-Wilson # This file is distributed under the terms of the MIT License. # A copy is available at http://www.rpath.com/permanent/mit-license.html # class GnomeDo(AutoPackageRecipe): name = 'gnome-do' version = '0.8.1.3' buildRequires = [ 'gnome-common:runtime', 'gnome-common:devel', 'autoconf:runtime', 'automake:runtime', 'desktop-file-utils:runtime', 'gnome-sharp:devellib', 'gnome-sharp:cil', 'gtk-sharp:cil', 'gtk-sharp:devellib', 'm4:runtime', 'mono:devel', 'mono:lib', 'mono:runtime', 'ndesk-dbus-glib:devellib', 'ndesk-dbus-glib:cil', 'ndesk-dbus:devellib', 'ndesk-dbus:cil', 'pkgconfig:devel', 'gettext:runtime', 'intltool:runtime', 'atk:devel', 'cairo:devel', 'expat:devel', 'fontconfig:devel', 'freetype:devel', 'gtk:devel', 'libX11:devel', 'libXrender:devel', 'libpng:devel', 'libxcb:devel', 'pango:devel', 'pixman:devel', 'xcb-util:devel', 'zlib:devel', 'gnome-desktop-sharp:cil', 'gnome-desktop-sharp:devellib', 'gnome-keyring-sharp:cil', 'gnome-keyring-sharp:devellib', 'mono-addins:cil', 'mono-addins:devellib', 'GConf:runtime', 'notify-sharp:cil', 'notify-sharp:devellib' ] def unpack(r): r.addArchive('http://edge.launchpad.net/do/0.8/0.8.1/+download/') r.Replace('gnome-keyring-sharp-1.0','gnome-keyring-sharp','configure') r.Replace('yield return Path.Combine\ \(\"/usr/share/applications\"\,\ appDirSuffix\)\;', 'yield return Path.Combine ("/usr/share/", appDirSuffix);', 'Do.Platform.Linux/src/Do.Universe/ApplicationItemSource.cs') #default to autostart #r.addSource('gnome-do.desktop', dest='%(datadir)s/gnome/autostart/') #r.addSource('gnome-do-session', dest='%(bindir)s/')