freebsd-ports/graphics/frei0r/files/extra-patch-frei0r-plugins
Olivier Duchateau 63096adcaa - graphics/frei0r [2]
* Update to 1.5.0
 * Update MASTER_SITES
 * Switch to CMake, rewrite some parts of graphics/frei0r's Makefile and
patches
 * Remove APIDOC, DOCS and MMX options (MMX is not available in CMakeLists.txt)

- graphics/frei0r-plugins
 * Switch to USES= metaport [1]

PR:		(based on) 201636 [1], 209291 [2]
Submitted by:	Andriy Voskoboinyk [1], myself [2]
Approved by:	jhale@ (maintainer, timeout > 2 months)
2016-07-26 19:03:57 +00:00

118 lines
3.7 KiB
Text

--- CMakeLists.txt.orig 2016-04-02 00:29:38 UTC
+++ CMakeLists.txt
@@ -10,8 +10,6 @@ if (NOT WITHOUT_OPENCV)
find_package (OpenCV)
endif ()
-find_package (Cairo)
-
include(FindPkgConfig)
option (WITHOUT_GAVL "Disable plugins dependent upon gavl" OFF)
if (PKG_CONFIG_FOUND AND NOT WITHOUT_GAVL)
@@ -45,16 +43,8 @@ set (FREI0R_1_1_DEF ${CMAKE_SOURCE_DIR}/
# --- 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)
-
-add_subdirectory (doc)
-add_subdirectory (src)
+add_subdirectory (src/filter)
-# Generate frei0r.pc and install it.
set (prefix "${CMAKE_INSTALL_PREFIX}")
set (exec_prefix "${CMAKE_INSTALL_PREFIX}")
set (libdir "${CMAKE_INSTALL_PREFIX}/lib")
-set (includedir "${CMAKE_INSTALL_PREFIX}/include")
-configure_file ("frei0r.pc.in" "frei0r.pc" @ONLY)
-install (FILES "${CMAKE_CURRENT_BINARY_DIR}/frei0r.pc" DESTINATION lib/pkgconfig)
--- src/filter/CMakeLists.txt.orig 2016-04-02 00:29:38 UTC
+++ src/filter/CMakeLists.txt
@@ -8,86 +8,3 @@ if (${OpenCV_FOUND})
add_subdirectory (facebl0r)
add_subdirectory (facedetect)
endif (${OpenCV_FOUND})
-
-if (${Cairo_FOUND})
- add_subdirectory (cairoimagegrid)
- add_subdirectory (cairogradient)
-endif (${Cairo_FOUND})
-
-add_subdirectory (3dflippo)
-add_subdirectory (alpha0ps)
-add_subdirectory (balanc0r)
-add_subdirectory (baltan)
-add_subdirectory (bluescreen0r)
-add_subdirectory (blur)
-add_subdirectory (brightness)
-add_subdirectory (bw0r)
-add_subdirectory (cartoon)
-add_subdirectory (cluster)
-add_subdirectory (colgate)
-add_subdirectory (coloradj)
-add_subdirectory (colordistance)
-add_subdirectory (colorize)
-add_subdirectory (colorhalftone)
-add_subdirectory (colortap)
-add_subdirectory (contrast0r)
-add_subdirectory (c0rners)
-add_subdirectory (curves)
-add_subdirectory (d90stairsteppingfix)
-add_subdirectory (defish0r)
-add_subdirectory (delay0r)
-add_subdirectory (delaygrab)
-add_subdirectory (denoise)
-add_subdirectory (distort0r)
-add_subdirectory (dither)
-add_subdirectory (edgeglow)
-add_subdirectory (emboss)
-add_subdirectory (equaliz0r)
-add_subdirectory (flippo)
-add_subdirectory (gamma)
-add_subdirectory (glow)
-#add_subdirectory (host_param_test)
-add_subdirectory (hueshift0r)
-add_subdirectory (invert0r)
-add_subdirectory (keyspillm0pup)
-add_subdirectory (lenscorrection)
-add_subdirectory (letterb0xed)
-add_subdirectory (levels)
-add_subdirectory (lightgraffiti)
-add_subdirectory (luminance)
-add_subdirectory (mask0mate)
-add_subdirectory (medians)
-if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
- # clang 3.1 on OSX fails to compile this one
- add_subdirectory (measure)
-endif ()
-add_subdirectory (ndvi)
-add_subdirectory (nervous)
-add_subdirectory (nosync0r)
-add_subdirectory (perspective)
-add_subdirectory (pixeliz0r)
-add_subdirectory (posterize)
-add_subdirectory (primaries)
-add_subdirectory (RGB)
-add_subdirectory (rgbnoise)
-add_subdirectory (saturat0r)
-add_subdirectory (scanline0r)
-add_subdirectory (select0r)
-add_subdirectory (sharpness)
-add_subdirectory (sigmoidaltransfer)
-add_subdirectory (sobel)
-add_subdirectory (softglow)
-add_subdirectory (sopsat)
-add_subdirectory (spillsupress)
-add_subdirectory (squareblur)
-add_subdirectory (tehroxx0r)
-add_subdirectory (three_point_balance)
-add_subdirectory (threelay0r)
-add_subdirectory (threshold0r)
-add_subdirectory (timeout)
-add_subdirectory (tint0r)
-add_subdirectory (transparency)
-add_subdirectory (tutorial)
-add_subdirectory (twolay0r)
-add_subdirectory (vertigo)
-add_subdirectory (vignette)