summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 01915f2dcd52161d4c09a8082fbee2142cbfc23a (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
# Contrinutor: Anton Leontiev <scileont /at/ gmail.com>
pkgname=gst-rtsp-server
pkgver=1.6.1
pkgrel=1
pkgdesc='RTSP server library based on GStreamer'
arch=('i686' 'x86_64' 'armv7h')
url='http://gstreamer.freedesktop.org/modules/gst-rtsp-server.html'
license=('LGPL')
depends=("gst-plugins-base>=$pkgver")
source=("http://gstreamer.freedesktop.org/src/$pkgname/$pkgname-$pkgver.tar.xz")
md5sums=('fbb67bb9375ae483fcffe6390bcfbefb')

build() {
	cd $pkgname-$pkgver
	./configure --prefix=/usr
	make
}

package() {
	cd $pkgname-$pkgver
	make install DESTDIR="$pkgdir"
	install -Dm755 examples/test-mp4 "$pkgdir/usr/bin/gst-rtsp-mp4"
	install -Dm755 examples/test-launch "$pkgdir/usr/bin/gst-rtsp-launch"
	install -Dm755 examples/test-netclock "$pkgdir/usr/bin/gst-rtsp-netclock"
	install -Dm755 examples/test-netclock-client "$pkgdir/usr/bin/gst-rtsp-netclock-client"
}