mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
graphics/openjph: Update to 0.8.3
- Add missing USE_LDCONFIG Changes: https://github.com/aous72/OpenJPH/releases
This commit is contained in:
parent
4c278018a8
commit
0f05236e04
@ -1,7 +1,7 @@
|
||||
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
||||
|
||||
PORTNAME= openjph
|
||||
PORTVERSION= 0.8.2
|
||||
PORTVERSION= 0.8.3
|
||||
CATEGORIES= graphics
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
@ -16,6 +16,7 @@ NOT_FOR_ARCHS_REASON= is currently 64-bit only
|
||||
USES= cmake compiler:c++11-lang # pathfix
|
||||
|
||||
CMAKE_ON= BUILD_SHARED_LIBS
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1646057880
|
||||
SHA256 (aous72-OpenJPH-0.8.2_GH0.tar.gz) = 60bbeac63fa0468304d645494bc72ff6c52529920fe8108184dbda59c177412e
|
||||
SIZE (aous72-OpenJPH-0.8.2_GH0.tar.gz) = 265469
|
||||
TIMESTAMP = 1650228680
|
||||
SHA256 (aous72-OpenJPH-0.8.3_GH0.tar.gz) = fb08d929600557fb299ac3be206f651e34e80ff3b8085666c794cd046a06d81d
|
||||
SIZE (aous72-OpenJPH-0.8.3_GH0.tar.gz) = 339637
|
||||
|
@ -1,4 +1,4 @@
|
||||
--- CMakeLists.txt.orig 2022-01-03 05:55:29 UTC
|
||||
--- CMakeLists.txt.orig 2022-04-07 02:26:42 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -54,9 +54,6 @@ if (OJPH_CODE_COVERAGE AND NOT MSVC)
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --coverage")
|
||||
@ -19,29 +19,21 @@
|
||||
)
|
||||
|
||||
if (OJPH_DISABLE_INTEL_SIMD)
|
||||
@@ -116,13 +113,13 @@ target_include_directories(openjph PUBLIC src/core/com
|
||||
|
||||
set_target_properties(openjph
|
||||
PROPERTIES
|
||||
- OUTPUT_NAME "openjph.${OPENJPH_VERSION_MAJOR}.${OPENJPH_VERSION_MINOR}.${OPENJPH_VERSION_PATCH}"
|
||||
+ OUTPUT_NAME "openjph"
|
||||
)
|
||||
|
||||
-if (OPENJPH_VERSION AND CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||
+if (OPENJPH_VERSION AND CMAKE_SYSTEM_NAME MATCHES "FreeBSD|Linux")
|
||||
set_target_properties(openjph
|
||||
PROPERTIES
|
||||
- SOVERSION "${OPENJPH_VERSION_MAJOR}.${OPENJPH_VERSION_MINOR}")
|
||||
+ SOVERSION "${OPENJPH_VERSION_MAJOR}.${OPENJPH_VERSION_MINOR}.${OPENJPH_VERSION_PATCH}")
|
||||
endif()
|
||||
|
||||
if (MSVC)
|
||||
@@ -165,8 +162,8 @@ INSTALL (DIRECTORY src/core/common/
|
||||
@@ -124,7 +121,7 @@ if (OPENJPH_VERSION)
|
||||
else()
|
||||
set_target_properties(openjph
|
||||
PROPERTIES
|
||||
- SOVERSION "${OPENJPH_VERSION_MAJOR}.${OPENJPH_VERSION_MINOR}"
|
||||
+ SOVERSION "${OPENJPH_VERSION_MAJOR}"
|
||||
VERSION "${OPENJPH_VERSION}")
|
||||
endif()
|
||||
else()
|
||||
@@ -172,8 +169,8 @@ INSTALL (DIRECTORY src/core/common/
|
||||
FILES_MATCHING
|
||||
PATTERN "*.h")
|
||||
|
||||
-INSTALL(FILES "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${PROJECT_NAME}.pc"
|
||||
- DESTINATION lib/pkgconfig)
|
||||
- DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
|
||||
+INSTALL(FILES "${CMAKE_BINARY_DIR}/${PROJECT_NAME}.pc"
|
||||
+ DESTINATION libdata/pkgconfig)
|
||||
|
||||
|
@ -11,5 +11,6 @@ include/openjph/ojph_message.h
|
||||
include/openjph/ojph_params.h
|
||||
include/openjph/ojph_version.h
|
||||
lib/libopenjph.so
|
||||
lib/libopenjph.so.0
|
||||
lib/libopenjph.so.%%PORTVERSION%%
|
||||
libdata/pkgconfig/openjph.pc
|
||||
|
Loading…
Reference in New Issue
Block a user