blob: 3d9066145fde795b300aca9d9361fa383d0a1566 (
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
|
# svt-hevc is blacklisted
makedepends=(${makedepends[@]//svt-hevc/})
eval "$(
declare -f build | \
sed '
s/arch-meson/arch-meson -D svthevcenc=disabled /g
'
)"
eval "$(
declare -f package_gst-plugins-bad-libs | \
sed '
s/svthevcenc//g
'
)"
eval "$(
declare -f package_gst-plugins-bad | \
sed '
s/svt-hevc//g
'
)"
# no opencv on i486 for now
if [ "$CARCH" = 'i486' ]; then
makedepends=(${makedepends[@]//opencv/})
eval "$(
declare -f package_gst-plugins-bad-libs | \
sed '
/mkdir.*opencv/d
/mv.*opencv/d
/gst\/opencv/d
s/in opencv wpe/in wpe/
'
declare -f package_gst-plugin-opencv | \
sed '
3 i if false; then
$ i fi
'
)"
fi
|