summaryrefslogtreecommitdiff
path: root/community/tigervnc/PKGBUILD
blob: 78915425d6a00ecfc00fbe86b5a566b1492d53b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Java currently broken on i486
# DRI3 has a "configure: error: DRI3 requested, but xshmfence not found." problem currently on i486
if [ "$CARCH" = 'i486' ]; then
  makedepends=(${makedepends[@]//java-environment=8/})
  eval "$(
    declare -f build | \
      sed '
        s/-DBUILD_JAVA=TRUE/-DBUILD_JAVA=FALSE/
        s/--enable-dri3/--disable-dri3/
      '
  )
  "
  eval "$(
    declare -f package | \
      sed '
        /VncViewer.jar/d
      '
  )
  "
fi