desktop/mediastreamer/PKGBUILD

28 lines
792 B
Bash
Raw Normal View History

2012-05-04 09:44:00 +08:00
pkgname=mediastreamer
2015-12-22 19:41:43 +08:00
pkgver=2.12.1
pkgrel=3
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')
depends=('ortp' 'libupnp' 'ffmpeg' 'libxv' 'glew' 'bzrtp' 'mbedtls')
makedepends=('intltool' 'vim')
2015-12-22 19:41:43 +08:00
source=("https://github.com/BelledonneCommunications/mediastreamer2/archive/${pkgver}.tar.gz")
sha256sums=('7fa5cf0eea6bd750b8b89acaacb2cdbce40fddb54392ca3011f3ccba6c8e15a2')
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
}