OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.8 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../djv/djv-0.8.2-rename_test_audio.patch
  5. # Copyright (C) 2011 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. Description: Rename rename audio test tool 'test_audio' to 'djv_test_audio'
  17. --- djv-0.8.2/tests/audio/CMakeLists.txt.orig 2009-07-18 21:36:30.000000000 +0200
  18. +++ djv-0.8.2/tests/audio/CMakeLists.txt 2011-04-15 17:31:18.780078685 +0200
  19. @@ -7,29 +7,29 @@
  20. ${QUICKTIME_INCLUDE_DIR}
  21. )
  22. -add_executable(test_audio ${header} ${src})
  23. +add_executable(djv_test_audio ${header} ${src})
  24. -add_dependencies(test_audio ${djv_ui_dep})
  25. +add_dependencies(djv_test_audio ${djv_ui_dep})
  26. target_link_libraries(
  27. - test_audio
  28. + djv_test_audio
  29. ${djv_ui_lib}
  30. ${QUICKTIME_LIBRARIES}
  31. ${PORTAUDIO_LIBRARIES}
  32. )
  33. -target_link_libraries(test_audio ${djv_ui_lib})
  34. +target_link_libraries(djv_test_audio ${djv_ui_lib})
  35. if (djv_install_rpath)
  36. set_target_properties(
  37. - test_audio PROPERTIES
  38. + djv_test_audio PROPERTIES
  39. INSTALL_RPATH "${djv_install_rpath}"
  40. )
  41. endif (djv_install_rpath)
  42. -install(TARGETS test_audio RUNTIME DESTINATION bin)
  43. +install(TARGETS djv_test_audio RUNTIME DESTINATION bin)
  44. if (APPLE)
  45. - DJV_OSX_INSTALL_BIN(test_audio)
  46. + DJV_OSX_INSTALL_BIN(djv_test_audio)
  47. endif (APPLE)