mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
28 lines
792 B
Bash
28 lines
792 B
Bash
pkgname=mediastreamer
|
|
pkgver=2.12.1
|
|
pkgrel=3
|
|
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=('ortp' 'libupnp' 'ffmpeg' 'libxv' 'glew' 'bzrtp' 'mbedtls')
|
|
makedepends=('intltool' 'vim')
|
|
source=("https://github.com/BelledonneCommunications/mediastreamer2/archive/${pkgver}.tar.gz")
|
|
sha256sums=('7fa5cf0eea6bd750b8b89acaacb2cdbce40fddb54392ca3011f3ccba6c8e15a2')
|
|
|
|
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
|
|
}
|