blob: 2343fd73b70fcdd6aeaee97155241b43cfec77bc (
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
41
42
43
44
45
46
47
48
49
50
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-libav
pkgver=1.22.3
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/gst-libav-$pkgver.tar.xz
flaky.patch
"
replaces="gst-libav1"
build() {
CFLAGS="$CFLAGS -O2" \
CXXFLAGS="$CXXFLAGS -O2" \
CPPFLAGS="$CPPFLAGS -O2" \
abuild-meson \
-Db_lto=true \
-Dpackage-origin="https://alpinelinux.org" \
-Dpackage-name="GStreamer libav plugin (Alpine Linux)" \
. output
meson compile -C output
}
check() {
meson test --print-errorlogs --no-rebuild -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
doc() {
default_doc
replaces="${pkgname}1-doc"
}
sha512sums="
0cee9479b88d9c513f0bdb761c9f591aaf32d6a03bb6492446d2f6facea0396b4ca98855e790edf9d977cf256bdaf3093879cf6dd48b8fc1a511a2d8890f0337 gst-libav-1.22.3.tar.xz
b6ea595d0875c22b69fb7c32ce3e03e187ce8c76ad5992fd709500507fc89e021f6f53fc951a61b5edf0312963bf7d313542a3970bbab27e335887e5db34d26b flaky.patch
"
|