mirror of https://github.com/xiph/flac
Fix library version numbers/sonames
This commit is contained in:
parent
08f8af0845
commit
c7fc1768e8
|
@ -36,8 +36,8 @@ jobs:
|
|||
make
|
||||
unxz --keep test/abi/abi-libFLAC-1.4.0.dump.xz
|
||||
unxz --keep test/abi/abi-libFLAC++-1.4.0.dump.xz
|
||||
abi-compliance-checker -l flac -old test/abi/abi-libFLAC-1.4.0.dump -new test/abi/abi-descriptor-libFLAC-1.4.0.xml
|
||||
abi-compliance-checker -l flac++ -old test/abi/abi-libFLAC++-1.4.0.dump -new test/abi/abi-descriptor-libFLAC++-1.4.0.xml
|
||||
abi-compliance-checker -l flac -old test/abi/abi-libFLAC-1.4.0.dump -new test/abi/abi-descriptor-libFLAC-1.4.3.xml
|
||||
abi-compliance-checker -l flac++ -old test/abi/abi-libFLAC++-1.4.0.dump -new test/abi/abi-descriptor-libFLAC++-1.4.3.xml
|
||||
|
||||
- name: Check with flac test files
|
||||
run: ./src/flac/flac -t test-files/subset/*.flac test-files/uncommon/0[5-9]*.flac test-files/uncommon/10*.flac
|
||||
|
|
|
@ -11,7 +11,8 @@
|
|||
1. Update changelog
|
||||
1. Check copyright year and update if applicable
|
||||
1. Check libFLAC and libFLAC++ for interface changes and update
|
||||
version numbers in include/FLAC/export.h, include/FLAC++/export.h
|
||||
version numbers in include/FLAC/export.h, include/FLAC++/export.h,
|
||||
src/libFLAC/Makefile.am, src/libFLAC++/Makefile.am,
|
||||
src/libFLAC/CMakeLists.txt and src/libFLAC++/CMakeLists.txt
|
||||
1. Prepare and check release tarball by running
|
||||
`git clean -ffxd && ./autogen.sh && ./configure && make distcheck`
|
||||
|
|
|
@ -16,7 +16,7 @@ target_include_directories(FLAC++ INTERFACE
|
|||
target_link_libraries(FLAC++ PUBLIC FLAC)
|
||||
if(BUILD_SHARED_LIBS)
|
||||
set_target_properties(FLAC++ PROPERTIES
|
||||
VERSION 10.1.0
|
||||
VERSION 10.0.1
|
||||
SOVERSION 10)
|
||||
if(NOT WIN32)
|
||||
set_target_properties(FLAC++ PROPERTIES CXX_VISIBILITY_PRESET hidden)
|
||||
|
|
|
@ -57,7 +57,7 @@ endif
|
|||
endif
|
||||
|
||||
# see 'http://www.gnu.org/software/libtool/manual/libtool.html#Libtool-versioning' for numbering convention
|
||||
libFLAC___la_LDFLAGS = $(AM_LDFLAGS) -no-undefined -version-info 10:0:0 $(windows_resource_link)
|
||||
libFLAC___la_LDFLAGS = $(AM_LDFLAGS) -no-undefined -version-info 10:1:0 $(windows_resource_link)
|
||||
libFLAC___la_LIBADD = ../libFLAC/libFLAC.la
|
||||
libFLAC___la_SOURCES = $(libFLAC___sources)
|
||||
|
||||
|
|
|
@ -91,7 +91,7 @@ if(TARGET Ogg::ogg)
|
|||
endif()
|
||||
if(BUILD_SHARED_LIBS)
|
||||
set_target_properties(FLAC PROPERTIES
|
||||
VERSION 13.0.0
|
||||
VERSION 12.1.0
|
||||
SOVERSION 12)
|
||||
if(NOT WIN32)
|
||||
set_target_properties(FLAC PROPERTIES C_VISIBILITY_PRESET hidden)
|
||||
|
|
|
@ -79,7 +79,7 @@ extra_ogg_sources = \
|
|||
endif
|
||||
|
||||
# see 'http://www.gnu.org/software/libtool/manual/libtool.html#Libtool-versioning' for numbering convention
|
||||
libFLAC_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined -version-info 12:0:0 $(windows_resource_link)
|
||||
libFLAC_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined -version-info 13:0:1 $(windows_resource_link)
|
||||
|
||||
libFLAC_sources = \
|
||||
bitmath.c \
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<version>
|
||||
1.4.0
|
||||
1.4.3
|
||||
</version>
|
||||
|
||||
<headers>
|
||||
|
@ -7,5 +7,5 @@
|
|||
</headers>
|
||||
|
||||
<libs>
|
||||
src/libFLAC++/.libs/libFLAC++.so.10.0.0
|
||||
src/libFLAC++/.libs/libFLAC++.so.10.0.1
|
||||
</libs>
|
|
@ -1,5 +1,5 @@
|
|||
<version>
|
||||
1.4.0
|
||||
1.4.3
|
||||
</version>
|
||||
|
||||
<headers>
|
||||
|
@ -7,5 +7,5 @@
|
|||
</headers>
|
||||
|
||||
<libs>
|
||||
src/libFLAC/.libs/libFLAC.so.12.0.0
|
||||
src/libFLAC/.libs/libFLAC.so.12.1.0
|
||||
</libs>
|
Loading…
Reference in New Issue