1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

graphics/openjph: Update to 0.9.0

Changes:	https://github.com/aous72/OpenJPH/releases
This commit is contained in:
Po-Chuan Hsieh 2022-06-03 16:49:44 +08:00
parent 8fe3c07f1f
commit a4b5c99005
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
3 changed files with 19 additions and 19 deletions

View File

@ -1,7 +1,7 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= openjph
PORTVERSION= 0.8.3
PORTVERSION= 0.9.0
CATEGORIES= graphics
MAINTAINER= sunpoet@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1650228680
SHA256 (aous72-OpenJPH-0.8.3_GH0.tar.gz) = fb08d929600557fb299ac3be206f651e34e80ff3b8085666c794cd046a06d81d
SIZE (aous72-OpenJPH-0.8.3_GH0.tar.gz) = 339637
TIMESTAMP = 1653925886
SHA256 (aous72-OpenJPH-0.9.0_GH0.tar.gz) = 6970b14e73babb7a2e466be115e45fc55e9e02104248938257dd5bac5c67d41a
SIZE (aous72-OpenJPH-0.9.0_GH0.tar.gz) = 375685

View File

@ -1,25 +1,25 @@
--- CMakeLists.txt.orig 2022-04-07 02:26:42 UTC
--- CMakeLists.txt.orig 2022-05-25 12:38:19 UTC
+++ CMakeLists.txt
@@ -54,9 +54,6 @@ if (OJPH_CODE_COVERAGE AND NOT MSVC)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --coverage")
@@ -59,9 +59,6 @@ if (OJPH_CODE_COVERAGE AND NOT MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --coverage")
endif()
-set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/../bin)
-set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/../bin)
-
############################################################
if( OJPH_ENABLE_TIFF_SUPPORT )
include_directories(src/core/common)
include_directories(src/apps/common)
@@ -103,7 +100,7 @@ file(GLOB AVX2_SOURCES "src/core/transform/*_avx2.cpp"
@@ -96,7 +93,7 @@ source_group("transform" FILES ${TRANSFORM})
CONFIGURE_FILE(
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/src/pkg-config.pc.cmake"
- "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${PROJECT_NAME}.pc"
+ "${CMAKE_BINARY_DIR}/${PROJECT_NAME}.pc"
)
if (OJPH_DISABLE_INTEL_SIMD)
@@ -124,7 +121,7 @@ if (OPENJPH_VERSION)
if(EMSCRIPTEN)
@@ -133,7 +130,7 @@ if (OPENJPH_VERSION)
else()
set_target_properties(openjph
PROPERTIES
@ -28,14 +28,14 @@
VERSION "${OPENJPH_VERSION}")
endif()
else()
@@ -172,8 +169,8 @@ INSTALL (DIRECTORY src/core/common/
@@ -243,8 +240,8 @@ install (DIRECTORY src/core/common/
FILES_MATCHING
PATTERN "*.h")
-INSTALL(FILES "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${PROJECT_NAME}.pc"
- DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
+INSTALL(FILES "${CMAKE_BINARY_DIR}/${PROJECT_NAME}.pc"
+ DESTINATION libdata/pkgconfig)
-install(FILES "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${PROJECT_NAME}.pc"
- DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
+install(FILES "${CMAKE_BINARY_DIR}/${PROJECT_NAME}.pc"
+ DESTINATION libdata/pkgconfig)
################################################################################################
# Testing
# Testing (OJPH_BUILD_TEST)