blob: 79a70189c21ae810141f2bf22cda3d501d6d76ed (
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-plugins-base
pkgver=1.22.3
pkgrel=0
pkgdesc="GStreamer streaming media framework base plug-ins"
url="https://gstreamer.freedesktop.org"
arch="all"
license="GPL-2.0-or-later AND LGPL-2.0-or-later"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
replaces="gst-plugins-base1 gst-plugins-bad"
depends_dev="wayland-dev"
makedepends="
alsa-lib-dev
cdparanoia-dev
expat-dev
glib-dev
gobject-introspection-dev
graphene-dev
gstreamer-dev
gtk+3.0-dev
libice-dev
libogg-dev
libsm-dev
libtheora-dev
libvorbis-dev
libxv-dev
mesa-dev
meson
opus-dev
orc-compiler
orc-dev
perl
"
source="https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-$pkgver.tar.xz"
ldpath="/usr/lib/gstreamer-1.0"
# secfixes:
# 1.16.0-r0:
# - CVE-2019-9928
# sporadic testsuite failures on various archs, testsuite fails with network
# restricted too
options="!check"
build() {
CFLAGS="$CFLAGS -O2" \
CXXFLAGS="$CXXFLAGS -O2" \
CPPFLAGS="$CPPFLAGS -O2" \
abuild-meson \
-Db_lto=true \
-Dalsa=enabled \
-Dintrospection=enabled \
-Dpackage-origin="https://alpinelinux.org" \
-Dpackage-name="GStreamer base plug-ins (Alpine Linux)" \
-Dtests="$(want_check && echo enabled || echo disabled)" \
. output
meson compile ${JOBS:+-j ${JOBS}} -C output
}
check() {
make check
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
doc() {
default_doc
replaces="${pkgname}1-doc"
}
sha512sums="
dbfca6114ce0c5b234b533c89fdfa957499ecb25bbb5156e2ee54610be42969b2cae9e74a8250eb8b07484c9767f8f1d00e88d6d04c5da5429d62d08c9fd2472 gst-plugins-base-1.22.3.tar.xz
"
|