SHARE
TWEET

ffmpeg-v4l2-request

a guest Feb 14th, 2020 83 in 19 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Andre Vallestero < gmail-com: andrevallestero >
  2.  
  3. pkgname=ffmpeg-v4l2-request-git
  4. pkgver=202002140
  5. pkgrel=1
  6. pkgdesc='FFmpeg with v4l2-request support'
  7. arch=('aarch64')
  8. url='https://github.com/Kwiboo/FFmpeg/tree/v4l2-request-hwaccel-4.2.2'
  9. license=('GPL3')
  10. depends=('alsa-lib' 'bzip2' 'fontconfig' 'fribidi' 'glibc' 'gmp' 'gnutls' 'gsm'
  11.          'jack' 'lame' 'libavc1394' 'libdrm' 'libiec61883' 'libmodplug'
  12.          'libomxil-bellagio' 'libpulse' 'libraw1394' 'libsoxr' 'libssh' 'libtheora'
  13.          'libvdpau' 'libwebp' 'libx11' 'libxcb' 'libxext' 'libxml2' 'libxv'
  14.          'opencore-amr' 'openjpeg2' 'opus' 'sdl2' 'speex' 'v4l-utils' 'xz' 'zlib'
  15.          'ladspa' 'libass.so' 'libbluray.so' 'libfreetype.so' 'libva-drm.so'
  16.          'libva.so' 'libva-x11.so' 'libvidstab.so' 'libvorbisenc.so' 'libvorbis.so'
  17.          'libvpx.so' 'libx264.so' 'libx265.so' 'libxvidcore.so')
  18. makedepends=('git')
  19. optdepends=('intel-media-sdk: for Intel Quick Sync Video'
  20.             'ladspa: for LADSPA filters')
  21. provides=('libavcodec.so' 'libavdevice.so' 'libavfilter.so' 'libavformat.so'
  22.           'libavutil.so' 'libpostproc.so' 'libswresample.so' 'libswscale.so'
  23.           'ffmpeg')
  24. conflicts=('ffmpeg')
  25. source=('git+https://github.com/Kwiboo/FFmpeg.git#branch=v4l2-request-hwaccel-4.2.2')
  26. sha256sums=('SKIP')
  27.  
  28. pkgver() {
  29.     cd FFmpeg
  30.     printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  31. }
  32.  
  33. build() {
  34.     cd FFmpeg
  35.  
  36.     printf '%s\n' '  -> Running ffmpeg configure script...'
  37.  
  38.     ./configure \
  39.         --prefix='/usr' \
  40.         --disable-debug \
  41.         --disable-static \
  42.         --disable-stripping \
  43.         --enable-fontconfig \
  44.         --enable-gmp \
  45.         --enable-gnutls \
  46.         --enable-gpl \
  47.         --enable-ladspa \
  48.         --enable-libass \
  49.         --enable-libbluray \
  50.         --enable-libdrm \
  51.         --enable-libfreetype \
  52.         --enable-libfribidi \
  53.         --enable-libgsm \
  54.         --enable-libiec61883 \
  55.         --enable-libjack \
  56.         --enable-libmodplug \
  57.         --enable-libmp3lame \
  58.         --enable-libopencore_amrnb \
  59.         --enable-libopencore_amrwb \
  60.         --enable-libopenjpeg \
  61.         --enable-libopus \
  62.         --enable-libpulse \
  63.         --enable-libsoxr \
  64.         --enable-libspeex \
  65.         --enable-libssh \
  66.         --enable-libtheora \
  67.         --enable-libv4l2 \
  68.         --enable-libvidstab \
  69.         --enable-libvorbis \
  70.         --enable-libvpx \
  71.         --enable-libwebp \
  72.         --enable-libx264 \
  73.         --enable-libx265 \
  74.         --enable-libxcb \
  75.         --enable-libxml2 \
  76.         --enable-libxvid \
  77.         --enable-omx \
  78.         --enable-shared \
  79.         --enable-version3 \
  80.         --enable-libudev \
  81.         --enable-v4l2-request
  82.  
  83.     make
  84.     make tools/qt-faststart
  85. }
  86.  
  87. package() {
  88.     make -C FFmpeg DESTDIR="$pkgdir" install
  89.     install -D -m755 FFmpeg/tools/qt-faststart -t "${pkgdir}/usr/bin"
  90. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top