gcurse

PKGBUILD for gstreamer0.10-ffmpeg

Feb 22nd, 2020
159
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=gstreamer0.10-ffmpeg
  2. _pkgname=gst-ffmpeg
  3. pkgver=0.10.13
  4. pkgrel=11
  5. pkgdesc="Gstreamer FFMpeg Plugin"
  6. arch=('i686' 'x86_64' 'armv7h')
  7. license=('GPL')
  8. depends=('gstreamer0.10-base>=0.10.36-11' 'bzip2')
  9. makedepends=('pkgconfig' 'yasm' 'sdl' 'git' 'gtk-doc')
  10. url="http://gstreamer.freedesktop.org/"
  11. groups=('gstreamer0.10-plugins')
  12. source=("https://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg-0.10.13.tar.bz2"
  13.         h264_qpel_mmx.patch)
  14. sha256sums=('76fca05b08e00134e3cb92fa347507f42cbd48ddb08ed3343a912def187fbb62'
  15.             'd69ccc71a55063bc550ed7f7c838a7defb44a35270fdc1b3a276b516a6b55a88')
  16.  
  17. prepare() {
  18.   cd ${_pkgname}-${pkgver}
  19.   patch -Np1 -i ../h264_qpel_mmx.patch
  20.   find . -type f -print0 | xargs -0 sed -i 's/ORC_TARGET_ALTIVEC_ALTIVEC/ORC_TARGET_POWERPC_ALTIVEC/g'
  21. }
  22.  
  23. build() {
  24.   cd ${_pkgname}-${pkgver}
  25.   NOCONFIGURE=1 ./autogen.sh
  26.   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static --enable-gtk-doc --with-ffmpeg-extra-configure="--enable-runtime-cpudetect"
  27.   make
  28. }
  29.  
  30. package() {
  31.   cd ${_pkgname}-${pkgver}
  32.   make DESTDIR="${pkgdir}" install
  33. }
RAW Paste Data