# Maintainer: André Silva _pkgname=mediastreamer pkgname="mediastreamer-git" pkgver=r4843.030943d pkgrel=1 pkgdesc="A library written in C that allows you to create and run audio and video streams" arch=('x86_64' 'i686') url="http://www.linphone.org/" url="https://github.com/BelledonneCommunications/mediastreamer2" license=('GPL2') depends=('ortp-git' 'ffmpeg' 'libxv' 'libupnp' 'bzrtp-git' 'glew' 'libsrtp' 'mbedtls' 'bcunit-git' 'bctoolbox-git') # xxd from Vim is needed to build makedepends=('intltool' 'vim' 'git') conflicts=("${_pkgname}") provides=("${_pkgname}") source=("${_pkgname}-${pkgver}::git+https://github.com/BelledonneCommunications/mediastreamer2#branch=master") sha256sums=('SKIP') pkgver() { cd $_pkgname-$pkgver printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } prepare() { cd $_pkgname-$pkgver ./autogen.sh } build() { cd $_pkgname-$pkgver ./configure --prefix=/usr \ --enable-glx --enable-xv --enable-zrtp --enable-external-ortp \ --disable-strict make } package() { cd $_pkgname-$pkgver make DESTDIR="${pkgdir}" install }