mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 20:07:14 +08:00
36 lines
801 B
Bash
36 lines
801 B
Bash
pkgname=webrtc-audio-processing
|
|
pkgver=0.3
|
|
pkgrel=1
|
|
pkgdesc="AudioProcessing library based on Google's implementation of WebRTC"
|
|
arch=('x86_64')
|
|
url="http://freedesktop.org/software/pulseaudio/webrtc-audio-processing"
|
|
license=(custom)
|
|
depends=('gcc-libs')
|
|
makedepends=(git)
|
|
_commit=fc0e76139404e08cc5b8024daafa1ddf576a4e21 # tags/v0.3^0
|
|
source=("git+https://anongit.freedesktop.org/git/pulseaudio/webrtc-audio-processing#commit=$_commit")
|
|
|
|
pkgver() {
|
|
cd $pkgname
|
|
git describe --tags | sed 's/^v//;s/-/+/g'
|
|
}
|
|
|
|
prepare() {
|
|
cd $pkgname
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname
|
|
./configure --prefix=/usr --disable-static
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
|
|
}
|
|
md5sums=('SKIP')
|