blob: e941c875f2508183b3f618f1095233aea3245b39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-libav
pkgver=1.14.1
pkgrel=0
pkgdesc="Gstreamer libav Plugin"
url="https://gstreamer.freedesktop.org"
arch="all"
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="https://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
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
doc() {
default_doc
replaces="${pkgname}1-doc"
}
sha512sums="368d794d88b20fc879178c1984186a9dda7f8717e2e6bc17bd2dcd67be6d9dd55220da617f9872c40a63f5c9b3d11713ff96c8dbb0e4ffffb196f9464aae43d2 gst-libav-1.14.1.tar.xz"
|