summaryrefslogtreecommitdiff
path: root/extra/x265/PKGBUILD
blob: 0dc3dc58152250bca42d71b68fee8bb397c17e16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# disabling assembly code as it seems to be non-32-bittish

eval "$(
  declare -f build | \
    sed '
      s/cmake/cmake -DENABLE_ASSEMBLY=OFF/
    '
)"
# thanks, debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910963
source+=('0003-detect512-is-needed-on-all-architectures.patch')
sha256sum+=('+6baa25d11c81ad4ee49e9f2a367db4c770eb8cccf81f7bdaadb942621288a271')
eval "$(
  declare -f prepare | \
    sed '
      3 a patch -p1 -i "$srcdir/0003-detect512-is-needed-on-all-architectures.patch"
    '
)"