summaryrefslogtreecommitdiff
path: root/staging/mediastreamer/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'staging/mediastreamer/PKGBUILD')
-rw-r--r--staging/mediastreamer/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/staging/mediastreamer/PKGBUILD b/staging/mediastreamer/PKGBUILD
new file mode 100644
index 000000000..54da3e832
--- /dev/null
+++ b/staging/mediastreamer/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 160758 2012-06-05 07:24:49Z eric $
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: AdriĆ  Arrufat <swiftscythe@gmail.com>
+
+pkgname=mediastreamer
+pkgver=2.8.2
+pkgrel=2
+pkgdesc="A library written in C that allows you to create and run audio and video streams"
+arch=('i686' 'x86_64')
+url="http://www.linphone.org/"
+license=('GPL')
+depends=('ortp' 'speex' 'ffmpeg' 'v4l-utils' 'libxv' 'libpulse')
+makedepends=('intltool')
+options=('!libtool')
+source=("http://download-mirror.savannah.gnu.org/releases/linphone/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig}
+ mediastreamer-ffmpeg.patch)
+md5sums=('e51ea9d5fce1396b374d10473dfbadec'
+ '805da7def98f367e621363fa0c951fe8'
+ 'f147546489a973f148ce3dd2dba36834')
+
+build() {
+ cd "${srcdir}"/$pkgname-$pkgver
+ patch -p1 -i "${srcdir}"/mediastreamer-ffmpeg.patch
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/$pkgname-$pkgver
+ make DESTDIR="${pkgdir}" install
+}