libvorbis/libvorbis-1.3.7-soname.patch

21 lines
1.2 KiB
Diff
Raw Normal View History

--- libvorbis-1.3.7/lib/CMakeLists.txt.orig 2020-04-15 18:20:52.000000000 +0200
+++ libvorbis-1.3.7/lib/CMakeLists.txt 2023-05-09 12:34:57.295329566 +0200
@@ -79,11 +79,14 @@
add_library(vorbisfile ${VORBISFILE_SOURCES})
get_version_info(VORBIS_VERSION_INFO "V_LIB_CURRENT" "V_LIB_AGE" "V_LIB_REVISION")
- set_target_properties(vorbis PROPERTIES SOVERSION ${VORBIS_VERSION_INFO})
+ set_target_properties(vorbis PROPERTIES SOVERSION "0")
+ set_target_properties(vorbis PROPERTIES VERSION ${VORBIS_VERSION_INFO})
get_version_info(VORBISENC_VERSION_INFO "VE_LIB_CURRENT" "VE_LIB_AGE" "VE_LIB_REVISION")
- set_target_properties(vorbisenc PROPERTIES SOVERSION ${VORBISENC_VERSION_INFO})
+ set_target_properties(vorbisenc PROPERTIES SOVERSION "2")
+ set_target_properties(vorbisenc PROPERTIES VERSION ${VORBISENC_VERSION_INFO})
get_version_info(VORBISFILE_VERSION_INFO "VF_LIB_CURRENT" "VF_LIB_AGE" "VF_LIB_REVISION")
- set_target_properties(vorbisfile PROPERTIES SOVERSION ${VORBISFILE_VERSION_INFO})
+ set_target_properties(vorbisfile PROPERTIES SOVERSION "3")
+ set_target_properties(vorbisfile PROPERTIES VERSION ${VORBISFILE_VERSION_INFO})
target_include_directories(vorbis
PUBLIC