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

« back to all changes in this revision

Viewing changes to src/plugins/mad/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
1
from waftools.plugin import plugin
2
2
 
3
3
def plugin_configure(conf):
 
4
    if conf.check_pkg('mad', destvar='mad'):
 
5
        return True
4
6
    if not conf.check_header("mad.h"):
5
7
        return False
6
8
    return conf.check_library2("mad", uselib='mad', mandatory=0)