blob: 3f1090490fadd218e5d46cdb237026cf63556965 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer: OSAMC <https://github.com/osam-cologne/archlinux-proaudio>
# Contributor: Nils Hilbricht <nils@hilbricht.net>
# Contributor: Christopher Arndt <osam -at- chrisarndt -dot- de>
pkgname=audiowmark
pkgver=0.6.4
pkgrel=1
pkgdesc='Audio and video watermarking'
arch=(x86_64 aarch64)
url='https://uplex.de/audiowmark/'
license=(GPL-3.0-or-later)
depends=(bash gcc-libs glibc libgcrypt)
makedepends=(autoconf-archive ffmpeg fftw libsndfile mpg123 zita-resampler)
groups=(pro-audio)
source=("https://github.com/swesterfeld/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.zst")
sha256sums=('5a4445beb70fc17ee11cdd40788ec9936f0c7bb6cf0395ac9ae077652a16e48d')
build() {
cd $pkgname-$pkgver
autoreconf -f -i -Wno-portability
./configure --prefix=/usr --with-ffmpeg
make
}
check() {
cd $pkgname-$pkgver
make check
}
package() {
depends+=(
libsndfile.so
libfftw3f.so
libmpg123.so
libavcodec.so
libavformat.so
libavutil.so
libswresample.so
libzita-resampler.so
)
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 README.adoc -t "$pkgdir"/usr/share/doc/$pkgname
install -Dm644 NEWS -t "$pkgdir"/usr/share/licenses/$pkgname
}
|