obsconfig.h.in 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #pragma once
  2. #ifndef ON
  3. #define ON 1
  4. #endif
  5. #ifndef OFF
  6. #define OFF 0
  7. #endif
  8. #define OBS_VERSION "@OBS_VERSION@"
  9. #define OBS_DATA_PATH "@OBS_DATA_PATH@"
  10. #define OBS_INSTALL_PREFIX "@OBS_INSTALL_PREFIX@"
  11. #define OBS_PLUGIN_DESTINATION "@OBS_PLUGIN_DESTINATION@"
  12. #define OBS_RELATIVE_PREFIX "@OBS_RELATIVE_PREFIX@"
  13. #define OBS_UNIX_STRUCTURE @OBS_UNIX_STRUCTURE@
  14. #define BUILD_CAPTIONS @BUILD_CAPTIONS@
  15. #define HAVE_DBUS @HAVE_DBUS@
  16. #define HAVE_PULSEAUDIO @HAVE_PULSEAUDIO@
  17. #define USE_XINPUT @USE_XINPUT@
  18. #define LIBOBS_IMAGEMAGICK_DIR_STYLE_6L 6
  19. #define LIBOBS_IMAGEMAGICK_DIR_STYLE_7GE 7
  20. #define LIBOBS_IMAGEMAGICK_DIR_STYLE @LIBOBS_IMAGEMAGICK_DIR_STYLE@
  21. /* NOTE: Release candidate version numbers internally are always the previous
  22. * main release number! For example, if the current public release is 21.0 and
  23. * the build is 22.0 release candidate 1, internally the build number (defined
  24. * by LIBOBS_API_VER/etc) will always be 21.0, despite the OBS_VERSION string
  25. * saying "22.0 RC1".
  26. *
  27. * If the release candidate version number is 0.0.0 and the RC number is 0,
  28. * that means it's not a release candidate build. */
  29. #define OBS_RELEASE_CANDIDATE_MAJOR @OBS_RELEASE_CANDIDATE_MAJOR@
  30. #define OBS_RELEASE_CANDIDATE_MINOR @OBS_RELEASE_CANDIDATE_MINOR@
  31. #define OBS_RELEASE_CANDIDATE_PATCH @OBS_RELEASE_CANDIDATE_PATCH@
  32. #define OBS_RELEASE_CANDIDATE_VER \
  33. MAKE_SEMANTIC_VERSION(OBS_RELEASE_CANDIDATE_MAJOR, \
  34. OBS_RELEASE_CANDIDATE_MINOR, \
  35. OBS_RELEASE_CANDIDATE_PATCH)
  36. #define OBS_RELEASE_CANDIDATE @OBS_RELEASE_CANDIDATE@