summaryrefslogtreecommitdiff
path: root/extra/cogl/PKGBUILD
blob: ba6e0dfc3af571691f23fdab9fcb536ae313de66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# libglvnd missing on i486
if [ "$CARCH" = 'i486' ]; then
  makedepends+=(libglvnd)
fi

# no wayland on i486
if [ "$CARCH" = 'i486' ]; then
  eval "$(
    declare -f build | \
      sed '
        s/--enable-{kms,wayland}-egl-platform/--enable-kms/
        s/--enable-wayland-egl-server//
      '
  )"
fi