From Ratler, 6 Years ago, written in Plain Text.
This paste is a reply to phonon from Ratler - go back
Embed
Viewing differences between phonon and Re: phonon
                                                                                                                                                                                      \n
  OLD_OPTS=$OPTS &&
  export CFLAGS="$CFLAGS -fPIC"  &&                                                                                                                                                   
                                                                                                                                                                                      
  if module_installed qt4 ; then                                                                                                                                                      
    source /etc/profile.d/qt4.rc   &&                                                                                                                                                 
    source /etc/profile.d/kde4.rc  &&                                                                                                                                                 
    OPTS+=" -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=TRUE \                                                                                                                      
            -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake" &&                                                                                                                                  
    default_cmake_build  &&                                                                                                                                                           
  # needed by kde-baseapps, kipi-plugins, kmldonkey and possible other modules                                                                                                        
    ln -sf /usr/lib/libphonon.so.4  /usr/lib/qt4/libphonon.so                                                                                                                         
   fi &&                                                                                                                                                                              
                                                                                                                                                                                      
   make clean &&                                                                                                                                                                      
&&   
   
   # Reset OPTS
   OPTS=$OLD_OPTS &&
                                                                                                                                                                                      
   if module_installed qt5 ; then                                                                                                                                                     
      devoke_installwatch &&                                                                                                                                                          
      . /etc/profile.d/qt5.rc &&                                                                                                                                                      
      OPTS+=" -DPHONON_BUILD_PHONON4QT5=ON \                                                                                                                                          
              -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON \                                                                                                                      
              -DPHONON_BUILD_PHONON4QT5=ON"                                                                                                                                           
      default_cmake_build                                                                                                                                                             
   fi