forked from pool/SVT-AV1
d220776634
- Update descriptions, make it fit for Factory. - Use the same macro style everywhere. - Edit fix-build.patch to conform to SLPP. with rpmlintrc OBS-URL: https://build.opensuse.org/request/show/676973 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/SVT-AV1?expand=0&rev=11
33 lines
1.4 KiB
Diff
33 lines
1.4 KiB
Diff
---
|
|
CMakeLists.txt | 4 ++--
|
|
Source/Lib/Codec/CMakeLists.txt | 1 +
|
|
2 files changed, 3 insertions(+), 2 deletions(-)
|
|
|
|
Index: SVT-AV1-0.0~pre.1549319082.2a52193/CMakeLists.txt
|
|
===================================================================
|
|
--- SVT-AV1-0.0~pre.1549319082.2a52193.orig/CMakeLists.txt
|
|
+++ SVT-AV1-0.0~pre.1549319082.2a52193/CMakeLists.txt
|
|
@@ -8,8 +8,8 @@ set(project_name "svt-av1")
|
|
|
|
project(${project_name} C ASM_NASM)
|
|
|
|
-set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${CMAKE_BUILD_TYPE}/lib)
|
|
-set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${CMAKE_BUILD_TYPE}/lib)
|
|
+set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${CMAKE_BUILD_TYPE}/lib${LIB_SUFFIX})
|
|
+set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${CMAKE_BUILD_TYPE}/lib${LIB_SUFFIX})
|
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${CMAKE_BUILD_TYPE}/bin)
|
|
|
|
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
|
Index: SVT-AV1-0.0~pre.1549319082.2a52193/Source/Lib/Codec/CMakeLists.txt
|
|
===================================================================
|
|
--- SVT-AV1-0.0~pre.1549319082.2a52193.orig/Source/Lib/Codec/CMakeLists.txt
|
|
+++ SVT-AV1-0.0~pre.1549319082.2a52193/Source/Lib/Codec/CMakeLists.txt
|
|
@@ -35,6 +35,7 @@ file(GLOB all_files
|
|
add_library(SvtAv1Enc SHARED
|
|
${all_files}
|
|
)
|
|
+SET_TARGET_PROPERTIES(SvtAv1Enc PROPERTIES SOVERSION suse0)
|
|
|
|
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
|
target_link_libraries(SvtAv1Enc
|