update mpg123 to 1.29.0

This commit is contained in:
alexey.lysiuk 2021-09-10 10:05:38 +03:00
parent ce3814a21a
commit 41a7f8cac3
5 changed files with 21 additions and 10 deletions

View file

@ -1,5 +1,5 @@
/* /*
libmpg123: MPEG Audio Decoder library (version 1.28.2) libmpg123: MPEG Audio Decoder library (version 1.29.0)
copyright 1995-2015 by the mpg123 project copyright 1995-2015 by the mpg123 project
free software under the terms of the LGPL 2.1 free software under the terms of the LGPL 2.1
@ -398,7 +398,7 @@ enum mpg123_feature_set
,MPG123_FEATURE_EQUALIZER /**< tunable equalizer */ ,MPG123_FEATURE_EQUALIZER /**< tunable equalizer */
,MPG123_FEATURE_MOREINFO /**< more info extraction (for frame analyzer) */ ,MPG123_FEATURE_MOREINFO /**< more info extraction (for frame analyzer) */
,MPG123_FEATURE_OUTPUT_FLOAT32 /**< 32 bit float output */ ,MPG123_FEATURE_OUTPUT_FLOAT32 /**< 32 bit float output */
,MPG123_FEATURE_OUTPUT_FLOAT64 /**< 64 bit float output (usually never) */ ,MPG123_FEATURE_OUTPUT_FLOAT64 /**< 64 bit float output (as of now: never!) */
}; };
#ifdef MPG123_ENUM_API #ifdef MPG123_ENUM_API

View file

@ -7,14 +7,25 @@
# PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version. # PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version.
# The variable CVF_VERSION must be set before calling configure_file(). # The variable CVF_VERSION must be set before calling configure_file().
set(PACKAGE_VERSION "1.28.2") set(PACKAGE_VERSION "1.29.0")
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION) if (PACKAGE_FIND_VERSION_RANGE)
set(PACKAGE_VERSION_COMPATIBLE FALSE) # Package version must be in the requested version range
if ((PACKAGE_FIND_VERSION_RANGE_MIN STREQUAL "INCLUDE" AND PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION_MIN)
OR ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND PACKAGE_VERSION VERSION_GREATER PACKAGE_FIND_VERSION_MAX)
OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND PACKAGE_VERSION VERSION_GREATER_EQUAL PACKAGE_FIND_VERSION_MAX)))
set(PACKAGE_VERSION_COMPATIBLE FALSE)
else()
set(PACKAGE_VERSION_COMPATIBLE TRUE)
endif()
else() else()
set(PACKAGE_VERSION_COMPATIBLE TRUE) if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION) set(PACKAGE_VERSION_COMPATIBLE FALSE)
set(PACKAGE_VERSION_EXACT TRUE) else()
set(PACKAGE_VERSION_COMPATIBLE TRUE)
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
set(PACKAGE_VERSION_EXACT TRUE)
endif()
endif() endif()
endif() endif()

View file

@ -4,7 +4,7 @@ if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.5)
message(FATAL_ERROR "CMake >= 2.6.0 required") message(FATAL_ERROR "CMake >= 2.6.0 required")
endif() endif()
cmake_policy(PUSH) cmake_policy(PUSH)
cmake_policy(VERSION 2.6...3.17) cmake_policy(VERSION 2.6...3.19)
#---------------------------------------------------------------- #----------------------------------------------------------------
# Generated CMake target import file. # Generated CMake target import file.
#---------------------------------------------------------------- #----------------------------------------------------------------

Binary file not shown.

View file

@ -6,7 +6,7 @@ includedir=${prefix}/include
Name: libmpg123 Name: libmpg123
Description: An optimised MPEG Audio decoder Description: An optimised MPEG Audio decoder
Requires: Requires:
Version: 1.28.2 Version: 1.29.0
Libs: -L${libdir} -lmpg123 Libs: -L${libdir} -lmpg123
Libs.private: Libs.private:
Cflags: -I${includedir} Cflags: -I${includedir}