#
# Copyright (c) 2011 Foresight Linux
# 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 Lightdm(AutoPackageRecipe):
name = 'lightdm'
version = 'r466'
buildRequires = ['atk:devel', 'cairo:devel', 'dbus-glib:devel', 'dbus-glib:runtime', 'fontconfig:devel', 'freetype:devel', 'gdk-pixbuf:devel', 'gettext:runtime', 'glib:devel', 'gtk-doc:runtime', 'gtk:devel', 'intltool:runtime', 'libX11:devel', 'libXdmcp:devel', 'libpng:devel', 'libxcb:devel', 'libxklavier:devel', 'libxml2:devel', 'pam:devel', 'pango:devel', 'pkgconfig:devel', 'vala:runtime']
def setup(r):
r.macros.tag=r.version[1:]
r.addBzrSnapshot('lp:lightdm', tag='-r %(tag)s')
r.Configure(' --disable-liblightdm-qt --enable-introspection=no ', configureName='autogen.sh')
r.Make()
r.MakeInstall()