~ubuntu-branches/ubuntu/wily/xmms2/wily

« back to all changes in this revision

Viewing changes to src/clients/lib/xmmsclient-cf/wscript

  • Committer: Bazaar Package Importer
  • Author(s): Benjamin Drung
  • Date: 2008-05-29 10:14:25 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080529101425-ycw1nbd980uhvzfp
Tags: 0.4DrKosmos-4ubuntu1
* Merge from debian unstable (LP: #178477), remaining changes:
  - debian/control: Update Maintainer field
  - debian/control: add lpia to xmms2-plugin-alsa supported architectures
* This version reads AAC files (LP: #156359)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from waftools import tool
 
2
import Params
 
3
 
 
4
def build(bld):
 
5
    obj = bld.create_obj('cc', 'shlib')
 
6
    obj.target = 'xmmsclient-cf'
 
7
    obj.includes = '../../../include'
 
8
    obj.source = 'xmmsclient-cf.c'
 
9
    obj.uselib_local = 'xmmsclient'
 
10
    obj.vnum = '1.0.0'
 
11
    tool.add_install_flag(bld, obj)
 
12
 
 
13
def configure(conf):
 
14
    if Params.g_platform != 'darwin':
 
15
        return False
 
16
 
 
17
    conf.env['LINKFLAGS'] += ['-framework', 'CoreFoundation']
 
18
    return True
 
19
 
 
20
def set_options(opt):
 
21
    pass