Initial upload: dsd-neo-git

This commit is contained in:
arancormonk 2025-12-09 18:28:37 -06:00
commit e44fc555a0
No known key found for this signature in database
GPG key ID: 5C77FAD44C3E67A7
2 changed files with 65 additions and 0 deletions

23
.SRCINFO Normal file
View file

@ -0,0 +1,23 @@
pkgbase = dsd-neo-git
pkgdesc = Digital Speech Decoder - A modern, modular, and performance enhanced C/C++ decoder for digital voice. DMR, P25, NXDN, YSF, and more.
pkgver = r625.4e41cab
pkgrel = 1
url = https://github.com/arancormonk/dsd-neo
arch = x86_64
arch = aarch64
license = GPL-3.0-or-later
makedepends = git
makedepends = cmake
depends = mbelib-neo
depends = libsndfile
depends = itpp
depends = ncurses
depends = libpulse
depends = rtl-sdr
depends = codec2
provides = dsd-neo
conflicts = dsd-neo
source = dsd-neo-git::git+https://github.com/arancormonk/dsd-neo.git
sha256sums = SKIP
pkgname = dsd-neo-git

42
PKGBUILD Normal file
View file

@ -0,0 +1,42 @@
pkgname=dsd-neo-git
pkgver=r625.4e41cab
pkgrel=1
pkgdesc="Digital Speech Decoder - A modern, modular, and performance enhanced C/C++ decoder for digital voice. DMR, P25, NXDN, YSF, and more."
arch=('x86_64' 'aarch64')
url="https://github.com/arancormonk/dsd-neo"
license=('GPL-3.0-or-later')
depends=(
'mbelib-neo'
'libsndfile'
'itpp'
'ncurses'
'libpulse'
'rtl-sdr'
'codec2'
)
makedepends=(
'git'
'cmake'
)
provides=('dsd-neo')
conflicts=('dsd-neo')
source=("${pkgname}::git+https://github.com/arancormonk/dsd-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 \
-DBUILD_TESTING=OFF \
-Wno-dev
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}