diff options
author | Olivier Schonken <olivier.schonken@gmail.com> | 2017-07-05 13:42:36 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-07-31 22:33:03 +0200 |
commit | 6424c0637698f537a4b2d3a41791b3b7c63322b7 (patch) | |
tree | 52bfdaf2e8e20ccbe70ceffd280d5eb3ac8700c4 /package/libcodec2/0001-fix-codec2-pc-in.patch | |
parent | 2a98c4aea82314ef4c5b9aa9858dd86a121bdda0 (diff) | |
download | buildroot-6424c0637698f537a4b2d3a41791b3b7c63322b7.tar.gz buildroot-6424c0637698f537a4b2d3a41791b3b7c63322b7.zip |
libcodec2: bump to 0.7, switch to CMake
Since version 0.6, libcodec2 switched buildsystem from autotools to
cmake.
The patches in the libcodec2 directory were removed because they were
only relevant to the autotools build, but another patch was added to
fix the codec2.pc file being installed.
For the cmake package unittests are disabled by default. The download
site is changed to http://files.freedv.org/codec2. An option is added
to be able to install examples to target.
Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
[Thomas: switch to 0.7, add patch to fix .pc file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libcodec2/0001-fix-codec2-pc-in.patch')
-rw-r--r-- | package/libcodec2/0001-fix-codec2-pc-in.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/libcodec2/0001-fix-codec2-pc-in.patch b/package/libcodec2/0001-fix-codec2-pc-in.patch new file mode 100644 index 0000000000..5950219de2 --- /dev/null +++ b/package/libcodec2/0001-fix-codec2-pc-in.patch @@ -0,0 +1,20 @@ +Fix includedir in codec2.pc.in + +The template file codec2.pc.in contains the wrong path to the header +files: they are installed in /usr/include/codec2 and not /usr/include/ +directly. + +Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> + +Index: b/codec2.pc.in +=================================================================== +--- a/codec2.pc.in ++++ b/codec2.pc.in +@@ -1,6 +1,6 @@ + prefix=@CMAKE_INSTALL_PREFIX@ + libdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@ +-includedir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@/ ++includedir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@/codec2 + + Name: codec2 + Description: A speech codec for 2400 bit/s and below |