Show
Ignore:
Timestamp:
06/01/08 09:15:34 (16 years ago)
Author:
ppalmers
Message:

fix bugs in IPC comms. Add preliminary FFADO-IPC ALSA plugin

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/SConstruct

    r1239 r1240  
    282282        # 
    283283 
    284 if conf.CheckForApp( "which pyuic" ) and conf.CheckForPyModule( 'dbus' ) and conf.CheckForPyModule( 'qt' ): 
    285         env['PYUIC'] = True 
    286  
    287         if conf.CheckForApp( "xdg-desktop-menu --help" ): 
    288                 env['XDG_TOOLS'] = True 
     284        # PyQT checks 
     285        if conf.CheckForApp( "which pyuic" ) and conf.CheckForPyModule( 'dbus' ) and conf.CheckForPyModule( 'qt' ): 
     286                env['PYUIC'] = True 
     287         
     288                if conf.CheckForApp( "xdg-desktop-menu --help" ): 
     289                        env['XDG_TOOLS'] = True 
     290                else: 
     291                        print """ 
     292        I couldn't find the program 'xdg-desktop-menu'. Together with xdg-icon-resource 
     293        this is needed to add the fancy entry to your menu. But the mixer will be installed, you can start it by executing "ffadomixer". 
     294        """ 
     295         
    289296        else: 
    290297                print """ 
    291 I couldn't find the program 'xdg-desktop-menu'. Together with xdg-icon-resource 
    292 this is needed to add the fancy entry to your menu. But the mixer will be installed, you can start it by executing "ffadomixer". 
    293 """ 
    294  
    295 else: 
    296         print """ 
    297 I couldn't find all the prerequisites ('pyuic' and the python-modules 'dbus' and 
    298 'qt', the packages could be named like dbus-python and PyQt) to build the mixer. 
    299 Therefor the mixer won't get installed. 
    300 """ 
     298        I couldn't find all the prerequisites ('pyuic' and the python-modules 'dbus' and 
     299        'qt', the packages could be named like dbus-python and PyQt) to build the mixer. 
     300        Therefor the mixer won't get installed. 
     301        """ 
     302 
     303        # ALSA checks 
     304        pkg = 'alsa' 
     305        name2 = pkg.replace("+","").replace(".","").replace("-","").upper() 
     306        env['%s_FLAGS' % name2] = conf.GetPKGFlags( pkg, '1.0.0' ) 
     307        if env['%s_FLAGS'%name2] == 0: 
     308                env['HAVE_ALSA'] = False 
     309                print " ALSA not found, not building ALSA plugin." 
     310        else: 
     311                env['HAVE_ALSA'] = True 
     312                print " ALSA found, building ALSA plugin." 
     313 
    301314 
    302315config_guess = conf.ConfigGuess()