Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/doxygen/PKGBUILD
blob: a095d4639cc6726083676dece3da8532a9a0f4a8 (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
33
34
35
36
37
38
39
40
eval "$(
  declare -f package_doxygen | \
    sed '
      2 a arch=('"${arch[*]}"')
    '
  declare -f package_doxygen-doc | \
    sed '
      2 a arch=(any)
    '
)"

# no qt5 on i486
makedepends=(${makedepends[@]//qt5-base/})
makedepends_i686+=(qt5-base)

# no TeX on i486
makedepends=(${makedepends[@]//texlive-core/})
makedepends=(${makedepends[@]//texlive-latexextra/})
makedepends_i686+=(texlive-core texlive-latexextra)

# no Graphviz on i486
makedepends=(${makedepends[@]//graphviz/})
makedepends_i686+=(graphviz)

# no ghostscript on i486
makedepends=(${makedepends[@]//ghostscript/})
makedepends_i686+=(ghostscript)

makedepends_pentium4=("${makedepends_i686[@]}")

if [ "${CARCH}" = "i486" ]; then
  eval "$(
    declare -f build | \
      sed '
        /make docs/d
        s|-Dbuild_doc:BOOL=ON|-Dbuild_doc:BOOL=OFF|
        s|-Dbuild_wizard:BOOL=ON|-Dbuild_wizard:BOOL=OFF|
      '
  )"
fi