From a6982577921ade28b93b80e0eb96d9743c410dd5 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Sat, 20 Dec 2025 17:11:10 +0300 Subject: [PATCH] autotools: add cmake files to EXTRA_DIST also reduce minimum ogg version from 1.3 to 1.1 Signed-off-by: Ozkan Sezer --- Makefile.am | 7 ++++++- configure.ac | 2 +- opusfile-uninstalled.pc.in | 2 +- opusfile.pc.in | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index 40a887d..504942e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -54,7 +54,12 @@ EXTRA_DIST = \ doc/Doxyfile.in \ doc/opus_logo.svg \ doc/Makefile \ - unix/Makefile + unix/Makefile \ + cmake/FindOgg.cmake \ + cmake/FindOpus.cmake \ + cmake/OpusFileConfig.cmake.in \ + cmake/OpusFilePackageVersion.cmake \ + CMakeLists.txt # Targets to build and install just the library without the docs opusfile install-opusfile: NO_DOXYGEN = 1 diff --git a/configure.ac b/configure.ac index ca47d68..10f6788 100644 --- a/configure.ac +++ b/configure.ac @@ -122,7 +122,7 @@ AS_IF([test "$enable_http" != "no"], [ AM_CONDITIONAL(OP_ENABLE_HTTP, [test "$enable_http" != "no"]) AC_SUBST([openssl]) -PKG_CHECK_MODULES([DEPS], [ogg >= 1.3 opus >= 1.0.1]) +PKG_CHECK_MODULES([DEPS], [ogg >= 1.1 opus >= 1.0.1]) AC_ARG_ENABLE([fixed-point], AS_HELP_STRING([--enable-fixed-point], [Enable fixed-point calculation]),, diff --git a/opusfile-uninstalled.pc.in b/opusfile-uninstalled.pc.in index b5861a4..954575e 100644 --- a/opusfile-uninstalled.pc.in +++ b/opusfile-uninstalled.pc.in @@ -8,7 +8,7 @@ includedir=${pcfiledir}/@top_srcdir@/include Name: opusfile uninstalled Description: High-level Opus decoding library (not installed) Version: @PACKAGE_VERSION@ -Requires.private: ogg >= 1.3 opus >= 1.0.1 +Requires.private: ogg >= 1.1 opus >= 1.0.1 Conflicts: Libs: ${libdir}/libopusfile.la @lrintf_lib@ Cflags: -I${includedir} diff --git a/opusfile.pc.in b/opusfile.pc.in index 9622591..1f76047 100644 --- a/opusfile.pc.in +++ b/opusfile.pc.in @@ -8,7 +8,7 @@ includedir=@includedir@ Name: opusfile Description: High-level Opus decoding library Version: @PACKAGE_VERSION@ -Requires.private: ogg >= 1.3 opus >= 1.0.1 +Requires.private: ogg >= 1.1 opus >= 1.0.1 Conflicts: Libs: -L${libdir} -lopusfile Libs.private: @lrintf_lib@