diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-06-14 12:07:33 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-06-14 12:09:07 +0000 |
commit | 59845bc55be775e6aead2ef178a1bee8c9f91166 (patch) | |
tree | 5e80aa0cc642929eb65ab3cd33384b0f010bac74 | |
parent | 7f1f035cf4f7bbea5cf7b65f9bbedc311d735596 (diff) | |
download | aports-59845bc55be775e6aead2ef178a1bee8c9f91166.tar.bz2 aports-59845bc55be775e6aead2ef178a1bee8c9f91166.tar.xz |
testing/gst-rtsp-server: new aport
GStreamer RTSP server
http://gstreamer.freedesktop.org/
-rw-r--r-- | testing/gst-rtsp-server/APKBUILD | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/testing/gst-rtsp-server/APKBUILD b/testing/gst-rtsp-server/APKBUILD new file mode 100644 index 0000000000..b04932aa26 --- /dev/null +++ b/testing/gst-rtsp-server/APKBUILD @@ -0,0 +1,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" + |