summaryrefslogtreecommitdiff
path: root/community/carla/PKGBUILD
blob: aa1116980965c49aafcde4139a9b8b0ff6c5497b (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+=('b481a9f9b1e404536a42706a36255216f64e49022c1c0f012e40be2941eb4a74b8d2b2f30998e16678a3d46e57dbeffa6f63259afff5a94a1bc4c7d8ba35a67c')
  b2sums+=('cb314334ffb6552f11a6d5b3a2de707a846d316956a565ab350afee450c224ab693beace1a0e52b50d9150beca592d5ec79b3e8014bca2c4c8e44450dfbe6ee3')
  eval "$(
    declare -f prepare | \
      sed '
        /git.*cherry.*/ i \
          patch -Np1 -i "$srcdir/carla-git-no-sse2.patch"
      '
  )"
fi

if [ "${CARCH}" = "i486" ]; then
  source+=('carla-git-no-sse.patch')
  sha512sums+=('bdce143bf9001c970d4001f9a65842f5f7130a26cb6c2804062146f80f672132181af0630d379fae5c51690761983df4cf1b37413d094d0157699dd509f828e4')
  b2sums+=('294e7b6a3a902992b860867088e21e96f66316e41db8ecd510bf3ef6912ba0432ceb0abfe2ca6f78072858ed6e805e4f24f7aca598688eac45f7b41b8d5e72cd')
  eval "$(
    declare -f prepare | \
      sed '
        /git.*cherry.*/ i \
          patch -Np1 -i "$srcdir/carla-git-no-sse.patch"
      '
  )"
fi