summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 46d87186349b17b81e54911249050d5327414e1a (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
46
47
# Maintainer: Dmitrij D. Czarkoff <czarkoff@gmail.com>
pkgname=baresip
pkgver=0.4.15
pkgrel=1
pkgdesc="portable and modular SIP User-Agent with audio and video support"
arch=('i686' 'x86_64')
url="http://creytiv.com/baresip.html"
license=('BSD')
depends=('rem')
optdepends=('alsa-lib: (alsa module)'
            'ffmpeg: (avcodec, avformat, h265 modules)'
            'cairo: (cairo, rst modules)'
            'spandsp: (g722, g726 modules)'
            'gsm: (gsm module)'
            'gst-plugins-bad: (gst1, gst_video1 modules)'
            'gst-plugins-base: (gst1, gst_video1 modules)'
            'gst-plugins-good: (gst1, gst_video1 modules)'
            'gst-plugins-ugly: (gst1, gst_video1 modules)'
            'gtk2: (gtk module)'
            'libsrtp: (libsrtp module)'
            'opus: (opus module)'
            'spandsp: (plc module)'
            'mpg123: (rst module)'
            'sdl: (sdl module)'
            'sdl2: (sdl2 module)'
            'libsndfile: (sndfile module)'
            'speex: (speex module)'
            'speexdsp: (speex_aec, speex_pp modules)'
            'v4l-utils: (v4l2 module)'
            'libvpx: (vpx module)'
            'libx11: (x11 module)'
            'libx11: (x11grab module)')
makedepends=${optdepends[@]/%:*/}
#changelog=ChangeLog
source=("http://creytiv.com/pub/$pkgname-$pkgver.tar.gz")
md5sums=('e304d698bb593f296793acac752685a7')

build() {
	cd "$pkgname-$pkgver"
	make EXTRA_MODULES="h265" USE_GST= USE_GST_VIDEO= PREFIX="/usr"
}

package() {
	cd "$pkgname-$pkgver"
	make EXTRA_MODULES="h265" USE_GST= USE_GST_VIDEO= PREFIX="/usr" \
		DESTDIR="$pkgdir/" install
}