index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | extra/faac/PKGBUILD | 17 |
diff --git a/extra/faac/PKGBUILD b/extra/faac/PKGBUILD new file mode 100644 index 00000000..86cb6286 --- /dev/null +++ b/extra/faac/PKGBUILD @@ -0,0 +1,17 @@ +# no SSE on i686 and i486 (it's called SSE, but actually add -msse2 to gcc flags, hence the +# patch also applies for i686) +if [ "$CARCH" = 'i486' -o "$CARCH" = 'i686' ]; then + source+=('faac-1_30-no-sse.patch') + sha512sums+=('6e93a474dfdd9f5e61cc43f7b93d4807144de951aac6353464c8aff5cf0b8edc07199518bb52d4ef5f2904ec177f5ad13a2e3b07039cebd95661c73e245add83') + b2sums+=('be943722ba56435184be88a234cf794b30927f5b31aa3246fc201b0b8404073c4ffba547361585a4f32b1a3b5a33742055401dbbcad15dba048ba1ce84d9f0ef') + eval "$( + { + declare -f prepare || \ + printf 'prepare() { cd "${pkgname}-${pkgver}"\n}\n' + } \ + | sed ' + /autoreconf/ i \ + patch -Np1 -i "$srcdir/faac-1_30-no-sse.patch" + ' + )" +fi |