From 0ada3d03765cb8f96b378a3256ac123b28bcf2a4 Mon Sep 17 00:00:00 2001 From: prspkt Date: Sun, 8 Jul 2018 00:19:03 +0300 Subject: community/gst-libav: clarify license, modernize --- community/gst-libav/APKBUILD | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/community/gst-libav/APKBUILD b/community/gst-libav/APKBUILD index c821589b1b..05fe8515c1 100644 --- a/community/gst-libav/APKBUILD +++ b/community/gst-libav/APKBUILD @@ -3,16 +3,12 @@ pkgname=gst-libav pkgver=1.14.0 pkgrel=0 pkgdesc="Gstreamer libav Plugin" -url="http://www.gstreamer.net" +url="https://gstreamer.freedesktop.org" arch="all !armhf" -license="GPL" -makedepends=" - coreutils - ffmpeg-dev>=2.7.1-r1 - gstreamer-dev - gst-plugins-base-dev +license="GPL-2.0-or-later LGPL-2.0-or-later" +makedepends="coreutils ffmpeg-dev>=2.7.1-r1 gstreamer-dev gst-plugins-base-dev orc-dev" -source="http://gstreamer.freedesktop.org/src/gst-libav/gst-libav-$pkgver.tar.xz" +source="https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-$pkgver.tar.xz" replaces="gst-libav1" builddir="$srcdir"/gst-libav-$pkgver @@ -27,14 +23,13 @@ build() { --localstatedir=/var \ --enable-orc \ --disable-fatal-warnings \ - --with-system-libav \ - || return 1 - make || return 1 + --with-system-libav + make } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } doc() { -- cgit v1.2.3