blob: 0b0fd33a33a6130b5a92eee9f76dee3e327d56de (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-libav
pkgver=1.16.0
pkgrel=0
pkgdesc="GStreamer streaming media framework libav plugin"
url="https://gstreamer.freedesktop.org"
arch="all"
license="GPL-2.0-or-later LGPL-2.0-or-later"
makedepends="coreutils ffmpeg-dev gst-plugins-base-dev gstreamer-dev meson
orc-dev"
source="https://gstreamer.freedesktop.org/src/gst-libav/$pkgname-$pkgver.tar.xz"
replaces="gst-libav1"
build() {
export CFLAGS="$CFLAGS -fno-strict-aliasing -D_XOPEN_SOURCE"
meson \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--buildtype=release \
-Dpackage-origin="https://alpinelinux.org" \
-Dpackage-name="GStreamer libav plugin (Alpine Linux)" \
. output
ninja -C output
}
package() {
DESTDIR="$pkgdir" ninja -C output install
}
doc() {
default_doc
replaces="${pkgname}1-doc"
}
sha512sums="a28318697cfea636841eee262c5d1ed38def1914bb9d78e20f008f9906e04a6dea6a6e926036ca7ad30852922e97215da0a4eaee6fc42002eb658efa76c3a0aa gst-libav-1.16.0.tar.xz"
|