mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-13 20:02:24 +01:00
57 lines
1.6 KiB
Plaintext
57 lines
1.6 KiB
Plaintext
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=farstream
|
|
pkgver=0.2.3
|
|
pkgrel=0
|
|
pkgdesc="Libraries for videoconferencing"
|
|
url="http://www.freedesktop.org/wiki/Software/Farstream"
|
|
arch="all"
|
|
license="LGPLv2+"
|
|
depends=""
|
|
depends_dev="libnice-dev gstreamer1-dev gst-plugins-base1-dev"
|
|
makedepends="$depends_dev gobject-introspection-dev py-gobject-dev python-dev"
|
|
install=""
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="http://freedesktop.org/software/farstream/releases/farstream/farstream-$pkgver.tar.gz"
|
|
|
|
_builddir="$srcdir"/farstream-$pkgver
|
|
prepare() {
|
|
local i
|
|
cd "$_builddir"
|
|
for i in $source; do
|
|
case $i in
|
|
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
esac
|
|
done
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--enable-python \
|
|
--disable-static \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
rm -f "$pkgdir"/usr/lib/*.la \
|
|
"$pkgdir"/usr/lib/*/*.la \
|
|
"$pkgdir"/usr/lib/python*/site-packages/farstream.la
|
|
}
|
|
|
|
py() {
|
|
pkgdesc="Python binding for farstream"
|
|
mkdir -p "$subpkgdir"/usr/lib/
|
|
mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/
|
|
}
|
|
|
|
md5sums="a8971167068b69a6933d3eaaeb9ab448 farstream-0.2.3.tar.gz"
|
|
sha256sums="bff535949252cdfc0374cb91f08b08476e7af38183295269b579500cc6c60496 farstream-0.2.3.tar.gz"
|
|
sha512sums="2f584a034611c22bfaa622e043884329a6d32821fd194b55d5c92669285ee43ff1a60cde3a9f825c3a895c50fd733ff6cf85beeb7efffff053eca287e7bc9528 farstream-0.2.3.tar.gz"
|