summaryrefslogtreecommitdiff
path: root/community/libffado/PKGBUILD
blob: c8d846c0cd42c45c650f3cc2a3bd11604ac2417a (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
# not available on i486 (yet) - configure seems to automatically handle absence
makedepends_i686=(
  $(
    printf '%s\n' "${makedepends[@]}" \
    | grep -xF 'python-pyqt5'
  )
)
makedepends_pentium4=("${makedepends_i686[@]}")
makedepends=(
  $(
    printf '%s\n' "${makedepends[@]}" \
    | grep -vxF 'python-pyqt5'
  )
)
_IFS="${IFS}"
IFS=''
optdepends_i686=(
  $(
    printf '%s\n' "${optdepends[@]}" \
    | grep '^python-pyqt5: '
  )
)
optdepends_pentium4=(
  "${optdepends_i686[@]}"
)
optdepends=(
  $(
    printf '%s\n' "${optdepends[@]}" \
    | grep -v '^python-pyqt5: '
  )
)
IFS="${_IFS}"