summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Koppe2016-05-11 12:46:30 +0200
committerJan Koppe2016-05-11 12:46:30 +0200
commit316184857aaf84cf507848fc9ea5f28301bfe4c9 (patch)
treebac7498f517025b99d8e08efc481b101c921cfcb
downloadaur-316184857aaf84cf507848fc9ea5f28301bfe4c9.tar.gz
first version with decklink
-rw-r--r--.SRCINFO71
-rw-r--r--PKGBUILD89
2 files changed, 160 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..34d0a195cbf
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,71 @@
+pkgbase = ffmpeg-decklink
+ pkgdesc = Complete solution to record, convert and stream audio and video
+ pkgver = 3.0.2
+ pkgrel = 2
+ epoch = 1
+ url = http://ffmpeg.org/
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = decklink-sdk
+ makedepends = hardening-wrapper
+ makedepends = ladspa
+ makedepends = libvdpau
+ makedepends = yasm
+ depends = alsa-lib
+ depends = bzip2
+ depends = decklink
+ depends = fontconfig
+ depends = fribidi
+ depends = gnutls
+ depends = gsm
+ depends = lame
+ depends = libass
+ depends = libavc1394
+ depends = libbluray
+ depends = libiec61883
+ depends = libmodplug
+ depends = libpulse
+ depends = libsoxr
+ depends = libssh
+ depends = libtheora
+ depends = libva
+ depends = libvdpau
+ depends = libwebp
+ depends = netcdf
+ depends = opencore-amr
+ depends = openjpeg
+ depends = opus
+ depends = schroedinger
+ depends = sdl
+ depends = speex
+ depends = v4l-utils
+ depends = xvidcore
+ depends = zlib
+ depends = libdcadec.so
+ depends = libvidstab.so
+ depends = libvorbis.so
+ depends = libvorbisenc.so
+ depends = libvpx.so
+ depends = libx264.so
+ depends = libx265.so
+ optdepends = ladspa: LADSPA filters
+ provides = libavcodec.so
+ provides = libavdevice.so
+ provides = libavfilter.so
+ provides = libavformat.so
+ provides = libavresample.so
+ provides = libavutil.so
+ provides = libpostproc.so
+ provides = libswresample.so
+ provides = libswscale.so
+ provides = ffmpeg
+ conflicts = ffmpeg
+ source = http://ffmpeg.org/releases/ffmpeg-3.0.2.tar.bz2
+ source = http://ffmpeg.org/releases/ffmpeg-3.0.2.tar.bz2.asc
+ validpgpkeys = FCF986EA15E6E293A5644F10B4322F04D67658D8
+ sha256sums = 30e3c77c2f4c358ed087869455a7496cbd7753a5e1b98d20ba49c1004009fd36
+ sha256sums = SKIP
+
+pkgname = ffmpeg-decklink
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..446d5424fd8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,89 @@
+# Maintainer: Jan Koppe <post@jankoppe.de>
+# This package is a modified version of extra/ffmpeg with --enable-decklink
+
+pkgname=ffmpeg-decklink
+pkgver=3.0.2
+pkgrel=2
+epoch=1
+pkgdesc='Complete solution to record, convert and stream audio and video'
+arch=('i686' 'x86_64')
+url='http://ffmpeg.org/'
+license=('GPL3')
+depends=('alsa-lib' 'bzip2' 'decklink' 'fontconfig' 'fribidi' 'gnutls' 'gsm' 'lame'
+ 'libass' 'libavc1394' 'libbluray' 'libiec61883' 'libmodplug'
+ 'libpulse' 'libsoxr' 'libssh' 'libtheora' 'libva' 'libvdpau' 'libwebp'
+ 'netcdf' 'opencore-amr' 'openjpeg' 'opus' 'schroedinger' 'sdl' 'speex'
+ 'v4l-utils' 'xvidcore' 'zlib'
+ 'libdcadec.so' 'libvidstab.so' 'libvorbis.so' 'libvorbisenc.so'
+ 'libvpx.so' 'libx264.so' 'libx265.so')
+makedepends=('decklink-sdk' 'hardening-wrapper' 'ladspa' 'libvdpau' 'yasm')
+optdepends=('ladspa: LADSPA filters')
+provides=('libavcodec.so' 'libavdevice.so' 'libavfilter.so' 'libavformat.so'
+ 'libavresample.so' 'libavutil.so' 'libpostproc.so' 'libswresample.so'
+ 'libswscale.so' 'ffmpeg')
+conflicts=('ffmpeg')
+source=(http://ffmpeg.org/releases/ffmpeg-${pkgver}.tar.bz2{,.asc})
+validpgpkeys=('FCF986EA15E6E293A5644F10B4322F04D67658D8')
+sha256sums=('30e3c77c2f4c358ed087869455a7496cbd7753a5e1b98d20ba49c1004009fd36'
+ 'SKIP')
+
+build() {
+ cd ffmpeg-${pkgver}
+
+ ./configure \
+ --prefix='/usr' \
+ --disable-debug \
+ --disable-static \
+ --disable-stripping \
+ --enable-avisynth \
+ --enable-avresample \
+ --enable-decklink \
+ --enable-fontconfig \
+ --enable-gnutls \
+ --enable-gpl \
+ --enable-ladspa \
+ --enable-libass \
+ --enable-libbluray \
+ --enable-libdcadec \
+ --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-libschroedinger \
+ --enable-libsoxr \
+ --enable-libspeex \
+ --enable-libssh \
+ --enable-libtheora \
+ --enable-libv4l2 \
+ --enable-libvidstab \
+ --enable-libvorbis \
+ --enable-libvpx \
+ --enable-libwebp \
+ --enable-libx264 \
+ --enable-libx265 \
+ --enable-libxvid \
+ --enable-netcdf \
+ --enable-shared \
+ --enable-version3 \
+ --enable-x11grab
+
+ make
+ make tools/qt-faststart
+ make doc/ff{mpeg,play,server}.1
+}
+
+package() {
+ cd ffmpeg-${pkgver}
+
+ make DESTDIR="${pkgdir}" install install-man
+ install -Dm 755 tools/qt-faststart "${pkgdir}"/usr/bin/
+}
+
+# vim: ts=2 sw=2 et: