diff options
Diffstat (limited to 'extra/mediastreamer/PKGBUILD')
-rw-r--r-- | extra/mediastreamer/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/extra/mediastreamer/PKGBUILD b/extra/mediastreamer/PKGBUILD new file mode 100644 index 000000000..1c3a15fa7 --- /dev/null +++ b/extra/mediastreamer/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 183011 2013-04-16 22:29:29Z 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=5 +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' + '553d5d47ea4a8c8dfeabdc0281849d5f') + +prepare() { + cd $pkgname-$pkgver + patch -p1 -i "${srcdir}"/mediastreamer-ffmpeg.patch +} + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="${pkgdir}" install +} |