commit f67959b820a983222ad32b7e333fbd78e82187c5 Author: arancormonk <180709949+arancormonk@users.noreply.github.com> Date: Tue Dec 9 17:14:10 2025 -0600 Initial upload: mbelib-neo-git diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000000000..a2cd18a6e780a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = mbelib-neo-git + pkgdesc = P25 Phase 1 and ProVoice IMBE and Half-rate AMBE vocoder library (modernized fork) + pkgver = r14.96726fb + pkgrel = 1 + url = https://github.com/arancormonk/mbelib-neo + arch = x86_64 + arch = aarch64 + license = GPL-2.0-or-later + makedepends = cmake + makedepends = git + depends = glibc + provides = mbelib-neo + provides = mbelib + conflicts = mbelib-neo + conflicts = mbelib + source = mbelib-neo-git::git+https://github.com/arancormonk/mbelib-neo.git + sha256sums = SKIP + +pkgname = mbelib-neo-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000000000..0163620ff97dd --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ + pkgname=mbelib-neo-git + pkgver=r14.96726fb + pkgrel=1 + pkgdesc="P25 Phase 1 and ProVoice IMBE and Half-rate AMBE vocoder library (modernized fork)" + arch=('x86_64' 'aarch64') + url="https://github.com/arancormonk/mbelib-neo" + license=('GPL-2.0-or-later') + depends=('glibc') + makedepends=('cmake' 'git') + provides=('mbelib-neo' 'mbelib') + conflicts=('mbelib-neo' 'mbelib') + source=("$pkgname::git+https://github.com/arancormonk/mbelib-neo.git") + sha256sums=('SKIP') + + pkgver() { + cd "$pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + } + + build() { + cmake -B build -S "$pkgname" \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DMBELIB_BUILD_TESTS=OFF \ + -DMBELIB_BUILD_EXAMPLES=OFF + cmake --build build + } + + check() { + cmake -B build -S "$pkgname" \ + -DMBELIB_BUILD_TESTS=ON + cmake --build build + ctest --test-dir build --output-on-failure + } + + package() { + DESTDIR="$pkgdir" cmake --install build + }