~ubuntu-branches/ubuntu/maverick/xmms2/maverick

« back to all changes in this revision

Viewing changes to src/clients/medialib-updater/wscript

  • Committer: Bazaar Package Importer
  • Author(s): Benjamin Drung
  • Date: 2010-03-07 04:11:24 UTC
  • mfrom: (1.1.7 upstream) (6.1.13 sid)
  • Revision ID: james.westby@ubuntu.com-20100307041124-df7p8f9yejg1u1qn
Tags: 0.7DrNo-3ubuntu1
* Merge from Debian unstable (LP: #532278), remaining changes:
  - Use PulseAudio as default output plugin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
def build(bld):
4
4
    obj = bld.new_task_gen('cc', 'program')
5
5
    obj.target = 'xmms2-mlib-updater'
6
 
    obj.source = """
7
 
        main.c
8
 
        fam.c
9
 
    """.split()
 
6
    obj.source = "main.c"
10
7
    obj.includes = '. ../../.. ../../include'
11
 
    obj.uselib = 'glib2 gamin'
 
8
    obj.uselib = 'glib2 GIO-2.0 GTHREAD-2.0'
12
9
    obj.uselib_local = 'xmmsclient-glib xmmsclient'
13
10
 
14
11
    obj = bld.new_task_gen('subst')
18
15
    obj.chmod = Constants.O755
19
16
 
20
17
def configure(conf):
21
 
    if conf.check_cfg(package="gamin", uselib_store="gamin", args="--cflags --libs"):
22
 
        return True
23
 
    return False
 
18
    conf.check_cfg(package="gio-2.0", args="--cflags --libs", mandatory=True)
 
19
    conf.check_cfg(package="gthread-2.0", args="--cflags --libs", mandatory=True)
 
20
 
 
21
    conf.check_cc(function_name="g_file_query_file_type", header_name="gio/gio.h", uselib="GIO-2.0")
24
22
 
25
23
def set_options(opt):
26
24
    pass