diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-03-07 14:58:45 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-03-07 14:58:45 +0000 |
commit | 86af2e5ff04833d3253b23011018adf4aba81892 (patch) | |
tree | 2523ca54b0e8cc8c2270aa208de319f393dd2986 /community/gst-libav | |
parent | 211d04bf7ff17b60c2f301f72ef111477433bf4c (diff) | |
download | aports-86af2e5ff04833d3253b23011018adf4aba81892.tar.bz2 aports-86af2e5ff04833d3253b23011018adf4aba81892.tar.xz |
{main => community}/gst-libav: move
Diffstat (limited to 'community/gst-libav')
-rw-r--r-- | community/gst-libav/APKBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/community/gst-libav/APKBUILD b/community/gst-libav/APKBUILD new file mode 100644 index 0000000000..71899b06e1 --- /dev/null +++ b/community/gst-libav/APKBUILD @@ -0,0 +1,46 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=gst-libav +pkgver=1.12.3 +pkgrel=0 +pkgdesc="Gstreamer libav Plugin" +url="http://www.gstreamer.net" +arch="all !armhf" +license="GPL" +makedepends=" + coreutils + ffmpeg-dev>=2.7.1-r1 + gstreamer-dev + gst-plugins-base-dev + liboil-dev + orc-dev" +source="http://gstreamer.freedesktop.org/src/gst-libav/gst-libav-$pkgver.tar.xz" +replaces="gst-libav1" +builddir="$srcdir"/gst-libav-$pkgver + +build() { + cd "$builddir" + export CFLAGS="$CFLAGS -fno-strict-aliasing -D_XOPEN_SOURCE" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-orc \ + --disable-fatal-warnings \ + --with-system-libav \ + || return 1 + make || return 1 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +doc() { + default_doc + replaces="${pkgname}1-doc" +} + +sha512sums="33b380b7094afe1db57103eeeca5ae13db98a5bee6785f884a7ec8abb93a94f702eb52f0515f4fa27a0f157ecb0757cf3576df335dc456254f9a82567f5ab7a8 gst-libav-1.12.3.tar.xz" |