desktop/mediastreamer/PKGBUILD

28 lines
813 B
Bash
Raw Normal View History

2012-05-04 09:44:00 +08:00
pkgname=mediastreamer
2017-03-16 21:28:59 +08:00
pkgver=2.15.1
pkgrel=1
2012-05-04 09:44:00 +08:00
pkgdesc="A library written in C that allows you to create and run audio and video streams."
arch=('x86_64')
2012-05-04 09:44:00 +08:00
url="http://www.linphone.org"
license=('GPL')
2017-03-16 21:28:59 +08:00
depends=('bctoolbox' 'ortp' 'libupnp' 'ffmpeg' 'libxv' 'glew' 'bzrtp' 'mbedtls')
makedepends=('intltool' 'vim' 'bcunit')
2015-12-22 19:41:43 +08:00
source=("https://github.com/BelledonneCommunications/mediastreamer2/archive/${pkgver}.tar.gz")
2017-03-16 21:28:59 +08:00
sha256sums=('5e7d3eefc3ca807711da2cc279f1a05d7a24e0aa6e9dfe912fc203419880c852')
2012-05-04 09:44:00 +08:00
build() {
2015-12-22 19:41:43 +08:00
cd "${srcdir}"/${pkgname}2-${pkgver}
./autogen.sh
2013-11-14 11:06:21 +08:00
./configure --prefix=/usr \
2015-07-02 11:46:55 +08:00
--enable-glx \
--enable-xv \
--enable-external-ortp \
--disable-strict
2012-05-04 09:44:00 +08:00
make
}
package() {
2015-12-22 19:41:43 +08:00
cd "${srcdir}"/${pkgname}2-$pkgver
2012-05-04 09:44:00 +08:00
make DESTDIR="${pkgdir}" install
}