~ubuntu-branches/ubuntu/oneiric/ejecter/oneiric-201109090806

« back to all changes in this revision

Viewing changes to wscript

  • Committer: Bazaar Package Importer
  • Author(s): Devid Antonio Filoni
  • Date: 2009-09-27 13:34:45 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090927133445-glbrkyl2ciclafpl
Tags: 0.2.1+karmic-gdu-bzr68-0ubuntu1
* New upstream bzr revision 68 from karmic-gdu branch (LP: #427312, #424256,
  #403143).
* Drop quilt support.
* debian/control: remove libhal-dev from Build-Depends field.
* debian/control: add libgdu-dev to Build-Depends field.
* Remove debian/patches/fix_vala_compatibility.diff patch, merged upstream.
* Bump Standards-Version to 3.8.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
import os, os.path
27
27
 
28
28
# the following two variables are used by the target "waf dist"
29
 
VERSION='0.2.1'
 
29
VERSION='0.3'
30
30
APPNAME='ejecter'
31
31
 
32
32
# these variables are mandatory ('/' are converted automatically)
48
48
    
49
49
    conf.check_cfg(package='glib-2.0', uselib_store='GLIB', atleast_version='2.16.0', 
50
50
                   mandatory=1, args='--cflags --libs')
51
 
    conf.check_cfg(package='gtk+-2.0', uselib_store='GTK', atleast_version='2.12.0', 
 
51
    conf.check_cfg(package='gtk+-2.0', uselib_store='GTK', atleast_version='2.14.0', 
52
52
                   mandatory=1, args='--cflags --libs')
53
53
    conf.check_cfg(package='gio-2.0', uselib_store='GIO', mandatory=1, args='--cflags --libs')
54
 
    conf.check_cfg(package='hal', uselib_store='HAL', mandatory=1, args='--cflags --libs')
55
 
    conf.check_cfg(package='dbus-glib-1', uselib_store='DBUSGLIB', atleast_version='0.60', 
 
54
    conf.check_cfg(package='dbus-glib-1', uselib_store='DBUS', atleast_version='0.60', 
56
55
                   mandatory=True, args='--cflags --libs')
57
 
    conf.check_cfg(package='', msg='Checking for gtk+ version >= 2.14', args='"gtk+-2.0 >= 2.14.0"',
58
 
                   errmsg='no', uselib_store='GTK214') 
 
56
    conf.check_cfg(package='gdu', uselib_store='GDU', mandatory=1, args='--cflags --libs')
59
57
    
60
 
    required_vala = (0, 3, 0)
 
58
    required_vala = (0, 7, 0)
61
59
    conf.check_message_1("Checking for vala version >= %d.%d.%d" % required_vala)
62
60
    if conf.env['VALAC_VERSION'] >= required_vala:
63
61
        conf.check_message_2("ok (%d.%d.%d)" % conf.env['VALAC_VERSION'], "GREEN")