diff options
Diffstat (limited to 'uselessPorts/ffmpeg')
-rw-r--r-- | uselessPorts/ffmpeg/.footprint | 223 | ||||
-rw-r--r-- | uselessPorts/ffmpeg/.md5sum | 1 | ||||
-rw-r--r-- | uselessPorts/ffmpeg/.signature | 5 | ||||
-rw-r--r-- | uselessPorts/ffmpeg/Pkgfile | 58 | ||||
-rwxr-xr-x | uselessPorts/ffmpeg/lastVersion.sh | 6 | ||||
-rw-r--r-- | uselessPorts/ffmpeg/libvpx-1.5-compat.patch | 22 |
6 files changed, 315 insertions, 0 deletions
diff --git a/uselessPorts/ffmpeg/.footprint b/uselessPorts/ffmpeg/.footprint new file mode 100644 index 0000000..c366bfd --- /dev/null +++ b/uselessPorts/ffmpeg/.footprint @@ -0,0 +1,223 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/ffmpeg +-rwxr-xr-x root/root usr/bin/ffprobe +-rwxr-xr-x root/root usr/bin/ffserver +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/libavcodec/ +-rw-r--r-- root/root usr/include/libavcodec/avcodec.h +-rw-r--r-- root/root usr/include/libavcodec/avdct.h +-rw-r--r-- root/root usr/include/libavcodec/avfft.h +-rw-r--r-- root/root usr/include/libavcodec/d3d11va.h +-rw-r--r-- root/root usr/include/libavcodec/dirac.h +-rw-r--r-- root/root usr/include/libavcodec/dv_profile.h +-rw-r--r-- root/root usr/include/libavcodec/dxva2.h +-rw-r--r-- root/root usr/include/libavcodec/jni.h +-rw-r--r-- root/root usr/include/libavcodec/mediacodec.h +-rw-r--r-- root/root usr/include/libavcodec/qsv.h +-rw-r--r-- root/root usr/include/libavcodec/vaapi.h +-rw-r--r-- root/root usr/include/libavcodec/vda.h +-rw-r--r-- root/root usr/include/libavcodec/vdpau.h +-rw-r--r-- root/root usr/include/libavcodec/version.h +-rw-r--r-- root/root usr/include/libavcodec/videotoolbox.h +-rw-r--r-- root/root usr/include/libavcodec/vorbis_parser.h +-rw-r--r-- root/root usr/include/libavcodec/xvmc.h +drwxr-xr-x root/root usr/include/libavdevice/ +-rw-r--r-- root/root usr/include/libavdevice/avdevice.h +-rw-r--r-- root/root usr/include/libavdevice/version.h +drwxr-xr-x root/root usr/include/libavfilter/ +-rw-r--r-- root/root usr/include/libavfilter/avfilter.h +-rw-r--r-- root/root usr/include/libavfilter/avfiltergraph.h +-rw-r--r-- root/root usr/include/libavfilter/buffersink.h +-rw-r--r-- root/root usr/include/libavfilter/buffersrc.h +-rw-r--r-- root/root usr/include/libavfilter/version.h +drwxr-xr-x root/root usr/include/libavformat/ +-rw-r--r-- root/root usr/include/libavformat/avformat.h +-rw-r--r-- root/root usr/include/libavformat/avio.h +-rw-r--r-- root/root usr/include/libavformat/version.h +drwxr-xr-x root/root usr/include/libavresample/ +-rw-r--r-- root/root usr/include/libavresample/avresample.h +-rw-r--r-- root/root usr/include/libavresample/version.h +drwxr-xr-x root/root usr/include/libavutil/ +-rw-r--r-- root/root usr/include/libavutil/adler32.h +-rw-r--r-- root/root usr/include/libavutil/aes.h +-rw-r--r-- root/root usr/include/libavutil/aes_ctr.h +-rw-r--r-- root/root usr/include/libavutil/attributes.h +-rw-r--r-- root/root usr/include/libavutil/audio_fifo.h +-rw-r--r-- root/root usr/include/libavutil/avassert.h +-rw-r--r-- root/root usr/include/libavutil/avconfig.h +-rw-r--r-- root/root usr/include/libavutil/avstring.h +-rw-r--r-- root/root usr/include/libavutil/avutil.h +-rw-r--r-- root/root usr/include/libavutil/base64.h +-rw-r--r-- root/root usr/include/libavutil/blowfish.h +-rw-r--r-- root/root usr/include/libavutil/bprint.h +-rw-r--r-- root/root usr/include/libavutil/bswap.h +-rw-r--r-- root/root usr/include/libavutil/buffer.h +-rw-r--r-- root/root usr/include/libavutil/camellia.h +-rw-r--r-- root/root usr/include/libavutil/cast5.h +-rw-r--r-- root/root usr/include/libavutil/channel_layout.h +-rw-r--r-- root/root usr/include/libavutil/common.h +-rw-r--r-- root/root usr/include/libavutil/cpu.h +-rw-r--r-- root/root usr/include/libavutil/crc.h +-rw-r--r-- root/root usr/include/libavutil/des.h +-rw-r--r-- root/root usr/include/libavutil/dict.h +-rw-r--r-- root/root usr/include/libavutil/display.h +-rw-r--r-- root/root usr/include/libavutil/downmix_info.h +-rw-r--r-- root/root usr/include/libavutil/error.h +-rw-r--r-- root/root usr/include/libavutil/eval.h +-rw-r--r-- root/root usr/include/libavutil/ffversion.h +-rw-r--r-- root/root usr/include/libavutil/fifo.h +-rw-r--r-- root/root usr/include/libavutil/file.h +-rw-r--r-- root/root usr/include/libavutil/frame.h +-rw-r--r-- root/root usr/include/libavutil/hash.h +-rw-r--r-- root/root usr/include/libavutil/hmac.h +-rw-r--r-- root/root usr/include/libavutil/hwcontext.h +-rw-r--r-- root/root usr/include/libavutil/hwcontext_cuda.h +-rw-r--r-- root/root usr/include/libavutil/hwcontext_dxva2.h +-rw-r--r-- root/root usr/include/libavutil/hwcontext_qsv.h +-rw-r--r-- root/root usr/include/libavutil/hwcontext_vaapi.h +-rw-r--r-- root/root usr/include/libavutil/hwcontext_vdpau.h +-rw-r--r-- root/root usr/include/libavutil/imgutils.h +-rw-r--r-- root/root usr/include/libavutil/intfloat.h +-rw-r--r-- root/root usr/include/libavutil/intreadwrite.h +-rw-r--r-- root/root usr/include/libavutil/lfg.h +-rw-r--r-- root/root usr/include/libavutil/log.h +-rw-r--r-- root/root usr/include/libavutil/lzo.h +-rw-r--r-- root/root usr/include/libavutil/macros.h +-rw-r--r-- root/root usr/include/libavutil/mastering_display_metadata.h +-rw-r--r-- root/root usr/include/libavutil/mathematics.h +-rw-r--r-- root/root usr/include/libavutil/md5.h +-rw-r--r-- root/root usr/include/libavutil/mem.h +-rw-r--r-- root/root usr/include/libavutil/motion_vector.h +-rw-r--r-- root/root usr/include/libavutil/murmur3.h +-rw-r--r-- root/root usr/include/libavutil/opt.h +-rw-r--r-- root/root usr/include/libavutil/parseutils.h +-rw-r--r-- root/root usr/include/libavutil/pixdesc.h +-rw-r--r-- root/root usr/include/libavutil/pixelutils.h +-rw-r--r-- root/root usr/include/libavutil/pixfmt.h +-rw-r--r-- root/root usr/include/libavutil/random_seed.h +-rw-r--r-- root/root usr/include/libavutil/rational.h +-rw-r--r-- root/root usr/include/libavutil/rc4.h +-rw-r--r-- root/root usr/include/libavutil/replaygain.h +-rw-r--r-- root/root usr/include/libavutil/ripemd.h +-rw-r--r-- root/root usr/include/libavutil/samplefmt.h +-rw-r--r-- root/root usr/include/libavutil/sha.h +-rw-r--r-- root/root usr/include/libavutil/sha512.h +-rw-r--r-- root/root usr/include/libavutil/stereo3d.h +-rw-r--r-- root/root usr/include/libavutil/tea.h +-rw-r--r-- root/root usr/include/libavutil/threadmessage.h +-rw-r--r-- root/root usr/include/libavutil/time.h +-rw-r--r-- root/root usr/include/libavutil/timecode.h +-rw-r--r-- root/root usr/include/libavutil/timestamp.h +-rw-r--r-- root/root usr/include/libavutil/tree.h +-rw-r--r-- root/root usr/include/libavutil/twofish.h +-rw-r--r-- root/root usr/include/libavutil/version.h +-rw-r--r-- root/root usr/include/libavutil/xtea.h +drwxr-xr-x root/root usr/include/libpostproc/ +-rw-r--r-- root/root usr/include/libpostproc/postprocess.h +-rw-r--r-- root/root usr/include/libpostproc/version.h +drwxr-xr-x root/root usr/include/libswresample/ +-rw-r--r-- root/root usr/include/libswresample/swresample.h +-rw-r--r-- root/root usr/include/libswresample/version.h +drwxr-xr-x root/root usr/include/libswscale/ +-rw-r--r-- root/root usr/include/libswscale/swscale.h +-rw-r--r-- root/root usr/include/libswscale/version.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libavcodec.a +lrwxrwxrwx root/root usr/lib/libavcodec.so -> libavcodec.so.57.64.101 +lrwxrwxrwx root/root usr/lib/libavcodec.so.57 -> libavcodec.so.57.64.101 +-rwxr-xr-x root/root usr/lib/libavcodec.so.57.64.101 +-rw-r--r-- root/root usr/lib/libavdevice.a +lrwxrwxrwx root/root usr/lib/libavdevice.so -> libavdevice.so.57.1.100 +lrwxrwxrwx root/root usr/lib/libavdevice.so.57 -> libavdevice.so.57.1.100 +-rwxr-xr-x root/root usr/lib/libavdevice.so.57.1.100 +-rw-r--r-- root/root usr/lib/libavfilter.a +lrwxrwxrwx root/root usr/lib/libavfilter.so -> libavfilter.so.6.65.100 +lrwxrwxrwx root/root usr/lib/libavfilter.so.6 -> libavfilter.so.6.65.100 +-rwxr-xr-x root/root usr/lib/libavfilter.so.6.65.100 +-rw-r--r-- root/root usr/lib/libavformat.a +lrwxrwxrwx root/root usr/lib/libavformat.so -> libavformat.so.57.56.101 +lrwxrwxrwx root/root usr/lib/libavformat.so.57 -> libavformat.so.57.56.101 +-rwxr-xr-x root/root usr/lib/libavformat.so.57.56.101 +-rw-r--r-- root/root usr/lib/libavresample.a +lrwxrwxrwx root/root usr/lib/libavresample.so -> libavresample.so.3.1.0 +lrwxrwxrwx root/root usr/lib/libavresample.so.3 -> libavresample.so.3.1.0 +-rwxr-xr-x root/root usr/lib/libavresample.so.3.1.0 +-rw-r--r-- root/root usr/lib/libavutil.a +lrwxrwxrwx root/root usr/lib/libavutil.so -> libavutil.so.55.34.101 +lrwxrwxrwx root/root usr/lib/libavutil.so.55 -> libavutil.so.55.34.101 +-rwxr-xr-x root/root usr/lib/libavutil.so.55.34.101 +-rw-r--r-- root/root usr/lib/libpostproc.a +lrwxrwxrwx root/root usr/lib/libpostproc.so -> libpostproc.so.54.1.100 +lrwxrwxrwx root/root usr/lib/libpostproc.so.54 -> libpostproc.so.54.1.100 +-rwxr-xr-x root/root usr/lib/libpostproc.so.54.1.100 +-rw-r--r-- root/root usr/lib/libswresample.a +lrwxrwxrwx root/root usr/lib/libswresample.so -> libswresample.so.2.3.100 +lrwxrwxrwx root/root usr/lib/libswresample.so.2 -> libswresample.so.2.3.100 +-rwxr-xr-x root/root usr/lib/libswresample.so.2.3.100 +-rw-r--r-- root/root usr/lib/libswscale.a +lrwxrwxrwx root/root usr/lib/libswscale.so -> libswscale.so.4.2.100 +lrwxrwxrwx root/root usr/lib/libswscale.so.4 -> libswscale.so.4.2.100 +-rwxr-xr-x root/root usr/lib/libswscale.so.4.2.100 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libavcodec.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libavdevice.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libavfilter.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libavformat.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libavresample.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libavutil.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libpostproc.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libswresample.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libswscale.pc +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/ffmpeg/ +drwxr-xr-x root/root usr/share/ffmpeg/examples/ +-rw-r--r-- root/root usr/share/ffmpeg/examples/Makefile +-rw-r--r-- root/root usr/share/ffmpeg/examples/avio_dir_cmd.c +-rw-r--r-- root/root usr/share/ffmpeg/examples/avio_reading.c +-rw-r--r-- root/root usr/share/ffmpeg/examples/decoding_encoding.c +-rw-r--r-- root/root usr/share/ffmpeg/examples/demuxing_decoding.c +-rw-r--r-- root/root usr/share/ffmpeg/examples/extract_mvs.c +-rw-r--r-- root/root usr/share/ffmpeg/examples/filter_audio.c +-rw-r--r-- root/root usr/share/ffmpeg/examples/filtering_audio.c +-rw-r--r-- root/root usr/share/ffmpeg/examples/filtering_video.c +-rw-r--r-- root/root usr/share/ffmpeg/examples/http_multiclient.c +-rw-r--r-- root/root usr/share/ffmpeg/examples/metadata.c +-rw-r--r-- root/root usr/share/ffmpeg/examples/muxing.c +-rw-r--r-- root/root usr/share/ffmpeg/examples/qsvdec.c +-rw-r--r-- root/root usr/share/ffmpeg/examples/remuxing.c +-rw-r--r-- root/root usr/share/ffmpeg/examples/resampling_audio.c +-rw-r--r-- root/root usr/share/ffmpeg/examples/scaling_video.c +-rw-r--r-- root/root usr/share/ffmpeg/examples/transcode_aac.c +-rw-r--r-- root/root usr/share/ffmpeg/examples/transcoding.c +-rw-r--r-- root/root usr/share/ffmpeg/ffprobe.xsd +-rw-r--r-- root/root usr/share/ffmpeg/libvpx-1080p.ffpreset +-rw-r--r-- root/root usr/share/ffmpeg/libvpx-1080p50_60.ffpreset +-rw-r--r-- root/root usr/share/ffmpeg/libvpx-360p.ffpreset +-rw-r--r-- root/root usr/share/ffmpeg/libvpx-720p.ffpreset +-rw-r--r-- root/root usr/share/ffmpeg/libvpx-720p50_60.ffpreset +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/ffmpeg-all.1.gz +-rw-r--r-- root/root usr/share/man/man1/ffmpeg-bitstream-filters.1.gz +-rw-r--r-- root/root usr/share/man/man1/ffmpeg-codecs.1.gz +-rw-r--r-- root/root usr/share/man/man1/ffmpeg-devices.1.gz +-rw-r--r-- root/root usr/share/man/man1/ffmpeg-filters.1.gz +-rw-r--r-- root/root usr/share/man/man1/ffmpeg-formats.1.gz +-rw-r--r-- root/root usr/share/man/man1/ffmpeg-protocols.1.gz +-rw-r--r-- root/root usr/share/man/man1/ffmpeg-resampler.1.gz +-rw-r--r-- root/root usr/share/man/man1/ffmpeg-scaler.1.gz +-rw-r--r-- root/root usr/share/man/man1/ffmpeg-utils.1.gz +-rw-r--r-- root/root usr/share/man/man1/ffmpeg.1.gz +-rw-r--r-- root/root usr/share/man/man1/ffprobe-all.1.gz +-rw-r--r-- root/root usr/share/man/man1/ffprobe.1.gz +-rw-r--r-- root/root usr/share/man/man1/ffserver-all.1.gz +-rw-r--r-- root/root usr/share/man/man1/ffserver.1.gz +drwxr-xr-x root/root usr/share/man/man3/ +-rw-r--r-- root/root usr/share/man/man3/libavcodec.3.gz +-rw-r--r-- root/root usr/share/man/man3/libavdevice.3.gz +-rw-r--r-- root/root usr/share/man/man3/libavfilter.3.gz +-rw-r--r-- root/root usr/share/man/man3/libavformat.3.gz +-rw-r--r-- root/root usr/share/man/man3/libavutil.3.gz +-rw-r--r-- root/root usr/share/man/man3/libswresample.3.gz +-rw-r--r-- root/root usr/share/man/man3/libswscale.3.gz diff --git a/uselessPorts/ffmpeg/.md5sum b/uselessPorts/ffmpeg/.md5sum new file mode 100644 index 0000000..8343bcf --- /dev/null +++ b/uselessPorts/ffmpeg/.md5sum @@ -0,0 +1 @@ +d3ebaacfa36c6e8145373785824265b4 ffmpeg-3.2.4.tar.bz2 diff --git a/uselessPorts/ffmpeg/.signature b/uselessPorts/ffmpeg/.signature new file mode 100644 index 0000000..d740506 --- /dev/null +++ b/uselessPorts/ffmpeg/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/deepthought.pub +RWQxCptPusLGGtfZx7d+tyQaRN0nCzkSw/Qx0mr5Ua/CfHjVhJUDExNsEoy6Sn91FPKkbPL4GjfqjQqNXt/QRI4Hol44W8o1nAg= +SHA256 (Pkgfile) = 8fd51404016df61fae542cd1ac06d5a47a9c1de9d907eb8ef2af73621592e2a7 +SHA256 (.footprint) = bfa2c87a8befa7ae294f180212098af53c094d0f38880e017e003db3c773df25 +SHA256 (ffmpeg-3.2.4.tar.bz2) = c0fa3593a2e9e96ace3c1757900094437ad96d1d6ca19f057c378b5f394496a4 diff --git a/uselessPorts/ffmpeg/Pkgfile b/uselessPorts/ffmpeg/Pkgfile new file mode 100644 index 0000000..909ec76 --- /dev/null +++ b/uselessPorts/ffmpeg/Pkgfile @@ -0,0 +1,58 @@ +# Description: Complete solution to record, convert and stream audio and video. +# URL: http://ffmpeg.org/ +# Maintainer: Erich Eckner, crux at eckner dot net +# Packager: Matt Housh, jaeger at crux dot nu +# Depends on: gnutls lame libass libbluray libgmp libmodplug libsdl libtheora libva libvpx libxvid opencore-amr openjpeg opus rtmpdump schroedinger speex x264 x265 + +name=ffmpeg +version=3.2.4 +release=1 +source=(http://ffmpeg.org/releases/$name-$version.tar.bz2) + +build() { + cd $name-$version + + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --disable-debug \ + --disable-doc \ + --enable-avfilter \ + --enable-avresample \ + --enable-dxva2 \ + --enable-fontconfig \ + --enable-gnutls \ + --enable-gpl \ + --enable-libass \ + --enable-libbluray \ + --enable-libfreetype \ + --enable-libmodplug \ + --enable-libmp3lame \ + --enable-libopencore_amrnb \ + --enable-libopencore_amrwb \ + --enable-libopenjpeg \ + --enable-libopus \ + --enable-librtmp \ + --enable-libschroedinger \ + --enable-libspeex \ + --enable-libtheora \ + --enable-libvorbis \ + --enable-libx264 \ + --enable-libx265 \ + --enable-libvpx \ + --enable-libxvid \ + --enable-pic \ + --enable-postproc \ + --enable-pthreads \ + --enable-shared \ + --enable-swresample \ + --enable-vaapi \ + --enable-vdpau \ + --enable-version3 \ + --enable-x11grab + + [ "$CC" ] || CC=gcc + make CC="$CC" SHARED_PP='yes' $MAKEFLAGS + make DESTDIR=$PKG install install-man + rm $PKG/usr/share/ffmpeg/examples/README +} diff --git a/uselessPorts/ffmpeg/lastVersion.sh b/uselessPorts/ffmpeg/lastVersion.sh new file mode 100755 index 0000000..3601df1 --- /dev/null +++ b/uselessPorts/ffmpeg/lastVersion.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +grep '^version=' /usr/ports/*/ffmpeg/Pkgfile | \ + cut -d= -f2 | \ + sort -V | \ + tail -n1 diff --git a/uselessPorts/ffmpeg/libvpx-1.5-compat.patch b/uselessPorts/ffmpeg/libvpx-1.5-compat.patch new file mode 100644 index 0000000..62599e4 --- /dev/null +++ b/uselessPorts/ffmpeg/libvpx-1.5-compat.patch @@ -0,0 +1,22 @@ +--- a/libavcodec/libvpxenc.c ++++ b/libavcodec/libvpxenc.c +@@ -104,19 +104,11 @@ typedef struct VP8EncoderContext { + + /** String mappings for enum vp8e_enc_control_id */ + static const char *const ctlidstr[] = { +- [VP8E_UPD_ENTROPY] = "VP8E_UPD_ENTROPY", +- [VP8E_UPD_REFERENCE] = "VP8E_UPD_REFERENCE", +- [VP8E_USE_REFERENCE] = "VP8E_USE_REFERENCE", +- [VP8E_SET_ROI_MAP] = "VP8E_SET_ROI_MAP", +- [VP8E_SET_ACTIVEMAP] = "VP8E_SET_ACTIVEMAP", +- [VP8E_SET_SCALEMODE] = "VP8E_SET_SCALEMODE", + [VP8E_SET_CPUUSED] = "VP8E_SET_CPUUSED", + [VP8E_SET_ENABLEAUTOALTREF] = "VP8E_SET_ENABLEAUTOALTREF", + [VP8E_SET_NOISE_SENSITIVITY] = "VP8E_SET_NOISE_SENSITIVITY", +- [VP8E_SET_SHARPNESS] = "VP8E_SET_SHARPNESS", + [VP8E_SET_STATIC_THRESHOLD] = "VP8E_SET_STATIC_THRESHOLD", + [VP8E_SET_TOKEN_PARTITIONS] = "VP8E_SET_TOKEN_PARTITIONS", +- [VP8E_GET_LAST_QUANTIZER] = "VP8E_GET_LAST_QUANTIZER", + [VP8E_SET_ARNR_MAXFRAMES] = "VP8E_SET_ARNR_MAXFRAMES", + [VP8E_SET_ARNR_STRENGTH] = "VP8E_SET_ARNR_STRENGTH", + [VP8E_SET_ARNR_TYPE] = "VP8E_SET_ARNR_TYPE", |