summaryrefslogtreecommitdiff
path: root/extra/qt5-base/PKGBUILD
blob: ac9aecb97faae00ce889181d66c4acecb021f8a1 (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
if [ "$CARCH" = 'i486' -o "$CARCH" = 'i686' ]; then
  eval "$(
    declare -f build | \
      sed '
        s@./configure@./configure -no-sse2@g
      '
  )"
fi

makedepends=(${makedepends[@]/vulkan-headers/})
makedepends_i686+=(vulkan-headers)
makedepends_pentium4=("${makedepends_i686[@]}")
if [ "$CARCH" = 'i486' ]; then
  eval "$(
    declare -f build | \
      sed '
        s@./configure@./configure -no-feature-vulkan@g
      '
  )"
fi

ic issues on i486
if [ "$CARCH" = 'i486' ]; then
  makedepends=(${makedepends[@]//mariadb-libs/})
  eval "$(
    declare -f build | \
      sed '
        /-plugin-sql-/s/mysql,//
      '
  )"  
fi