aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-10-23 05:40:18 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-11-12 15:13:05 +0000
commit8c5a615342bda3914c98f75f8e2ed6f73941c67d (patch)
treee0499a9aa99bf324640d0079c392ea625bd3a5c1
parent3c0d2046e4f90000b4ebf66ae58f7828477986da (diff)
downloadaports-8c5a615342bda3914c98f75f8e2ed6f73941c67d.tar.bz2
aports-8c5a615342bda3914c98f75f8e2ed6f73941c67d.tar.xz
main/farstream: drop usage of python2
-rw-r--r--main/farstream/APKBUILD32
1 files changed, 9 insertions, 23 deletions
diff --git a/main/farstream/APKBUILD b/main/farstream/APKBUILD
index fe151cd385..adc9c75527 100644
--- a/main/farstream/APKBUILD
+++ b/main/farstream/APKBUILD
@@ -2,44 +2,30 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=farstream
pkgver=0.2.8
-pkgrel=2
+pkgrel=3
pkgdesc="Libraries for videoconferencing"
url="http://www.freedesktop.org/wiki/Software/Farstream"
arch="all"
-license="LGPL-2.0-or-later"
-depends=""
-depends_dev="libnice-dev gstreamer-dev gst-plugins-base-dev"
-makedepends="$depends_dev gobject-introspection-dev py-gobject-dev python2-dev"
-install=""
+license="LGPL-2.0-or-later AND GPL-2.0-or-later"
+depends_dev="libnice-dev gst-plugins-base-dev"
+makedepends="$depends_dev gobject-introspection-dev gstreamer-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://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"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
- --enable-python \
- --disable-static \
- || return 1
- make || return 1
+ --disable-static
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
py() {