diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-07-11 11:45:47 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-07-11 11:45:47 +0000 |
commit | 0eba4c27be6915328737951c9f90b1b5b71ec3f2 (patch) | |
tree | 80c2830d7b2078978a47de0dca02d631401fd914 /main | |
parent | cfbdb6fb10b47619cbb9732fe0fada244aae48cb (diff) | |
download | aports-0eba4c27be6915328737951c9f90b1b5b71ec3f2.tar.bz2 aports-0eba4c27be6915328737951c9f90b1b5b71ec3f2.tar.xz |
main/farstream: moved from testing
Diffstat (limited to 'main')
-rw-r--r-- | main/farstream/APKBUILD | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/main/farstream/APKBUILD b/main/farstream/APKBUILD new file mode 100644 index 0000000000..3ac4f38c7d --- /dev/null +++ b/main/farstream/APKBUILD @@ -0,0 +1,51 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=farstream +pkgver=0.1.2 +pkgrel=0 +pkgdesc="Libraries for videoconferencing" +url="http://www.freedesktop.org/wiki/Software/Farstream" +arch="all" +license="LGPLv2+" +depends="" +depends_dev="libnice-dev gstreamer-dev gst-plugins-base-dev" +makedepends="$depends_dev gobject-introspection-dev py-gobject-dev python-dev + py-gst" +install="" +subpackages="$pkgname-dev $pkgname-doc py-$pkgname:py" +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 --prefix=/usr \ + --enable-python \ + || 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="5d6e561b3688d0d0c8906fec4f356df3 farstream-0.1.2.tar.gz" |