mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
audio/libopenshot-audio: Update to 0.1.8.100
PR: 241911 Submitted by: Tatsuki Makino <tatsuki_makino@hotmail.com> (maintainer)
This commit is contained in:
parent
d4a043d9a0
commit
f1100c2036
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=519291
@ -2,9 +2,8 @@
|
||||
|
||||
PORTNAME= libopenshot-audio
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.1.8-39
|
||||
PORTREVISION= 1
|
||||
DISTVERSIONSUFFIX= -g9a1a609
|
||||
DISTVERSION= 0.1.8-100
|
||||
DISTVERSIONSUFFIX= -g006fd01
|
||||
CATEGORIES= audio multimedia
|
||||
|
||||
MAINTAINER= tatsuki_makino@hotmail.com
|
||||
@ -21,7 +20,8 @@ USE_LDCONFIG= yes
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= OpenShot
|
||||
|
||||
CMAKE_ON= CMAKE_DISABLE_FIND_PACKAGE_Doxygen \
|
||||
CMAKE_DISABLE_FIND_PACKAGE_ImageMagick
|
||||
CMAKE_ON= CMAKE_DISABLE_FIND_PACKAGE_Doxygen\
|
||||
CMAKE_DISABLE_FIND_PACKAGE_ImageMagick\
|
||||
CMAKE_DISABLE_FIND_PACKAGE_PythonInterp
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1556290800
|
||||
SHA256 (OpenShot-libopenshot-audio-v0.1.8-39-g9a1a609_GH0.tar.gz) = 7acabb2938c179e22e474c80d8c61940d319007ed454521f215f7bf6b8f1d24c
|
||||
SIZE (OpenShot-libopenshot-audio-v0.1.8-39-g9a1a609_GH0.tar.gz) = 1695347
|
||||
TIMESTAMP = 1573527600
|
||||
SHA256 (OpenShot-libopenshot-audio-v0.1.8-100-g006fd01_GH0.tar.gz) = a9d0b47483b96aade1f9e3b8015755754361e908f4c39869a17bb42a74776f9c
|
||||
SIZE (OpenShot-libopenshot-audio-v0.1.8-100-g006fd01_GH0.tar.gz) = 1712033
|
||||
|
@ -1,27 +1,11 @@
|
||||
--- CMakeLists.txt.orig 2019-04-17 16:56:20 UTC
|
||||
--- CMakeLists.txt.orig 2019-10-24 07:05:50 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -147,14 +147,15 @@ ELSE (WIN32)
|
||||
SET(CMAKE_CXX_FLAGS " ${CMAKE_CXX_FLAGS} -flax-vector-conversions")
|
||||
@@ -192,7 +192,7 @@ if(UNIX AND NOT APPLE)
|
||||
INTERFACE_INCLUDE_DIRECTORIES ${ALSA_INCLUDE_DIR}
|
||||
INTERFACE_LINK_LIBRARIES ${ALSA_LIBRARIES})
|
||||
endif()
|
||||
- target_compile_definitions(openshot-audio PUBLIC LINUX)
|
||||
+ #target_compile_definitions(openshot-audio PUBLIC LINUX)
|
||||
target_link_libraries(openshot-audio PUBLIC ALSA::ALSA)
|
||||
endif()
|
||||
|
||||
ELSE (APPLE)
|
||||
- SET_PROPERTY(GLOBAL PROPERTY JUCE_LINUX "JUCE_LINUX")
|
||||
+ #SET_PROPERTY(GLOBAL PROPERTY JUCE_LINUX "JUCE_LINUX")
|
||||
SET(EXTENSION "cpp")
|
||||
|
||||
find_package(ZLIB REQUIRED)
|
||||
find_package(ALSA REQUIRED)
|
||||
+ find_library(EXECINFO_LIBRARY NAMES execinfo)
|
||||
include_directories(${ZLIB_INCLUDE_DIR} ${ALSA_INCLUDE_DIR})
|
||||
- ADD_DEFINITIONS(-DLINUX)
|
||||
- SET(JUCE_PLATFORM_SPECIFIC_LIBRARIES ${ZLIB_LIBRARIES} ${ALSA_LIBRARIES})
|
||||
+ #ADD_DEFINITIONS(-DLINUX)
|
||||
+ SET(JUCE_PLATFORM_SPECIFIC_LIBRARIES ${ZLIB_LIBRARIES} ${ALSA_LIBRARIES} ${EXECINFO_LIBRARY})
|
||||
SET(CMAKE_CXX_FLAGS " ${CMAKE_CXX_FLAGS} -std=c++11")
|
||||
ENDIF(APPLE)
|
||||
ENDIF(UNIX)
|
||||
@@ -220,4 +221,4 @@ file(GLOB_RECURSE doc_files ${CMAKE_CURRENT_BINARY_DIR
|
||||
INSTALL(FILES ${doc_files} DESTINATION share/doc/libopenshot-audio)
|
||||
|
||||
# Install manpage
|
||||
-INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/doc/openshot-audio-test-sound.1 DESTINATION share/man/man1)
|
||||
+INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/doc/openshot-audio-test-sound.1 DESTINATION man/man1)
|
||||
|
16
audio/libopenshot-audio/files/patch-src_CMakeLists.txt
Normal file
16
audio/libopenshot-audio/files/patch-src_CMakeLists.txt
Normal file
@ -0,0 +1,16 @@
|
||||
--- src/CMakeLists.txt.orig 2019-10-24 07:05:50 UTC
|
||||
+++ src/CMakeLists.txt
|
||||
@@ -26,8 +26,13 @@
|
||||
|
||||
|
||||
############### TEST EXECUTABLES ################
|
||||
+find_library(EXECINFO_LIBRARY NAMES execinfo)
|
||||
+if(NOT EXECINFO_LIBRARY)
|
||||
+ message(FATAL_ERROR "${EXECINFO_LIBRARY}")
|
||||
+endif(NOT EXECINFO_LIBRARY)
|
||||
add_executable(openshot-audio-test-sound Main.cpp)
|
||||
target_link_libraries(openshot-audio-test-sound openshot-audio)
|
||||
+target_link_libraries(openshot-audio-test-sound ${EXECINFO_LIBRARY})
|
||||
set_target_properties(openshot-audio-test-sound PROPERTIES
|
||||
CXX_STANDARD 11
|
||||
CXX_STANDARD_REQUIRED YES
|
Loading…
Reference in New Issue
Block a user