summaryrefslogtreecommitdiff
path: root/graphics/frei0r/files
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/frei0r/files')
-rw-r--r--graphics/frei0r/files/patch-CMakeLists.txt20
-rw-r--r--graphics/frei0r/files/patch-src_filter_CMakeLists.txt8
-rw-r--r--graphics/frei0r/files/patch-src_mixer2_CMakeLists.txt4
3 files changed, 15 insertions, 17 deletions
diff --git a/graphics/frei0r/files/patch-CMakeLists.txt b/graphics/frei0r/files/patch-CMakeLists.txt
index a3d9fadcc109..5b47386f10e6 100644
--- a/graphics/frei0r/files/patch-CMakeLists.txt
+++ b/graphics/frei0r/files/patch-CMakeLists.txt
@@ -1,15 +1,15 @@
- Fix VERSION.
-- Make plugins dependent upon cairo optional.
-- Add logic so slave ports can build without installing base files or plugins.
+- Make plugins that depend upon cairo optional.
+- Add logic so extra plugins can build without installing base components.
---- CMakeLists.txt.orig 2024-06-07 09:00:56 UTC
+--- CMakeLists.txt.orig 2025-09-03 14:34:34 UTC
+++ CMakeLists.txt
@@ -3,16 +3,21 @@ project (frei0r)
list (APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)
project (frei0r)
-set (VERSION 1.8)
-+set (VERSION 2.3)
++set (VERSION 2.4.0)
include(GNUInstallDirs)
@@ -28,25 +28,23 @@
include(FindPkgConfig)
option (WITHOUT_GAVL "Disable plugins dependent upon gavl" OFF)
-@@ -35,18 +40,25 @@ INCLUDE( cmake/modules/TargetDistclean.cmake OPTIONAL)
+@@ -35,17 +40,24 @@ INCLUDE( cmake/modules/TargetDistclean.cmake OPTIONAL)
# --- custom targets: ---
INCLUDE( cmake/modules/TargetDistclean.cmake OPTIONAL)
--# See this thread for a ridiculous discussion about the simple question how to install a header file with CMake: http://www.cmake.org/pipermail/cmake/2009-October/032874.html
--install (DIRECTORY include DESTINATION . FILES_MATCHING PATTERN "frei0r.h" PATTERN "msvc" EXCLUDE)
+-install(DIRECTORY ${CMAKE_SOURCE_DIR}/include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
+if (NOT BUILD_EXTRA_PLUGINS)
-+ # See this thread for a ridiculous discussion about the simple question how to install a header file with CMake: http://www.cmake.org/pipermail/cmake/2009-October/032874.html
-+ install (DIRECTORY include DESTINATION . FILES_MATCHING PATTERN "frei0r.h" PATTERN "msvc" EXCLUDE)
++ install(DIRECTORY ${CMAKE_SOURCE_DIR}/include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
# For code documentation run: doxygen doc/Doxyfile
# add_subdirectory (doc)
-add_subdirectory (src)
+ add_subdirectory (src)
-+else()
++else ()
+ add_subdirectory (src/filter)
+ add_subdirectory (src/mixer2)
-+endif()
++endif ()
# Generate frei0r.pc and install it.
set (prefix "${CMAKE_INSTALL_PREFIX}")
diff --git a/graphics/frei0r/files/patch-src_filter_CMakeLists.txt b/graphics/frei0r/files/patch-src_filter_CMakeLists.txt
index e2e70420920e..2d6a3fd597e5 100644
--- a/graphics/frei0r/files/patch-src_filter_CMakeLists.txt
+++ b/graphics/frei0r/files/patch-src_filter_CMakeLists.txt
@@ -1,16 +1,16 @@
- Add logic so slave ports can build without installing base plugins.
---- src/filter/CMakeLists.txt.orig 2024-06-07 09:00:56 UTC
+--- src/filter/CMakeLists.txt.orig 2025-09-03 14:34:34 UTC
+++ src/filter/CMakeLists.txt
-@@ -14,6 +14,7 @@ endif (${Cairo_FOUND})
- add_subdirectory (cairogradient)
+@@ -15,6 +15,7 @@ endif (${Cairo_FOUND})
+ add_subdirectory (mirr0r)
endif (${Cairo_FOUND})
+if (NOT BUILD_EXTRA_PLUGINS)
add_subdirectory (3dflippo)
add_subdirectory (aech0r)
add_subdirectory (alpha0ps)
-@@ -99,3 +100,4 @@ add_subdirectory (vignette)
+@@ -101,3 +102,4 @@ add_subdirectory (vignette)
add_subdirectory (twolay0r)
add_subdirectory (vertigo)
add_subdirectory (vignette)
diff --git a/graphics/frei0r/files/patch-src_mixer2_CMakeLists.txt b/graphics/frei0r/files/patch-src_mixer2_CMakeLists.txt
index d4e8f4cb0a0a..7b33c9b8bd1a 100644
--- a/graphics/frei0r/files/patch-src_mixer2_CMakeLists.txt
+++ b/graphics/frei0r/files/patch-src_mixer2_CMakeLists.txt
@@ -1,6 +1,6 @@
- Add logic so slave ports can build without installing base plugins.
---- src/mixer2/CMakeLists.txt.orig 2023-01-14 18:47:26 UTC
+--- src/mixer2/CMakeLists.txt.orig 2025-09-03 14:34:34 UTC
+++ src/mixer2/CMakeLists.txt
@@ -3,6 +3,7 @@ endif (${Cairo_FOUND})
add_subdirectory (cairoblend)
@@ -10,7 +10,7 @@
add_subdirectory (addition)
add_subdirectory (addition_alpha)
add_subdirectory (alphaatop)
-@@ -34,3 +35,4 @@ add_subdirectory (sleid0r)
+@@ -35,3 +36,4 @@ add_subdirectory (sleid0r)
add_subdirectory (value)
add_subdirectory (xfade0r)
add_subdirectory (sleid0r)