Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/opencv/PKGBUILD
blob: d4f6ccb5cd9e7d574b111feb49ab1e4c1b2af845 (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
# temporary workaround for FS#70653
sha256sums[0]='ae258ed50aa039279c3d36afdea5c6ecf762515836b27871a8957c610d0424f8'

# no Java yet on i486
if [ "$CARCH" = 'i486' ]; then
  makedepends=(${makedepends[@]//java-environment/})
  eval "$(
    declare -f build | \
      sed '
        /JAVA_HOME/d
      '
  )
  "
  eval "$(
    declare -f package_opencv | \
      sed '
        /ln.*java/d
      '
  )
  "
fi

# Qt6 (lrelease) is linked against icu68, icu 69 is current version
makedepends+=(icu68)

# no java/no ant on i486
if [ "$CARCH" = 'i486' ]; then
  makedepends=(${makedepends[@]//ant/})
fi

# no vtk yet on i486
if [ "$CARCH" = 'i486' ]; then
  makedepends=(${makedepends[@]//vtk/})
fi