Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/carla/PKGBUILD
blob: 577b95aa667862abeb09d94987efe2dd5ef5135c (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
# disable SSE, SSE2 according to platform

if [ "${CARCH}" = "i686" ]; then
  source+=('carla-git-no-sse2.patch')
  sha512sums+=('74fa0bf6afd032f68333680ae5bb7398c613bd74e9639e76ccd0bc5c3a9b67475d618ad9a1f178f924a0c5847228085971e9b7eb685ec6cfd36ee1329b7fff63')
  b2sums+=('72e34c424289b84fe656a86c8ba29a7315350299114e2f1cf75892e219e79f9cf32b8c19d1aa0912a7668a2d9e741012e5c6372dcee9aaf45fb45833559fd376')
  eval "$(
    declare -f build | \
      sed '
        /make features/ i \
          patch -Np1 -i "$srcdir/carla-git-no-sse2.patch"
      '
  )"
fi

if [ "${CARCH}" = "i486" ]; then
  source+=('carla-git-no-sse.patch')
  sha512sums+=('ce8ac0a1e9346dcf0db5910234a2f7de7dfd2cee3df90624b09d9818689df5f8fec9b56d26b6c83f1e190763cc3f540208533d12fdf2841d7f871ebaaae94516')
  b2sums+=('995fe6bdeb090bb14edd56d0dcdf57439462d20c5bf7de69409eaee58ae402bb87cfc2e02caa60a6488eed497063a2108add33e55878c960b86421354808b403')
  eval "$(
    declare -f build | \
      sed '
        /make features/ i \
          patch -Np1 -i "$srcdir/carla-git-no-sse.patch"
      '
  )"
fi