1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/graphics/lux/files/patch-CMakeLists.txt
Robert Clausecker 3959c2813b graphics/lux: Update to 1.1.5
Upstream changes:

 - EXIF metadata is now used to determine field of view
 - panorama photographs from smartphone camera applications
   are no heuristically detected
 - new config file ~/.lux.ini is evaluated
 - many small improvements and bug fixes

Changelog:	https://groups.google.com/g/hugin-ptx/c/bfX6Fu3mwy0/m/BNmUoqbnAAAJ
2023-03-21 13:53:47 +01:00

36 lines
1.4 KiB
Plaintext

--- CMakeLists.txt.orig 2023-02-09 16:33:06 UTC
+++ CMakeLists.txt
@@ -139,8 +139,8 @@ message(STATUS "***** => LUX DATA DIRECTORY ${DataDir}
message(STATUS "***** SYSTEM PROCESSOR ${CMAKE_SYSTEM_PROCESSOR}")
if ( ${CMAKE_SYSTEM_PROCESSOR} STREQUAL x86_64
- OR ${CMAKE_SYSTEM_PROCESSOR} STREQUAL AMD64
- OR ${CMAKE_SYSTEM_PROCESSOR} STREQUAL i686 )
+ OR ${CMAKE_SYSTEM_PROCESSOR} STREQUAL amd64
+ OR ${CMAKE_SYSTEM_PROCESSOR} STREQUAL i386 )
set(i86 TRUE)
message(STATUS "***** setting i86 TRUE for an intel/AMD target")
else()
@@ -351,7 +351,7 @@ set(AVX2_FLAGS "${RENDERING_FLAGS} \
# about it and I don't have an AVX512 machine.
set(AVX512f_FLAGS "${RENDERING_FLAGS} \
- -mavx512f -march=skx -mpclmul -maes \
+ -mavx512f -march=skylake-avx512 -mpclmul -maes \
-D hn=hn_avx512 -D PV_ARCH=PV_AVX512f \
-D PV_ARCHNAME=\\\"avx512f\\\" \
-D PV_PRIORITY=0 -D PV_VIABILITY=has_avx512f -D FLV_AVX512f")
@@ -651,12 +651,6 @@ endif()
install(TARGETS ${_project_name} DESTINATION bin)
-# Copy the NotoSans-Regular font and the readme (as required by the license)
-# to the platform-specific font directory
-
-install(FILES NotoSans-Regular.ttf noto_font_license.txt DESTINATION
- "${DataDir}/fonts")
-
# The next section could do with sone tidying up. It deals with packaging
# lux for distribution. This is used for some distribution channles, e.g.
# to make .deb packages for ubuntu and debian, but packaging for windows