summaryrefslogtreecommitdiff
path: root/media-sound/mixxx/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-01-15 12:32:06 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-01-15 12:32:06 +0000
commit2707b3736936ee55cdb089f6016bdd1e76a05b95 (patch)
tree647ea2f763df1a007dee55133344049fe8cc5d43 /media-sound/mixxx/files
parent8fcae7e2ee20885a00edc6ba963f478e3eb8d669 (diff)
media-sound/mixxx : import from Gentoo, version bump (bugfix : https://bugs.redcorelinux.org/show_bug.cgi?id=166)
Diffstat (limited to 'media-sound/mixxx/files')
-rw-r--r--media-sound/mixxx/files/mixxx-2.3.0-cmake.patch11
-rw-r--r--media-sound/mixxx/files/mixxx-2.3.0-docs.patch26
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