cmsigler

AUR i686 gstreamer0.10-base: Patch for PKGBUILD

Mar 3rd, 2017
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.86 KB | None | 0 0
  1. --- PKGBUILD.orig 2017-02-20 08:18:09.000000000 -0500
  2. +++ PKGBUILD 2017-03-03 08:50:50.958143187 -0500
  3. @@ -6,7 +6,7 @@
  4. pkgname=('gstreamer0.10-base' 'gstreamer0.10-base-plugins')
  5. pkgver=0.10.36
  6. pkgrel=10
  7. -arch=('x86_64' 'armv7h')
  8. +arch=('i686' 'x86_64' 'armv7h')
  9. license=('LGPL')
  10. makedepends=('pkgconfig' 'gstreamer0.10>=0.10.36-7' 'orc' 'libxv' 'alsa-lib' 'cdparanoia'
  11. 'libvisual' 'libvorbis' 'libtheora' 'pango' 'gobject-introspection' 'git')
  12. @@ -18,14 +18,16 @@
  13. revert-decodebin-playbin-removal.patch
  14. videoscale-fix-negotiation.patch
  15. ayuv64-lanczos.patch
  16. - gstaudio-symbols.patch)
  17. + gstaudio-symbols.patch
  18. + audioresample_i686_msse2.patch)
  19. sha256sums=('SKIP'
  20. 'a6a01035ea9627737f9c17f72919857ed43ccc7c2cb08b645b43ed89f78d0f4f'
  21. '7442c5c68068428b8c7ac1d3825ce29f1bb152b75b77047b9e806c7d322b780c'
  22. 'ba20659fafea73db016ddaecd128f12087e0957ce35cf2c3ce29f72c51551ef3'
  23. 'ae27f7be58997217f67898b37b138a485c203389e56b65e6b31c23f769ef39ca'
  24. '3792dfe80c69f51c0db98533e8fb16707b5dd2ee6933ea6098583af873ceb44a'
  25. - '56e7a988df39d2ec4befa265536ad8c30d3c8d18d136cebef64e8d6baac1abae')
  26. + '56e7a988df39d2ec4befa265536ad8c30d3c8d18d136cebef64e8d6baac1abae'
  27. + '4d452c9be1113156345f8595871271b1b4519113d2bb24edc6a0027faa7efaa4')
  28.  
  29. prepare() {
  30. cd $_pkgname
  31. @@ -36,6 +38,12 @@
  32. patch -Np1 -i ../videoscale-fix-negotiation.patch
  33. patch -Np1 -i ../gstaudio-symbols.patch
  34. patch -Np1 -R -i ../revert-decodebin-playbin-removal.patch
  35. +# Trying to fix abandoned i686 build. See:
  36. +# https://github.com/mxe/mxe/issues/406
  37. +# https://github.com/mxe/mxe/commit/34cc81413a56f00905e0a4532c52b608e0455fb4
  38. + if [[ "${CARCH}" == "i686" ]]; then
  39. + patch -Np1 -i ../audioresample_i686_msse2.patch
  40. + fi
  41. }
  42.  
  43. build() {
Add Comment
Please, Sign In to add comment