Description: [PATCH] Disable QtScriptBindings Check
 QtScriptBindings is a runtime dependency which is not needed at build time.
 just make cmake think that QtScriptBindings is available.
Author: Modestas Vainius <modestas@vainius.eu>
Origin: vendor
Forwarded: not-needed
Reviewer: Howard Chan <smartboyhw@gmail.com>
Last-Update: 2013-07-04
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -95,7 +95,8 @@
 # QCA2 is required for the Script Updater
 find_package( QCA2 )
 
-find_package( QtScriptQtBindings )
+# Package level dependencies ensure that QtScriptBindings exist at runtime
+set(QTSCRIPTQTBINDINGS_FOUND TRUE CACHE BOOL "Just assume QtScriptbindings exist [ Debian-specific ]")
 
 macro_optional_find_package( LibLastFm )
 set( LIBLASTFM_MIN_VERSION "1.0.0" )
@@ -132,8 +133,6 @@
 
     macro_log_feature( QT_QTOPENGL_FOUND "QtOpenGL" "Required for the spectrum analyzer" "http://qt-project.org" FALSE "" "" )
 
-    macro_log_feature( QTSCRIPTQTBINDINGS_FOUND "qtscript-qt" "QtScript Qt Bindings" "http://code.google.com/p/qtscriptgenerator/" FALSE "" "" )
-
     find_package(MySQLAmarok REQUIRED)
     if( WITH_MYSQL_EMBEDDED )
         set( BUILD_MYSQLE_COLLECTION TRUE )
