Blame pykde4-4.13.97-cmake_source_dir.patch

Rex Dieter 97a20cb
diff -up pykde4-4.13.97/CMakeLists.txt.cmake_source_dir pykde4-4.13.97/CMakeLists.txt
Rex Dieter 97a20cb
--- pykde4-4.13.97/CMakeLists.txt.cmake_source_dir	2014-08-08 21:30:17.903937782 -0500
Rex Dieter 97a20cb
+++ pykde4-4.13.97/CMakeLists.txt	2014-08-08 21:31:07.411422765 -0500
Rex Dieter 97a20cb
@@ -251,6 +256,7 @@ python_install(__init__.py ${PYTHON_SITE
Rex Dieter 97a20cb
 
Rex Dieter 97a20cb
 # Install the .sip files for anyone that wants to build bindings on top of PyKDE4.
Rex Dieter 97a20cb
 # (Don't forget the / at the end of sip/.)
Rex Dieter 97a20cb
+install(FILES ${CMAKE_BINARY_DIR}/pykde_config.sip DESTINATION ${SIP_FILES_INSTALL_DIR}/PyKDE4/)
Rex Dieter 97a20cb
 install(DIRECTORY sip/ DESTINATION ${SIP_FILES_INSTALL_DIR}/PyKDE4
Rex Dieter 97a20cb
     PATTERN "*~" EXCLUDE    # This sucks, why can't I just whitelist what I _do_ want?
Rex Dieter 97a20cb
     PATTERN ".svn" EXCLUDE
Rex Dieter 97a20cb
diff -up pykde4-4.13.97/PyKDEConfigurationInformation.cmake.cmake_source_dir pykde4-4.13.97/PyKDEConfigurationInformation.cmake
Rex Dieter 97a20cb
--- pykde4-4.13.97/PyKDEConfigurationInformation.cmake.cmake_source_dir	2014-07-29 12:05:46.000000000 -0500
Rex Dieter 97a20cb
+++ pykde4-4.13.97/PyKDEConfigurationInformation.cmake	2014-08-08 21:30:17.908937730 -0500
Rex Dieter 97a20cb
@@ -26,7 +26,7 @@ set(PYKDE_SIP_DIR "${SIP_FILES_INSTALL_D
Rex Dieter 97a20cb
 set(PYKDE_SIP_FLAGS "${_SIP_TAGS} ${_SIP_X} ${SIP_EXTRA_OPTIONS}")
Rex Dieter 97a20cb
 
Rex Dieter 97a20cb
 # Create pykde_config.sip.
Rex Dieter 97a20cb
-configure_file(sip/kdecore/pykde_config.sip.in ${CMAKE_BINARY_DIR}/pykde_config.sip @ONLY)
Rex Dieter 97a20cb
+configure_file(${CMAKE_SOURCE_DIR}/sip/kdecore/pykde_config.sip.in ${CMAKE_BINARY_DIR}/pykde_config.sip @ONLY)
Rex Dieter 97a20cb
 
Rex Dieter 97a20cb
 # pykdeconfig.py. It is always created, but is installed only if PyQt itself
Rex Dieter 97a20cb
 # installs pyqtconfig.py.
Rex Dieter 97a20cb
@@ -54,4 +54,4 @@ _pkg_config = {
Rex Dieter 97a20cb
 }
Rex Dieter 97a20cb
 
Rex Dieter 97a20cb
 _default_macros = None")
Rex Dieter 97a20cb
-configure_file(pykdeconfig.py.in ${CMAKE_BINARY_DIR}/pykdeconfig.py)
Rex Dieter 97a20cb
+configure_file(${CMAKE_SOURCE_DIR}/pykdeconfig.py.in ${CMAKE_BINARY_DIR}/pykdeconfig.py)