diff options
Diffstat (limited to 'media-sound/mixxx/files')
-rw-r--r-- | media-sound/mixxx/files/mixxx-2.3.0-cmake.patch | 11 | ||||
-rw-r--r-- | media-sound/mixxx/files/mixxx-2.3.0-docs.patch | 26 |
2 files changed, 37 insertions, 0 deletions
diff --git a/media-sound/mixxx/files/mixxx-2.3.0-cmake.patch b/media-sound/mixxx/files/mixxx-2.3.0-cmake.patch new file mode 100644 index 00000000..b573a624 --- /dev/null +++ b/media-sound/mixxx/files/mixxx-2.3.0-cmake.patch @@ -0,0 +1,11 @@ +--- mixxx-2.3.0/CMakeLists.txt ++++ mixxx-2.3.0/CMakeLists.txt +@@ -53,8 +53,6 @@ + set(CMAKE_BUILD_TYPE "${default_build_type}" CACHE STRING "Choose the type of build." FORCE) + # Set the possible values of build type for cmake-gui + set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "RelWithDebInfo") +- elseif(NOT CMAKE_BUILD_TYPE MATCHES "^(Debug|Release|RelWithDebInfo)$") +- message(FATAL_ERROR "CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} is not supported, use one of Debug, Release or RelWithDebInfo.") + endif() + endif() + diff --git a/media-sound/mixxx/files/mixxx-2.3.0-docs.patch b/media-sound/mixxx/files/mixxx-2.3.0-docs.patch new file mode 100644 index 00000000..e956e1ce --- /dev/null +++ b/media-sound/mixxx/files/mixxx-2.3.0-docs.patch @@ -0,0 +1,26 @@ +--- mixxx-2.3.0/CMakeLists.txt ++++ mixxx-2.3.0/CMakeLists.txt +@@ -1320,23 +1320,6 @@ + "${MIXXX_INSTALL_LICENSEDIR}" + ) + +-# Documentation +-install( +- FILES +- "${CMAKE_CURRENT_SOURCE_DIR}/README.md" +- "${CMAKE_CURRENT_SOURCE_DIR}/res/Mixxx-Keyboard-Shortcuts.pdf" +- DESTINATION +- "${MIXXX_INSTALL_DOCDIR}" +-) +-if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/res/Mixxx-Manual.pdf") +- install( +- FILES +- "${CMAKE_CURRENT_SOURCE_DIR}/res/Mixxx-Manual.pdf" +- DESTINATION +- "${MIXXX_INSTALL_DOCDIR}" +- ) +-endif() +- + # Additional Linux-only files + if(UNIX AND NOT APPLE) + # .desktop file for KDE/GNOME menu |