summaryrefslogtreecommitdiff
path: root/extra/opencv/PKGBUILD
blob: 499054e4abeeda768c9ca92d94b3d8d2a4c7ff1b (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
# 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)