Removed patch applied upstream:
https://github.com/drowe67/codec2/commit/
375d4c8d782c3bcadbb2240efed39b64ffd28430
Switched _SITE to github as suggested by
http://www.rowetel.com/?page_id=452
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
+++ /dev/null
-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
# Locally computed
-sha256 0695bb93cd985dd39f02f0db35ebc28a98b9b88747318f90774aba5f374eadb2 codec2-0.7.tar.xz
+sha256 19181a446f4df3e6d616b50cabdac4485abb9cd3242cf312a0785f892ed4c76c libcodec2-0.9.2.tar.gz
sha256 9ebb6f82b7380a62ac74c5f0322c88e6744dedf2ebe1f54d6f088282b39844bf COPYING
#
################################################################################
-LIBCODEC2_VERSION = 0.7
-LIBCODEC2_SITE = https://freedv.com/wp-content/uploads/sites/8/2017/10
-LIBCODEC2_SOURCE = codec2-$(LIBCODEC2_VERSION).tar.xz
+LIBCODEC2_VERSION = 0.9.2
+LIBCODEC2_SITE = $(call github,drowe67,codec2,v$(LIBCODEC2_VERSION))
LIBCODEC2_LICENSE = LGPL-2.1
LIBCODEC2_LICENSE_FILES = COPYING
LIBCODEC2_INSTALL_STAGING = YES