Commit Graph

88 Commits

Author SHA1 Message Date
David Seifert
f1495b4bcc
Release 1.1.0beta2
Fixes #784
2021-10-24 14:53:12 +02:00
David Seifert
dfdad63ff2
Release 1.1.0beta1 2021-06-13 15:33:10 +02:00
evpobr
8cb0169f58 cmake: Support pre-release versions 2021-05-25 17:10:29 +05:00
evpobr
85aea74e57 Update sndfile.pc for MPEG support 2021-05-25 16:17:04 +05:00
evpobr
383e6e90e4 cmake: Read ABI version from configure.ac 2021-05-25 15:31:11 +05:00
evpobr
0cbfc93a3e cmake: Fix shared library ABI on Apple platforms
Now ABI version must be compatible with Autotools builds. Note that
this change requires CMake >= 3.17 for building dylib on Apple
platforms.
2021-05-16 14:51:32 +05:00
evpobr
9349a566e2 [cmake] Separate API and ABI versions 2021-04-04 21:49:51 +05:00
evpobr
7fde60ac68 cmake: Fix package properties 2021-03-27 12:31:29 +05:00
evpobr
89214bdf05 cmake: Fix undefined HAVE_MPEG 2021-03-26 12:32:45 +05:00
Arthur Taylor
163f725631 Rename mp3 -> mpeg (file sources and function names) 2021-03-25 10:26:15 -07:00
Arthur Taylor
663a59aa6e mpeg: Add MPEG Encode, Decode and Tests
Use SF_FORMAT_MP3 major and SF_FORMAT_MPEG_LAYER_(I|II|III) subformats.
2021-03-25 10:26:15 -07:00
bobsayshilol
ad2990ec02 Add the generate example to the CMake build 2021-02-15 10:39:58 +05:00
David Seifert
d60deb5d86
Release 1.0.31
Fixes #693
2021-01-24 13:22:23 +01:00
evpobr
15bb39b4f4 Fix CMake bug with sndio library dependency
In configure.ac sndio search is restricted to OpenBSD OS, make the same
for CMake.
2020-12-11 15:25:28 +05:00
evpobr
f87a1ffe9c Make SSE2 configurable for CMake builds #666
See ENABLE_SSE2 option explanation in README.md.
2020-12-11 15:12:54 +05:00
evpobr
bf24f18b2c Fix missing version info for CMake DLL builds 2020-11-10 10:52:30 +05:00
evpobr
dc982dad37 Improve CMake SQLite3 find module
Make it compatible with official find module (CMake >= 3.14).
2020-10-27 17:01:46 +05:00
Martin Delille
5d1c0777f3 Remove CMAKE_OSX_DEPLOYMENT_TARGET which should be set by the consumer 2020-10-25 22:29:30 +05:00
evpobr
942acc65bf Update site documentation
* Use GitHub's Jekyll static site generator.
* Move all documentation to docs/ directory.
* Convert HTML to Markdown.
2020-10-19 16:52:27 +05:00
evpobr
ddf6d7bf46 Allow CMake ENABLE_STATIC_RUNTIME option for MinGW 2020-10-14 16:04:42 +05:00
evpobr
6b20d2d312 Change CMake project name to libsndfile 2020-10-13 09:35:01 +05:00
evpobr
7ca049d374 CMake: Improve MSVC runtime library flags handling
Change behaviour of `ENABLE_STATIC_RUNTIME` option:

* You can use `ENABLE_STATIC_RUNTIME` for CMake >= 3.15 without error.
* You can use your our method to set MSVC runtime library flags if none of `ENABLE_STATIC_RUNTIME` and `CMAKE_MSVC_RUNTIME_LIBRARY` were set.
2020-10-13 08:47:04 +05:00
evpobr
04e4b70205 CMake: Fix INSTALL_MANPAGES option 2020-10-09 13:14:22 +05:00
evpobr
fe493272d2 Set default CPACK_PACKAGE_NAME to libsndfile 2020-09-25 17:49:18 +10:00
Martin Delille
8e97d8182e Fix MacOS 10.13 compatibility 2020-09-20 19:12:22 +10:00
evpobr
68958f9c91 Release 1.0.30 2020-09-19 11:48:47 +05:00
evpobr
837c4864b3 Fix CMake policy CMP0091 handling
Avoid unknown policy error.

Related to #546.
2020-09-17 19:33:38 +05:00
evpobr
22fca506cf CMake: Fix manpages installation on some platforms
Two manpages are installed by Autotools as symlinks, on some platforms
they are not visible and installation fails with error.

Install these files with renaming to avoid errors.

Related to edc513a, #m-ab-s/media-autobuild_suite#1801
2020-08-29 17:27:06 +05:00
evpobr
f284bdf589 CMake: Use target_link_options() to add link flags 2020-08-28 15:16:53 +05:00
evpobr
62868cede0 CMake: Add INSTALL_MANPAGES option
msys2/MINGW-packages#6877
2020-08-28 09:56:13 +05:00
evpobr
6a8f79044a CMake: Fix ENABLE_COMPATIBLE_LIBSNDFILE_NAME option
msys2/MINGW-packages#6877
2020-08-28 09:44:11 +05:00
evpobr
edc513af20 CMake: Install two forgotten man pages
msys2/MINGW-packages#6877
2020-08-28 09:36:13 +05:00
evpobr
a722c93f69 CMake: Fix broken ABI on Unix-like platforms
Closes #567.
2020-08-27 13:21:12 +05:00
evpobr
acfcd147da Move public headers to include directory 2020-08-26 11:59:26 +05:00
evpobr
26e473796c CMake: Deprecate ENABLE_STATIC_RUNTIME for CMake >=3.15
Closes #546.
2020-08-24 12:58:21 +05:00
evpobr
4f6f65752b doc/index.html: Extract formats table to formats.html
It is too wide for index page, especially for mobile devices.

Now it is moved to formats.html.
2020-08-23 12:27:21 +05:00
evpobr
5520e32b6a CMake: Add INSTALL_PKGCONFIG_MODULE option
Closes #547
2020-08-18 11:28:35 +05:00
evpobr
2bc2d4e4dc CMake: Fix ENABLE_CPACK option
Closes #544
2020-08-18 11:12:56 +05:00
evpobr
ccb75f4829 Version 1.0.29 2020-08-15 10:50:52 +05:00
evpobr
af49a5021c CMake fixes
* Set static runtime by default for MinGW

  Autotools does the same. Also fixes bug - compiler flags for MinGW were
  cleared by when ENABLE_STATIC_RUNTIME is OFF (default).

  Also ENABLE_STATIC_RUNTIME option disabled for MinGW.

* Better CMake policies handling
* Add SndFile::sndfile alias library
* Don not add programs to package config-file
* Update README.md
* Fix generator expression with src/version-metadata.rc
2020-08-04 15:59:22 +05:00
evpobr
06ebde50e3 CMake fixes
* Update Vorbis targets to match upstream
* Better dependency handling with Vcpkg
* Fix dev warning with SQLite3
2020-04-12 16:20:04 +10:00
evpobr
a1fa15ff44 cmake: Bump version to 1.0.29pre2 2020-04-07 18:54:45 +10:00
evpobr
e6909192ce CMake improvements
* Fix Ogg and Opus imported targets
* Better SndFileConfig.cmake module with dependency checks
* Fix config-file package installation directory
* Prefer config-file package mode for Windows CI builds
* Update README.md
* Allow CMAKE_MSVC_RUNTIME_LIBRARY option to set MSVC ABI
* Fix some bugs in FindFLAC.cmake (closes #505)
2020-03-08 17:34:27 +11:00
Jean Pierre Cimalando
a7e9fb5f7c List pkgconfig dependencies in Requires.private 2020-03-08 13:02:42 +11:00
Naji Mammeri
ae64caf9b5 Fix building programs while BUILD_SHARED_LIBS=ON 2019-10-13 08:54:20 +11:00
evpobr
be5a7ccee3 CMake: fix default install directory on Windows
Closes #486.
2019-09-17 06:21:32 +10:00
Matti Lehtimäki
a6866b8716 CMake: Fix installation of man pages. 2019-03-29 11:31:26 +05:00
Arthur Taylor
326e4533f3 Opus file support
Ogg: Introduce new functions ogg_sync_fseek(), ogg_ftell(), ogg_next_page(),
ogg_stream_next_page(), ogg_sync_last_page_before(), and
ogg_stream_unpack_page(). Use ogg_sync_* for ogg_read_first_page(). Bump libogg
version requirement from 1.1.3 to 1.3.0 as LibOgg 1.3.0 is required for
ogg_stream_pageout_fill() and ogg_stream_flush_fill().

Opus: Add opus support. Document added commands
SFC_(GET|SET)_ORIGINAL_SAMPLERATE. Added or extended tests ogg_opus_test,
compression_size_test, floating_point_test, lossy_comp_test, string_test,
external_libs_test. Change Opus to non-experimental.
2019-02-20 19:30:30 +11:00
Conrad Jones
02467cc1bb modernize cmake module include. 2018-08-26 14:55:15 +10:00
evpobr
cebfdf275e Enable ENABLE_COMPATIBLE_LIBSNDFILE_NAME by default
Also fix bug from previous commit.
2018-08-25 12:16:36 +10:00