Changeset 1402
- Timestamp:
- 11/01/08 08:48:30 (15 years ago)
- Files:
-
- branches/libffado-2.0/SConstruct (modified) (2 diffs)
- branches/libffado-2.0/support/mixer/ffado-mixer3.in (moved) (moved from branches/libffado-2.0/support/mixer/ffado-mixer.in) (1 prop)
- branches/libffado-2.0/support/mixer/SConscript (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/libffado-2.0/SConstruct
r1399 r1402 275 275 276 276 # PyQT checks 277 277 build_mixer = False 278 278 if conf.CheckForApp( "which pyuic4" ) and conf.CheckForPyModule( 'dbus' ) and conf.CheckForPyModule( 'PyQt4' ): 279 279 env['PYUIC4'] = True 280 280 build_mixer = True 281 281 282 if conf.CheckForApp( "xdg-desktop-menu --help" ): 283 env['XDG_TOOLS'] = True 284 else: 285 print """ 286 I couldn't find the program 'xdg-desktop-menu'. Together with xdg-icon-resource 287 this is needed to add the fancy entry to your menu. But the mixer will be installed, you can start it by executing "ffadomixer". 288 """ 289 elif conf.CheckForApp( "which pyuic" ) and conf.CheckForPyModule( 'dbus' ) and conf.CheckForPyModule( 'qt' ): 282 if conf.CheckForApp( "which pyuic" ) and conf.CheckForPyModule( 'dbus' ) and conf.CheckForPyModule( 'qt' ): 290 283 env['PYUIC'] = True 291 284 build_mixer = True 292 285 293 294 295 296 297 298 this is needed to add the fancy entry to your menu. But the mixer will be installed, you can start it by executing "ffadomixer".299 286 if conf.CheckForApp( "xdg-desktop-menu --help" ): 287 env['XDG_TOOLS'] = True 288 else: 289 print """ 290 I couldn't find the program 'xdg-desktop-menu'. Together with xdg-icon-resource 291 this is needed to add the fancy entry to your menu. But the mixer will be installed, you can start it by executing "ffado-mixer". 292 """ 300 293 301 294 if not build_mixer: 302 295 print """ 303 296 I couldn't find all the prerequisites ('pyuic' / 'pyuic4' and the python-modules 'dbus' and 304 'qt' , the packages could be named like dbus-python and PyQt) to build the mixer.305 Therefor the mixer won'tget installed.297 'qt' / 'PyQt4', the packages could be named like dbus-python and PyQt) to build the mixer. 298 Therefor neither the qt3 nor the qt4 mixer will get installed. 306 299 """ 307 300 … … 576 569 env.Execute( action ) 577 570 578 if env.has_key( 'XDG_TOOLS' ) and env.has_key( 'PYUIC ' ):571 if env.has_key( 'XDG_TOOLS' ) and env.has_key( 'PYUIC4' ): 579 572 if not env.GetOption("clean"): 580 573 action = "install" branches/libffado-2.0/support/mixer/ffado-mixer3.in
- Property svn:mergeinfo set
branches/libffado-2.0/support/mixer/SConscript
r1394 r1402 53 53 # 54 54 # For the ffadomixer.in 55 e['PYTHONDIR'] = Template( os.path.join( e['SHAREDIR'], 'python ' ) ).safe_substitute( e )55 e['PYTHONDIR'] = Template( os.path.join( e['SHAREDIR'], 'python-qt3' ) ).safe_substitute( e ) 56 56 # For the installation of the stuff 57 e['pythondir'] = Template( os.path.join( e['sharedir'], 'python ' ) ).safe_substitute( e )57 e['pythondir'] = Template( os.path.join( e['sharedir'], 'python-qt3' ) ).safe_substitute( e ) 58 58 59 59 for m in e['MIXERGUIS']: … … 79 79 e.Install( "$pythondir", "ffadomixer_config.py" ) 80 80 81 e.ScanReplace( "ffado-mixer .in" )82 e.Depends( "ffado-mixer ", "#/config.h" )83 e.Depends( "ffado-mixer ", "SConscript" )84 e.Install( "$bindir", "ffado-mixer " )81 e.ScanReplace( "ffado-mixer3.in" ) 82 e.Depends( "ffado-mixer3", "#/config.h" ) 83 e.Depends( "ffado-mixer3", "SConscript" ) 84 e.Install( "$bindir", "ffado-mixer3" ) 85 85