Package Details: codec2-lpcnet 1:1.2.0-1

Git Clone URL: https://aur.archlinux.org/codec2-lpcnet.git (read-only, click to copy)
Package Base: codec2-lpcnet
Description: Open source speech codec designed for communications quality speech between 450 and 3200 bit/s with support for LPCNet
Upstream URL: https://github.com/drowe67/codec2
Licenses: LGPL2.1
Conflicts: codec2, freedv
Provides: codec2, freedv
Submitter: ra1nb0w
Maintainer: ra1nb0w
Last Packager: ra1nb0w
Votes: 0
Popularity: 0.000000
First Submitted: 2022-12-31 10:11 (UTC)
Last Updated: 2023-07-26 07:24 (UTC)

Dependencies (2)

Required by (42)

Sources (1)

Latest Comments

ra1nb0w commented on 2023-07-26 07:25 (UTC)

fixed using the new version. Thank you for the report.

fivemoredays commented on 2023-07-26 01:39 (UTC) (edited on 2023-07-26 01:41 (UTC) by fivemoredays)

Hello,

Thank you for this AUR package. Unfortunately, the GitHub URL in this package is no longer valid (404).

The author has moved this (1.1.1) and older versions of Codec 2 from the codec2 repository to codec2-dev: https://github.com/drowe67/codec2-dev

I was able to successfully patch the PKGBUILD this way and get it to build:

diff --git a/PKGBUILD.old b/PKGBUILD.new
index 623f825..c04ff42 100644
--- a/PKGBUILD.old
+++ b/PKGBUILD.new
@@ -8,16 +8,16 @@ epoch=1
 pkgdesc='Open source speech codec designed for communications quality speech between 450 and 3200 bit/s with support for LPCNet'
 arch=('x86_64' 'aarch64')
 license=('LGPL2.1')
-url='https://github.com/drowe67/codec2'
+url='https://github.com/drowe67/codec2-dev'
 depends=('lpcnetfreedv')
 makedepends=('cmake')
 provides=('freedv' 'codec2')
 conflicts=('freedv' 'codec2')
 source=("$url/archive/v$pkgver/$_pkgname-$pkgver.tar.gz")
-sha512sums=('d59c644018f16d99e0c5a7e163a2888cb1250f822dd00df419ee454552c61774ff6cdb5b1cf0a9bc09f0395bd78cf1b1b39217b8d314d238d65dc4c922bcbec2')
+sha512sums=('1be0535e6e51b321b38839924be6716a4a3db95b100a4341d0a7cf40e9972d26e94f3ec6b12912b6cbb06c3557bbaf34d6b410010115ae9b74789fc5d24d5693')

 build() {
-  cmake -B build -S $_pkgname-$pkgver \
+  cmake -B build -S $_pkgname-dev-$pkgver \
         -DCMAKE_BUILD_TYPE=Release \
         -DCMAKE_INSTALL_PREFIX=/usr \
         -DCMAKE_SKIP_RPATH=YES \