mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
28 lines
820 B
Bash
28 lines
820 B
Bash
pkgname=mediastreamer
|
|
pkgver=2.15.1
|
|
pkgrel=2
|
|
pkgdesc="A library written in C that allows you to create and run audio and video streams."
|
|
arch=('x86_64')
|
|
url="http://www.linphone.org"
|
|
license=('GPL')
|
|
depends=('bctoolbox' 'ortp' 'libupnp' 'ffmpeg' 'libxv' 'glew' 'bzrtp' 'mbedtls' 'mesa')
|
|
makedepends=('intltool' 'vim' 'bcunit')
|
|
source=("https://github.com/BelledonneCommunications/mediastreamer2/archive/${pkgver}.tar.gz")
|
|
sha256sums=('5e7d3eefc3ca807711da2cc279f1a05d7a24e0aa6e9dfe912fc203419880c852')
|
|
|
|
build() {
|
|
cd "${srcdir}"/${pkgname}2-${pkgver}
|
|
./autogen.sh
|
|
./configure --prefix=/usr \
|
|
--enable-glx \
|
|
--enable-xv \
|
|
--enable-external-ortp \
|
|
--disable-strict
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}"/${pkgname}2-$pkgver
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|