Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 photoqt (2.6-1) unstable; urgency=medium
 .
   * New upstream version.
Author: Gürkan Myczko <tar@debian.org>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2022-04-08

--- photoqt-2.6.orig/CMakeLists.txt
+++ photoqt-2.6/CMakeLists.txt
@@ -318,17 +318,17 @@ if(CHROMECAST)
         message(FATAL_ERROR "** Unable to locate Python3 Interpreter... is it installed?")
     else()
         execute_process(COMMAND ${Python3_EXECUTABLE} -c "import pychromecast" RESULT_VARIABLE EXIT_CODE OUTPUT_QUIET TIMEOUT 2)
-        if(NOT ${EXIT_CODE} EQUAL 0)
-            # try installing it with pip
-            message(">> Attempt to install pychromecast locally using pip...")
-            execute_process(COMMAND ${Python3_EXECUTABLE} -m pip install pychromecast --user RESULT_VARIABLE EXIT_CODE OUTPUT_QUIET TIMEOUT 2)
-            execute_process(COMMAND ${Python3_EXECUTABLE} -c "import pychromecast" RESULT_VARIABLE EXIT_CODE OUTPUT_QUIET TIMEOUT 2)
-            if(NOT ${EXIT_CODE} EQUAL 0)
-                message(FATAL_ERROR "** Unable to locate Python3 module pychromecast. Please first install it or disable Chromecast support.")
-            else()
-                message(">> Success!")
-            endif()
-        endif()
+#        if(NOT ${EXIT_CODE} EQUAL 0)
+#            # try installing it with pip
+#            message(">> Attempt to install pychromecast locally using pip...")
+#            execute_process(COMMAND ${Python3_EXECUTABLE} -m pip install pychromecast --user RESULT_VARIABLE EXIT_CODE OUTPUT_QUIET TIMEOUT 2)
+#            execute_process(COMMAND ${Python3_EXECUTABLE} -c "import pychromecast" RESULT_VARIABLE EXIT_CODE OUTPUT_QUIET TIMEOUT 2)
+#            if(NOT ${EXIT_CODE} EQUAL 0)
+#                message(FATAL_ERROR "** Unable to locate Python3 module pychromecast. Please first install it or disable Chromecast support.")
+#            else()
+#                message(">> Success!")
+#            endif()
+#        endif()
         include_directories(${Python3_INCLUDE_DIRS})
         target_link_libraries(${PROJECT_NAME} ${Python3_LIBRARIES})
         message("** Chromecast support enabled")
