forked from Lainports/freebsd-ports
- Update `graphics/partio' to version 1.14.0
- Drop `python' from PYQT_USES, it's on global USES - Install versioned shared library Reported by: portscout
This commit is contained in:
parent
36c251d986
commit
6ae5db56c6
4 changed files with 25 additions and 5 deletions
|
|
@ -1,7 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= partio
|
||||
PORTVERSION= 1.13.2
|
||||
PORTVERSION= 1.14.0
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= graphics math
|
||||
|
||||
|
|
@ -36,11 +36,14 @@ DOXYGEN_ALL_TARGET= all doc
|
|||
|
||||
DOCS_BUILD_DEPENDS= doxygen:devel/doxygen
|
||||
|
||||
PYQT_USES= pyqt:5 python
|
||||
PYQT_USES= pyqt:5
|
||||
PYQT_USE= PYQT=core,gui,widgets
|
||||
PYQT_PLIST_FILES= bin/partinspect
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
'/^project/s,${PORTNAME},& VERSION ${PORTVERSION},' \
|
||||
${WRKSRC}/CMakeLists.txt
|
||||
@${REINPLACE_CMD} -e 's,OpenGL::OpenGL,$${OPENGL_LIBRARIES},' \
|
||||
${WRKSRC}/src/tools/CMakeLists.txt
|
||||
@${REINPLACE_CMD} -e 's,^from Qt,from PyQt5,' \
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1600362217
|
||||
SHA256 (wdas-partio-v1.13.2_GH0.tar.gz) = c03cd4880eb9562d655b47fe2cf525856babafab884897c9b78f1817edfcca35
|
||||
SIZE (wdas-partio-v1.13.2_GH0.tar.gz) = 335102
|
||||
TIMESTAMP = 1606871958
|
||||
SHA256 (wdas-partio-v1.14.0_GH0.tar.gz) = f98874b781e92ab9b5d0575cabc437d27274cd91cb581f80960918efa491f902
|
||||
SIZE (wdas-partio-v1.14.0_GH0.tar.gz) = 335265
|
||||
|
|
|
|||
15
graphics/partio/files/patch-src_lib_CMakeLists.txt
Normal file
15
graphics/partio/files/patch-src_lib_CMakeLists.txt
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
--- src/lib/CMakeLists.txt.orig 2020-12-02 01:19:18 UTC
|
||||
+++ src/lib/CMakeLists.txt
|
||||
@@ -40,7 +40,11 @@ else()
|
||||
set(PARTIO_LIBRARY_TYPE STATIC)
|
||||
endif()
|
||||
add_library(partio ${PARTIO_LIBRARY_TYPE} ${io_cpp} ${core_cpp})
|
||||
-set_target_properties(partio PROPERTIES OUTPUT_NAME partio POSITION_INDEPENDENT_CODE ON)
|
||||
+set_target_properties(partio PROPERTIES
|
||||
+ OUTPUT_NAME partio
|
||||
+ VERSION ${CMAKE_PROJECT_VERSION}
|
||||
+ SOVERSION 1
|
||||
+ POSITION_INDEPENDENT_CODE ON)
|
||||
|
||||
target_include_directories(partio
|
||||
PUBLIC
|
||||
|
|
@ -8,6 +8,8 @@ include/PartioAttribute.h
|
|||
include/PartioIterator.h
|
||||
include/PartioVec3.h
|
||||
lib/libpartio.so
|
||||
lib/libpartio.so.1
|
||||
lib/libpartio.so.1.14.0
|
||||
%%PYTHON_SITELIBDIR%%/_partio.so
|
||||
%%PYTHON_SITELIBDIR%%/partedit.py
|
||||
%%PYTHON_SITELIBDIR%%/partinspect.py
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue