mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
Initial upload: mbelib-neo-git
This commit is contained in:
commit
f67959b820
2 changed files with 57 additions and 0 deletions
19
.SRCINFO
Normal file
19
.SRCINFO
Normal file
|
|
@ -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
|
||||
38
PKGBUILD
Normal file
38
PKGBUILD
Normal file
|
|
@ -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
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue