summaryrefslogtreecommitdiff
path: root/extra/mediastreamer/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-28 23:10:22 +0000
committerroot <root@rshg047.dnsready.net>2011-06-28 23:10:22 +0000
commit108636e69eaeef67f4e7263c7f26105e25979e89 (patch)
tree94f902b30c95dbddd8f514c4d3645700f80ed101 /extra/mediastreamer/PKGBUILD
parent0a595245dd258cc0ad9a5de2b292cf1b1a94f51a (diff)
Tue Jun 28 23:10:22 UTC 2011
Diffstat (limited to 'extra/mediastreamer/PKGBUILD')
-rw-r--r--extra/mediastreamer/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/extra/mediastreamer/PKGBUILD b/extra/mediastreamer/PKGBUILD
new file mode 100644
index 000000000..1a97bc8aa
--- /dev/null
+++ b/extra/mediastreamer/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 129367 2011-06-27 05:48:53Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: AdriĆ  Arrufat <swiftscythe@gmail.com>
+
+pkgname=mediastreamer
+pkgver=2.7.3
+pkgrel=3
+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' 'v4l-utils' 'ffmpeg')
+makedepends=('cmake' 'automoc4')
+source=("http://download-mirror.savannah.gnu.org/releases/linphone/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ "disable-v4l1.patch")
+md5sums=('5213307f557d86aa648f1a53a885138c'
+ '7ee15689eed1adbdcf0ddab8fadca34a')
+options=('!libtool')
+
+build() {
+ cd "${srcdir}"/$pkgname-$pkgver/
+ patch -p2 -i "${srcdir}"/disable-v4l1.patch
+
+ ./configure --prefix=/usr \
+ --libexecdir=/usr/lib/mediastreamer/
+ make
+}
+
+package() {
+ cd "${srcdir}"/$pkgname-$pkgver
+ make DESTDIR="${pkgdir}" install
+}