summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrancoism902018-05-13 20:03:14 +0200
committerfrancoism902018-05-13 20:03:14 +0200
commit9133867bd27b4ce8b31e4262fd08c5604d070cec (patch)
tree85d4aff04c66c27e994c2d566f5244e9eeaa622c
downloadaur-9133867bd27b4ce8b31e4262fd08c5604d070cec.tar.gz
Initial commit
-rw-r--r--.SRCINFO112
-rwxr-xr-xPKGBUILD124
2 files changed, 236 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b71f2034e4b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,112 @@
+pkgbase = ffmpeg-qsv
+ pkgdesc = Record, convert and stream audio and video (including qsv and libfdk-aac)
+ pkgver = 4.0
+ pkgrel = 1
+ url = http://www.ffmpeg.org/
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ license = custom: nonfree and unredistributable
+ makedepends = nasm
+ makedepends = opencl-headers
+ depends = glibc
+ depends = alsa-lib
+ depends = jack
+ depends = libpng
+ depends = bzip2
+ depends = frei0r-plugins
+ depends = libgcrypt
+ depends = gmp
+ depends = gnutls
+ depends = ladspa
+ depends = libass
+ depends = libbluray
+ depends = libbs2b
+ depends = libcaca
+ depends = celt
+ depends = libcdio-paranoia
+ depends = libdc1394
+ depends = libavc1394
+ depends = libfdk-aac
+ depends = fontconfig
+ depends = freetype2
+ depends = fribidi
+ depends = libgme
+ depends = gsm
+ depends = libiec61883
+ depends = libmodplug
+ depends = lame
+ depends = opencore-amr
+ depends = openjpeg2
+ depends = opus
+ depends = pulseaudio
+ depends = librsvg
+ depends = rubberband
+ depends = rtmpdump
+ depends = smbclient
+ depends = snappy
+ depends = libsoxr
+ depends = speex
+ depends = srt
+ depends = libssh
+ depends = tesseract
+ depends = libtheora
+ depends = twolame
+ depends = v4l-utils
+ depends = vid.stab
+ depends = libvorbis
+ depends = libvpx
+ depends = wavpack
+ depends = libwebp
+ depends = libx264.so
+ depends = x265
+ depends = libxcb
+ depends = xvidcore
+ depends = libxml2
+ depends = zimg
+ depends = zeromq
+ depends = zvbi
+ depends = lilv
+ depends = xz
+ depends = openal
+ depends = opencl-icd-loader
+ depends = mesa
+ depends = sndio
+ depends = sdl2
+ depends = libxv
+ depends = libx11
+ depends = libxext
+ depends = zlib
+ depends = libomxil-bellagio
+ depends = libva
+ depends = libdrm
+ depends = libvdpau
+ depends = libfdk-aac
+ depends = intel-media-sdk
+ optdepends = beignet: OpenCL implementation for Intel IvyBridge+ iGPUs
+ provides = ffmpeg
+ provides = ffmpeg-libfdk_aac
+ provides = qt-faststart
+ provides = libavutil.so
+ provides = libavcodec.so
+ provides = libavformat.so
+ provides = libavdevice.so
+ provides = libavfilter.so
+ provides = libavresample.so
+ provides = libswscale.so
+ provides = libswresample.so
+ provides = libpostproc.so
+ conflicts = ffmpeg
+ conflicts = ffmpeg-full-nvenc
+ conflicts = ffmpeg-nvenc
+ conflicts = ffmpeg-libfdk_aac
+ conflicts = ffmpeg-decklink
+ conflicts = ffmpeg-git
+ conflicts = ffmpeg-full-git
+ conflicts = ffmpeg-semifull-git
+ conflicts = ffmpeg-qsv-git
+ source = https://ffmpeg.org/releases/ffmpeg-4.0.tar.xz
+ sha256sums = ed945daf40b124e77a685893cc025d086f638bc703183460aff49508edb3a43f
+
+pkgname = ffmpeg-qsv
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100755
index 00000000000..b7164bf4246
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,124 @@
+# Maintainer: Francois Menning <f.menning@pm.me>
+# Contributor: Daniel Bermond < yahoo-com: danielbermond >
+# Contributor: Iacopo Isimbaldi <isiachi@rhye.it>
+# Contributor: Ben Widawsky <ben@bwidawsk.net>
+
+pkgname=ffmpeg-qsv
+_srcname=ffmpeg
+pkgver=4.0
+pkgrel=1
+pkgdesc='Record, convert and stream audio and video (including qsv and libfdk-aac)'
+arch=('i686' 'x86_64')
+url='http://www.ffmpeg.org/'
+license=('GPL3' 'custom: nonfree and unredistributable')
+depends=(
+ 'glibc' 'alsa-lib' 'jack' 'libpng'
+ 'bzip2' 'frei0r-plugins' 'libgcrypt' 'gmp' 'gnutls' 'ladspa' 'libass'
+ 'libbluray' 'libbs2b' 'libcaca' 'celt' 'libcdio-paranoia' 'libdc1394'
+ 'libavc1394' 'libfdk-aac' 'fontconfig' 'freetype2' 'fribidi' 'libgme' 'gsm'
+ 'libiec61883' 'libmodplug' 'lame' 'opencore-amr' 'openjpeg2' 'opus' 'pulseaudio'
+ 'librsvg' 'rubberband' 'rtmpdump' 'smbclient' 'snappy' 'libsoxr' 'speex' 'srt'
+ 'libssh' 'tesseract' 'libtheora' 'twolame' 'v4l-utils' 'vid.stab' 'libvorbis'
+ 'libvpx' 'wavpack' 'libwebp' 'libx264.so' 'x265' 'libxcb' 'xvidcore' 'libxml2'
+ 'zimg' 'zeromq' 'zvbi' 'lilv' 'xz' 'openal' 'opencl-icd-loader' 'mesa' 'sndio'
+ 'sdl2' 'libxv' 'libx11' 'libxext' 'zlib' 'libomxil-bellagio' 'libva' 'libdrm'
+ 'libvdpau'
+ 'libfdk-aac' 'intel-media-sdk'
+)
+makedepends=('nasm' 'opencl-headers')
+optdepends=('beignet: OpenCL implementation for Intel IvyBridge+ iGPUs')
+provides=('ffmpeg' 'ffmpeg-libfdk_aac' 'qt-faststart' 'libavutil.so' 'libavcodec.so' 'libavformat.so' 'libavdevice.so' 'libavfilter.so' 'libavresample.so' 'libswscale.so' 'libswresample.so' 'libpostproc.so')
+conflicts=(
+ 'ffmpeg' 'ffmpeg-full-nvenc' 'ffmpeg-nvenc' 'ffmpeg-libfdk_aac' 'ffmpeg-decklink'
+ 'ffmpeg-git' 'ffmpeg-full-git' 'ffmpeg-semifull-git' 'ffmpeg-qsv-git')
+source=("https://ffmpeg.org/releases/ffmpeg-${pkgver}.tar.xz")
+sha256sums=('ed945daf40b124e77a685893cc025d086f638bc703183460aff49508edb3a43f')
+
+prepare() {
+ cd "${_srcname}-${pkgver}"
+}
+
+build() {
+ cd "${_srcname}-${pkgver}"
+
+ export PKG_CONFIG_PATH="${PKG_CONFIG_PATH:+${PKG_CONFIG_PATH}:}/opt/intel/mediasdk/lib64/pkgconfig"
+
+ ./configure \
+ --prefix='/usr' \
+ --extra-libs='-lpthread' \
+ --disable-debug \
+ --disable-rpath \
+ --enable-gpl \
+ --enable-version3 \
+ --enable-nonfree \
+ --enable-shared \
+ --disable-static \
+ --enable-gray \
+ --enable-avisynth \
+ --enable-avresample \
+ --enable-alsa \
+ --enable-fontconfig \
+ --enable-gmp \
+ --enable-gnutls \
+ --enable-iconv \
+ --enable-ladspa \
+ --enable-libass \
+ --enable-libbluray \
+ --enable-libfreetype \
+ --enable-libfribidi \
+ --enable-libgsm \
+ --enable-libiec61883 \
+ --enable-libmodplug \
+ --enable-libmp3lame \
+ --enable-libopencore_amrnb \
+ --enable-libopencore_amrwb \
+ --enable-libopenjpeg \
+ --enable-libopus \
+ --enable-libpulse \
+ --enable-libsoxr \
+ --enable-libspeex \
+ --enable-libsrt \
+ --enable-libssh \
+ --enable-librsvg \
+ --enable-librtmp \
+ --enable-libsmbclient \
+ --enable-libtheora \
+ --disable-libtls \
+ --enable-libtwolame \
+ --enable-libv4l2 \
+ --enable-libvidstab \
+ --enable-libvorbis \
+ --enable-libvpx \
+ --enable-libwavpack \
+ --enable-libwebp \
+ --enable-libx264 \
+ --enable-libx265 \
+ --enable-libxcb \
+ --enable-libxml2 \
+ --enable-libxvid \
+ --enable-lzma \
+ --enable-libdrm \
+ --enable-xlib \
+ --enable-zlib \
+ --enable-omx \
+ --enable-openal \
+ --enable-opencl \
+ --enable-opengl \
+ --disable-openssl \
+ --enable-libfdk_aac \
+ --enable-libmfx \
+ --enable-vaapi \
+ --enable-vdpau
+
+ make
+ make tools/qt-faststart
+}
+
+package() {
+ cd "${_srcname}-${pkgver}"
+
+ make DESTDIR="$pkgdir" install
+
+ install -D -m755 tools/qt-faststart "${pkgdir}/usr/bin/qt-faststart"
+ install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}