Index: brewtarget-1.2.3/CMakeLists.txt
===================================================================
--- brewtarget-1.2.3.orig/CMakeLists.txt	2011-09-24 21:22:12.000000000 -0400
+++ brewtarget-1.2.3/CMakeLists.txt	2011-09-25 11:41:34.000000000 -0400
@@ -27,9 +27,9 @@
 OPTION( NO_PHONON
         "If on, does not build any Phonon code."
         OFF )
-OPTION(UPDATE_TRANSLATIONS
-       "Update source translation *.ts files (WARNING: 'make clean' will delete the source .ts files! Danger!)"
-       OFF)
+OPTION( UPDATE_TRANSLATIONS
+        "Update source translation *.ts files (WARNING: 'make clean' will delete the source .ts files! Danger!)"
+        OFF)
 #==============================Compile flags===================================
 SET( CMAKE_CXX_FLAGS_RELEASE "-Wall -ansi -pedantic -O2" )
 SET( CMAKE_CXX_FLAGS_DEBUG "-Wall -gstabs+" )
@@ -66,10 +66,33 @@
 INCLUDE_DIRECTORIES("${CMAKE_BINARY_DIR}/QtDesignerPlugins")
 
 # ======================Find Qt4 (>= 4.6.0) for this project===================
+SET( EXT_LIBS "" )
+
+MESSAGE( STATUS "CMAKE_SYSTEM_INCLUDE_PATH: ${CMAKE_SYSTEM_INCLUDE_PATH}" )
+
+# Some distros seem to treat Qt and Phonon as separate, so try to find Phonon.
+IF( NOT QT_PHONON_FOUND )
+   MESSAGE( STATUS "Phonon not found as a part of Qt; trying another approach." )
+
+	 FIND_LIBRARY( EXT_PHONON_LIB phonon )
+	 FIND_PATH( EXT_PHONON_PATH "mediaobject.h" )
+
+	 IF( EXISTS ${EXT_PHONON_LIB} AND EXISTS ${EXT_PHONON_PATH} )
+      MESSAGE( STATUS "Hooray! Phonon found." )
+			MESSAGE( STATUS "Phonon dir: ${EXT_PHONON_PATH}")
+			MESSAGE( STATUS "Phonon lib: ${EXT_PHONON_LIB}")
+
+	    SET( EXT_LIBS ${EXT_LIBS} ${EXT_PHONON_LIB} )
+	    INCLUDE_DIRECTORIES( ${EXT_PHONON_PATH} )
+   ELSE()
+	    MESSAGE( STATUS "Phonon not found. Run cmake again with the option -DCMAKE_PREFIX_PATH=/path/to/phonon" )
+   ENDIF()
+ENDIF()
+
 IF( ${BUILD_DESIGNER_PLUGINS} )
-   FIND_PACKAGE(Qt4 4.6.0 COMPONENTS QtCore QtGui QtNetwork QtSvg QtWebKit QtXml Phonon QtDesigner REQUIRED)
+   FIND_PACKAGE(Qt4 4.6.0 COMPONENTS QtCore QtGui QtNetwork QtSvg QtWebKit QtXml QtDesigner REQUIRED)
 ELSE()
-   FIND_PACKAGE(Qt4 4.6.0 COMPONENTS QtCore QtGui QtNetwork QtSvg QtWebkit QtXml Phonon REQUIRED)
+   FIND_PACKAGE(Qt4 4.6.0 COMPONENTS QtCore QtGui QtNetwork QtSvg QtWebkit QtXml REQUIRED)
 ENDIF()
 
 # Some extra files for the "make clean" target.
Index: brewtarget-1.2.3/src/CMakeLists.txt
===================================================================
--- brewtarget-1.2.3.orig/src/CMakeLists.txt	2011-09-24 21:22:12.000000000 -0400
+++ brewtarget-1.2.3/src/CMakeLists.txt	2011-09-25 11:42:01.000000000 -0400
@@ -419,10 +419,10 @@
    SET_TARGET_PROPERTIES( ${brewtarget_EXECUTABLE} PROPERTIES LINK_FLAGS "-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -mthreads -Wl,-subsystem,windows -Lc:/Qt/4.7.1/lib" )
 ELSE()
    # Link brewtarget against Qt libraries defined by QT_LIBRARIES
-   TARGET_LINK_LIBRARIES(${brewtarget_EXECUTABLE} ${QT_LIBRARIES})
+   TARGET_LINK_LIBRARIES( ${brewtarget_EXECUTABLE} ${QT_LIBRARIES} ${EXT_LIBS} )
 ENDIF()
 
-MESSAGE( STATUS "Libraries: ${QT_LIBRARIES}" )
+MESSAGE( STATUS "Libraries: ${QT_LIBRARIES} ${EXT_LIBS} " )
 
 #==============================Setup install targets===========================
 
