blob: b04932aa26ad703940fd55318deb43c561eacaf9 (
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
48
49
50
51
52
53
|
# Contributor: Andrew Panteleyev <insonifi@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-rtsp-server
pkgver=1.8.2
pkgrel=0
pkgdesc="GStreamer RTSP server"
url="http://gstreamer.freedesktop.org/"
arch="all"
license="LGPL"
depends=""
depends_dev="gst-plugins-base1-dev"
makedepends="$depends_dev gstreamer1-dev"
subpackages="$pkgname-dev"
install=""
source="http://gstreamer.freedesktop.org/src/$pkgname/$pkgname-$pkgver.tar.xz"
builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$builddir"
for i in $source; do
case "$i" in
*.patch)
msg "Applying $i"
patch -p1 -i "$srcdir"/$i || return 1
;;
esac
done
}
build() {
cd "$builddir"
./configure --prefix=/usr \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--enable-introspection=no \
--with-package-name="GStreamer (Alpine Linux)" \
--with-package-origin="http://alpinelinux.org/" \
|| return 1
make || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
sha256sums="7d414cd4302ae253821dcb22d483fadc9d21cf96b5fd4c0a33fd41960f8e0459 gst-rtsp-server-1.8.2.tar.xz"
|