mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 05:57:14 +08:00
41 lines
1.4 KiB
Bash
41 lines
1.4 KiB
Bash
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
|
# Contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/farstream-0.1/
|
|
|
|
pkgname=farstream
|
|
pkgver=0.1.2
|
|
pkgrel=2
|
|
pkgdesc="Audio/Video Communications Framework (legacy version)"
|
|
arch=('x86_64')
|
|
url="http://www.freedesktop.org/wiki/Software/Farstream"
|
|
license=('LGPL2.1')
|
|
depends=('libnice' 'gstreamer0.10-base' 'gstreamer0.10-bad-plugins'
|
|
'gstreamer0.10-good' 'gstreamer0.10-ffmpeg')
|
|
makedepends=('gobject-introspection' 'gstreamer0.10-python' 'python2-gobject')
|
|
options=('!libtool')
|
|
source=(http://freedesktop.org/software/$pkgname/releases/$pkgname/$pkgname-$pkgver.tar.gz
|
|
farstream-0.1.2-prefer-vp8.patch
|
|
farstream-0.1.2-introspection-tag-order.patch)
|
|
sha256sums=('fa5a40597b47b59d124f7fd57f66704b030d576cdc0d90e107c7a592f05e73d9'
|
|
'42f4a278a35491bc540980625c0d89f38c4ec30a858344ec2c7e98467567ea16'
|
|
'c4a5ee0a3a86e5e10fb6a296fe05337e0cf4865a63ea708ef9027cd1a7ebc200')
|
|
|
|
build() {
|
|
cd "$pkgname-$pkgver"
|
|
|
|
patch -Np1 -i "$srcdir/farstream-0.1.2-prefer-vp8.patch"
|
|
patch -Np1 -i "$srcdir/farstream-0.1.2-introspection-tag-order.patch"
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--with-package-name='Chakra Farstream 0.1 Package' \
|
|
--with-package-origin='httpw://www.chakra-project.org/' \
|
|
--disable-static
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$pkgname-$pkgver"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
}
|