diff options
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/mencoder/Makefile | 8 | ||||
-rw-r--r-- | multimedia/mencoder/distinfo | 6 | ||||
-rw-r--r-- | multimedia/mplayer/Makefile | 10 | ||||
-rw-r--r-- | multimedia/mplayer/Makefile.common (renamed from multimedia/mplayer/Makefile.shared) | 14 | ||||
-rw-r--r-- | multimedia/mplayer/distinfo | 6 | ||||
-rw-r--r-- | multimedia/mplayer/files/patch-Makefile | 6 | ||||
-rw-r--r-- | multimedia/mplayer/files/patch-configure | 47 | ||||
-rw-r--r-- | multimedia/mplayer/files/patch-ffmpeg_Makefile (renamed from multimedia/mplayer/files/patch-ffmpeg-Makefile) | 6 | ||||
-rw-r--r-- | multimedia/mplayer/files/patch-ffmpeg_libavcodec_Makefile (renamed from multimedia/mplayer/files/patch-libavcodec-Makefile) | 8 | ||||
-rw-r--r-- | multimedia/mplayer/files/patch-ffmpeg_libavcodec_arm_fft__vfp.S (renamed from multimedia/mplayer/files/patch-libavcodec-arm-fft_vfp.S) | 6 | ||||
-rw-r--r-- | multimedia/mplayer/files/patch-ffmpeg_libavcodec_libgsmdec.c (renamed from multimedia/mplayer/files/patch-libavcodec-libgsmdec.c) | 4 | ||||
-rw-r--r-- | multimedia/mplayer/files/patch-ffmpeg_libavcodec_libgsmenc.c (renamed from multimedia/mplayer/files/patch-libavcodec-libgsmenc.c) | 4 | ||||
-rw-r--r-- | multimedia/mplayer/files/patch-ffmpeg_libavcodec_mpegaudio__parser.c (renamed from multimedia/mplayer/files/patch-libavcodec-mpegaudio_parser.c) | 6 | ||||
-rw-r--r-- | multimedia/mplayer/files/patch-ffmpeg_libavfilter_Makefile | 10 | ||||
-rw-r--r-- | multimedia/mplayer/files/patch-ffmpeg_libavformat_udp.c (renamed from multimedia/mplayer/files/patch-libavformat-udp.c) | 4 | ||||
-rw-r--r-- | multimedia/mplayer/files/patch-ffmpeg_libavutil_mem.c | 11 | ||||
-rw-r--r-- | multimedia/mplayer/files/patch-ffmpeg_libavutil_x86_asm.h (renamed from multimedia/mplayer/files/patch-libavutil-x86-asm.h) | 6 | ||||
-rw-r--r-- | multimedia/mplayer/files/patch-gui_wm_ws.c (renamed from multimedia/mplayer/files/patch-gui_ws_ws.c) | 6 | ||||
-rw-r--r-- | multimedia/mplayer/files/patch-libao2_ao__arts.c (renamed from multimedia/mplayer/files/patch-libao2-ao_arts.c) | 6 | ||||
-rw-r--r-- | multimedia/mplayer/files/patch-libao2_ao__oss.c (renamed from multimedia/mplayer/files/patch-libao2-ao_oss.c) | 16 | ||||
-rw-r--r-- | multimedia/mplayer/files/patch-libavfilter-Makefile | 10 | ||||
-rw-r--r-- | multimedia/mplayer/files/patch-libvo_x11__common.c (renamed from multimedia/mplayer/files/patch-libvo-x11_common.c) | 6 | ||||
-rw-r--r-- | multimedia/mplayer/files/patch-mplayer.c | 6 | ||||
-rw-r--r-- | multimedia/mplayer/files/patch-stream-stream_cdda.c | 13 | ||||
-rw-r--r-- | multimedia/mplayer/files/patch-stream_tvi__bsdbt848.c (renamed from multimedia/mplayer/files/patch-stream-tvi_bsdbt848.c) | 20 | ||||
-rw-r--r-- | multimedia/mplayer/files/patch-stream_tvi__v4l.c (renamed from multimedia/mplayer/files/patch-stream-tvi_v4l.c) | 8 | ||||
-rw-r--r-- | multimedia/mplayer/files/patch-stream_tvi__v4l2.c (renamed from multimedia/mplayer/files/patch-stream-tvi_v4l2.c) | 12 | ||||
-rw-r--r-- | multimedia/mplayer/files/patch-vidix_mga__vid.c (renamed from multimedia/mplayer/files/patch-vidix-mga_vid.c) | 6 |
28 files changed, 136 insertions, 135 deletions
diff --git a/multimedia/mencoder/Makefile b/multimedia/mencoder/Makefile index 49f953675e98..08715f2a84e1 100644 --- a/multimedia/mencoder/Makefile +++ b/multimedia/mencoder/Makefile @@ -3,11 +3,12 @@ PORTNAME= mencoder PORTVERSION= ${MPLAYER_PORT_VERSION} -PORTREVISION= 2 +CATEGORIES= multimedia audio +MAINTAINER= riggs@FreeBSD.org COMMENT= Convenient video file and movie encoder -.include "${.CURDIR}/../mplayer/Makefile.shared" +.include "${.CURDIR}/../mplayer/Makefile.common" OPTIONS_DEFINE= AMR_NB AMR_WB BLURAY CDIO DEBUG DV FAAC FONTCONFIG \ FRIBIDI GIF GNUTLS GSM IPV6 JACK LADSPA LIBMNG LZO \ @@ -79,6 +80,9 @@ pre-everything:: @${ECHO_MSG} "DEFAULT_DVD_DEVICE=${DEFAULT_DVD_DEVICE}" @${ECHO_MSG} "DEFAULT_CDROM_DEVICE=${DEFAULT_CDROM_DEVICE}" +pre-patch: + ${MV} ${WRKDIR}/ffmpeg-${FFMPEG_VERSION} ${WRKSRC}/ffmpeg + post-patch: .if ${OSVERSION} >= 900010 @${REINPLACE_CMD} -e \ diff --git a/multimedia/mencoder/distinfo b/multimedia/mencoder/distinfo index 9ae471439ae1..9218cb72ebce 100644 --- a/multimedia/mencoder/distinfo +++ b/multimedia/mencoder/distinfo @@ -1,2 +1,4 @@ -SHA256 (mplayer-1.1.20150403.tar.xz) = 910c2c6fda92f5883e09f34c39ca314aa5a815fa1c224e5c072bde82339f6db3 -SIZE (mplayer-1.1.20150403.tar.xz) = 11552096 +SHA256 (ffmpeg-2.7.2.tar.bz2) = 7ceb7550ad628c526fa6c9ff23fdfb687a62f54d90c4a730998d8c2b417b9ef2 +SIZE (ffmpeg-2.7.2.tar.bz2) = 8157217 +SHA256 (mplayer-1.1.20150822.tar.xz) = a01e31b8a54f61d37bdeddd5c3514956c1c6366b65e3e67c25c828c47c98d9f7 +SIZE (mplayer-1.1.20150822.tar.xz) = 5162400 diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile index ff77c440adf3..af8ab0ea1501 100644 --- a/multimedia/mplayer/Makefile +++ b/multimedia/mplayer/Makefile @@ -3,15 +3,16 @@ PORTNAME= mplayer PORTVERSION= ${MPLAYER_PORT_VERSION} -PORTREVISION= 4 +CATEGORIES= multimedia audio +MAINTAINER= riggs@FreeBSD.org COMMENT= High performance media player supporting many formats -.include "${.CURDIR}/Makefile.shared" +.include "${.CURDIR}/Makefile.common" OPTIONS_DEFINE= AALIB AMR_NB AMR_WB BLURAY CACA CDIO DEBUG DV \ ENCA FONTCONFIG FRIBIDI GIF GNUTLS GSM GUI IPV6 JACK \ - LADSPA LIBMNG LIRC LZO NAS OCFLAGS OPENAL OPENGL \ + LADSPA LIBMNG LIRC LZO NAS OCFLAGS OPENAL OPENGL \ OPENJPEG OPUS PULSEAUDIO REAL RTC RTCPU RTMP \ SCHROEDINGER SDL SKINS SMB SVGALIB V4L VDPAU VPX \ X11 X11DGA X11VM XINERAMA XVIDEO XVMC @@ -121,6 +122,9 @@ pre-everything:: @${ECHO_MSG} "http://www.mplayerhq.hu/" .endif +pre-patch: + ${MV} ${WRKDIR}/ffmpeg-${FFMPEG_VERSION} ${WRKSRC}/ffmpeg + post-patch: .if ${OSVERSION} >= 900010 @${REINPLACE_CMD} -e \ diff --git a/multimedia/mplayer/Makefile.shared b/multimedia/mplayer/Makefile.common index 6335101c4269..11b893dc52e9 100644 --- a/multimedia/mplayer/Makefile.shared +++ b/multimedia/mplayer/Makefile.common @@ -4,16 +4,18 @@ # # $FreeBSD$ -MPLAYER_SNAPSHOT_DATE= 2015-04-03 +MPLAYER_SNAPSHOT_DATE= 2015-08-22 MPLAYER_PORT_VERSION= 1.1.r${MPLAYER_SNAPSHOT_DATE:S/-//g} -CATEGORIES?= multimedia audio -MASTER_SITES= LOCAL/riggs/mplayer +FFMPEG_VERSION= 2.7.2 +MASTER_SITES= LOCAL/riggs/mplayer:local \ + http://ffmpeg.org/releases/:ffmpeg +DISTFILES+= ffmpeg-${FFMPEG_VERSION}.tar.bz2:ffmpeg \ + ${DISTNAME}.tar.xz:local DISTNAME= mplayer-${MPLAYER_PORT_VERSION:S/.r/./g} WRKSRC= ${WRKDIR}/mplayer-export-${MPLAYER_SNAPSHOT_DATE} -MAINTAINER?= riggs@FreeBSD.org - LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ libfreetype.so:${PORTSDIR}/print/freetype2 \ @@ -21,7 +23,7 @@ LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ BUILD_DEPENDS= ${LOCALBASE}/bin/yasm:${PORTSDIR}/devel/yasm -USES= compiler:c11 gmake iconv ncurses tar:xz +USES= compiler:c11 gmake iconv ncurses tar:bzip2 tar:xz GNU_CONFIGURE= yes CONFIGURE_ENV= TMPDIR="${WRKSRC}" CONFIGURE_ARGS= --cc="${CC}" \ diff --git a/multimedia/mplayer/distinfo b/multimedia/mplayer/distinfo index 9ae471439ae1..9218cb72ebce 100644 --- a/multimedia/mplayer/distinfo +++ b/multimedia/mplayer/distinfo @@ -1,2 +1,4 @@ -SHA256 (mplayer-1.1.20150403.tar.xz) = 910c2c6fda92f5883e09f34c39ca314aa5a815fa1c224e5c072bde82339f6db3 -SIZE (mplayer-1.1.20150403.tar.xz) = 11552096 +SHA256 (ffmpeg-2.7.2.tar.bz2) = 7ceb7550ad628c526fa6c9ff23fdfb687a62f54d90c4a730998d8c2b417b9ef2 +SIZE (ffmpeg-2.7.2.tar.bz2) = 8157217 +SHA256 (mplayer-1.1.20150822.tar.xz) = a01e31b8a54f61d37bdeddd5c3514956c1c6366b65e3e67c25c828c47c98d9f7 +SIZE (mplayer-1.1.20150822.tar.xz) = 5162400 diff --git a/multimedia/mplayer/files/patch-Makefile b/multimedia/mplayer/files/patch-Makefile index 57a9879fe52c..cbb2a29c7565 100644 --- a/multimedia/mplayer/files/patch-Makefile +++ b/multimedia/mplayer/files/patch-Makefile @@ -1,6 +1,6 @@ ---- Makefile.orig 2012-03-03 17:45:15.000000000 +0100 -+++ Makefile 2012-03-22 15:26:08.719328325 +0100 -@@ -904,20 +904,17 @@ +--- Makefile.orig 2015-06-03 11:58:05 UTC ++++ Makefile +@@ -855,20 +855,17 @@ $(VIDIX_OBJS): $(VIDIX_PCI_FILES) install: $(INSTALL_TARGETS-yes) install-dirs: diff --git a/multimedia/mplayer/files/patch-configure b/multimedia/mplayer/files/patch-configure index 8bbd97b6da6f..cf4c421ece4e 100644 --- a/multimedia/mplayer/files/patch-configure +++ b/multimedia/mplayer/files/patch-configure @@ -1,6 +1,6 @@ ---- configure.orig 2014-12-17 22:02:44.000000000 +0100 -+++ configure 2015-03-28 13:56:41.340987552 +0100 -@@ -646,7 +646,7 @@ +--- configure.orig 2015-08-02 17:29:05 UTC ++++ configure +@@ -646,7 +646,7 @@ armthumb=auto _iwmmxt=auto _mtrr=auto _altivec=auto @@ -9,7 +9,7 @@ _ranlib=ranlib _windres=windres _cc=cc -@@ -988,7 +988,7 @@ +@@ -988,7 +988,7 @@ for ac_option do ld_static='' ;; --enable-profile) @@ -18,7 +18,7 @@ ;; --disable-profile) _profile= -@@ -1459,7 +1459,6 @@ +@@ -1459,7 +1459,6 @@ for ac_option do *) echo "Unknown parameter: $ac_option" @@ -26,7 +26,7 @@ ;; esac -@@ -1712,7 +1711,7 @@ +@@ -1712,7 +1711,7 @@ if test -z "$_target" ; then case "$1" in x86_64|amd64|i[3-9]86*|i86pc|x86|x86pc|k5|k6|k6_2|k6_3|k6-2|k6-3|pentium*|athlon*|i586_i686|i586-i686) host_arch=i386 ;; ia64) host_arch=ia64 ;; @@ -35,7 +35,7 @@ alpha) host_arch=alpha ;; sun4*|sparc*) host_arch=sparc ;; parisc*|hppa*|9000*) host_arch=hppa ;; -@@ -1834,7 +1833,11 @@ +@@ -1835,7 +1834,11 @@ echocheck "working compiler" cflag_check "" || die "Compiler is not functioning correctly. Check your installation and custom CFLAGS $CFLAGS ." echo "yes" @@ -48,7 +48,7 @@ if test -z "$_target" ; then cat > $TMPC << EOF -@@ -3164,6 +3167,13 @@ +@@ -3170,6 +3173,13 @@ if arm ; then fi echores "$setend" @@ -62,7 +62,7 @@ echocheck "softfloat ABI" softfloat=yes cpp_condition_check '' 'defined(__ARM_PCS_VFP) || (!defined(__ARM_PCS) && !defined(__SOFTFP__))' && softfloat=no -@@ -3914,7 +3924,7 @@ +@@ -3920,7 +3930,7 @@ echocheck "pthread" if linux ; then THREAD_CFLAGS=-D_REENTRANT elif freebsd || netbsd || openbsd || bsdos ; then @@ -71,7 +71,7 @@ fi if test "$_pthreads" = auto ; then cat > $TMPC << EOF -@@ -3924,7 +3934,7 @@ +@@ -3930,7 +3940,7 @@ int main(void) { pthread_t tid; return p EOF _pthreads=no if ! hpux ; then @@ -80,7 +80,7 @@ # for crosscompilation, we cannot execute the program, be happy if we can link statically cc_check $THREAD_CFLAGS $ld_tmp && (tmp_run || test "$ld_static") && ld_pthread="$ld_tmp" && _pthreads=yes && break done -@@ -4076,7 +4086,7 @@ +@@ -4082,7 +4092,7 @@ EOF # NOTE: -L/usr/lib is a hack to avoid issues due to a # broken libiconv that e.g. macports installs into /opt/local/lib # which might get addded to the search path later by e.g. SDL @@ -89,7 +89,7 @@ cc_check $ld_tmp && extra_ldflags="$extra_ldflags $ld_tmp" && ld_iconv="$ld_tmp" && _iconv=yes && break done -@@ -5474,15 +5484,6 @@ +@@ -5484,15 +5494,6 @@ EOF break fi done @@ -105,7 +105,7 @@ if win32 && cc_check -DGL_WIN32 -lopengl32 ; then _gl=yes _gl_win32=yes -@@ -6046,7 +6047,7 @@ +@@ -6056,7 +6057,7 @@ elif darwin ; then elif dragonfly ; then default_cdrom_device="/dev/cd0" elif freebsd ; then @@ -114,7 +114,7 @@ elif openbsd ; then default_cdrom_device="/dev/rcd0c" elif sunos ; then -@@ -6059,7 +6060,7 @@ +@@ -6069,7 +6070,7 @@ else default_cdrom_device="/dev/cdrom" fi @@ -123,18 +123,7 @@ default_dvd_device=$default_cdrom_device elif darwin ; then default_dvd_device="/dev/rdiskN" -@@ -6133,8 +6134,8 @@ - cat > $TMPC << EOF - #include <stdio.h> - #include <cdio/version.h> --#include <cdio/cdda.h> --#include <cdio/paranoia.h> -+#include <cdio/paranoia/cdda.h> -+#include <cdio/paranoia/paranoia.h> - int main(void) { - void *test = cdda_verbose_set; - printf("%s\n", CDIO_VERSION); -@@ -6566,7 +6567,7 @@ +@@ -6586,7 +6587,7 @@ echores "$_speex" echocheck "libgsm" if test "$_libgsm" = auto ; then _libgsm=no @@ -143,7 +132,7 @@ fi if test "$_libgsm" = yes ; then def_libgsm='#define CONFIG_LIBGSM 1' -@@ -7051,6 +7052,16 @@ +@@ -7071,6 +7072,16 @@ if test "$_librtmp" = yes && test "$netw nolibrtmp=no def_librtmp='#define CONFIG_LIBRTMP 1' inputmodules="librtmp $inputmodules" @@ -160,7 +149,7 @@ else nolibrtmp=yes _librtmp=no -@@ -7450,7 +7461,7 @@ +@@ -7471,7 +7482,7 @@ echores "$_mp3lame" echocheck "mencoder" if test "$_mencoder" = no ; then # mpeg1video for vf_lavc, snow for vf_uspp / vf_mcdeint, @@ -169,7 +158,7 @@ fi echores "$_mencoder" -@@ -8329,7 +8340,7 @@ +@@ -8353,7 +8364,7 @@ TIMER = $_timer EXESUF = $_exesuf EXESUFS_ALL = .exe diff --git a/multimedia/mplayer/files/patch-ffmpeg-Makefile b/multimedia/mplayer/files/patch-ffmpeg_Makefile index 04df63bb0efa..e83418d6dd18 100644 --- a/multimedia/mplayer/files/patch-ffmpeg-Makefile +++ b/multimedia/mplayer/files/patch-ffmpeg_Makefile @@ -1,6 +1,6 @@ ---- ffmpeg/Makefile.orig 2014-07-22 19:20:06.000000000 +0200 -+++ ffmpeg/Makefile 2014-08-11 20:49:48.038911362 +0200 -@@ -91,7 +91,7 @@ +--- ffmpeg/Makefile.orig 2015-06-19 20:44:35 UTC ++++ ffmpeg/Makefile +@@ -92,7 +92,7 @@ define DOSUBDIR $(foreach V,$(SUBDIR_VARS),$(eval $(call RESET,$(V)))) SUBDIR := $(1)/ include $(SRC_PATH)/$(1)/Makefile diff --git a/multimedia/mplayer/files/patch-libavcodec-Makefile b/multimedia/mplayer/files/patch-ffmpeg_libavcodec_Makefile index 38df12736345..9103a5db9e33 100644 --- a/multimedia/mplayer/files/patch-libavcodec-Makefile +++ b/multimedia/mplayer/files/patch-ffmpeg_libavcodec_Makefile @@ -1,11 +1,11 @@ ---- ffmpeg/libavcodec/Makefile.orig 2015-04-02 19:20:07.000000000 +0200 -+++ ffmpeg/libavcodec/Makefile 2015-04-03 13:25:18.741269686 +0200 -@@ -865,7 +865,7 @@ +--- ffmpeg/libavcodec/Makefile.orig 2015-06-19 20:44:36 UTC ++++ ffmpeg/libavcodec/Makefile +@@ -877,7 +877,7 @@ SKIPHEADERS + old_codec_ids.h \ tableprint.h \ tableprint_vlc.h \ - $(ARCH)/vp56_arith.h \ + $(MPLAYER_ARCH)/vp56_arith.h \ + SKIPHEADERS-$(CONFIG_D3D11VA) += d3d11va.h dxva2_internal.h SKIPHEADERS-$(CONFIG_DXVA2) += dxva2.h dxva2_internal.h - SKIPHEADERS-$(CONFIG_LIBSCHROEDINGER) += libschroedinger.h diff --git a/multimedia/mplayer/files/patch-libavcodec-arm-fft_vfp.S b/multimedia/mplayer/files/patch-ffmpeg_libavcodec_arm_fft__vfp.S index 0dffa38630ce..c9ed1e50ad7b 100644 --- a/multimedia/mplayer/files/patch-libavcodec-arm-fft_vfp.S +++ b/multimedia/mplayer/files/patch-ffmpeg_libavcodec_arm_fft__vfp.S @@ -1,6 +1,6 @@ ---- ffmpeg/libavcodec/arm/fft_vfp.S.orig 2014-12-09 19:20:07.000000000 +0100 -+++ ffmpeg/libavcodec/arm/fft_vfp.S 2014-12-24 15:48:09.494735677 +0100 -@@ -33,7 +33,7 @@ +--- ffmpeg/libavcodec/arm/fft_vfp.S.orig 2015-06-19 20:44:37 UTC ++++ ffmpeg/libavcodec/arm/fft_vfp.S +@@ -33,7 +33,7 @@ function ff_fft_calc_vfp, export=1 movrel a2, (fft_tab_vfp - 8) ldr pc, [a2, ip, lsl #2] endfunc diff --git a/multimedia/mplayer/files/patch-libavcodec-libgsmdec.c b/multimedia/mplayer/files/patch-ffmpeg_libavcodec_libgsmdec.c index f0b78f6d2bea..4416aa71dfe5 100644 --- a/multimedia/mplayer/files/patch-libavcodec-libgsmdec.c +++ b/multimedia/mplayer/files/patch-ffmpeg_libavcodec_libgsmdec.c @@ -1,5 +1,5 @@ ---- ffmpeg/libavcodec/libgsmdec.c.orig 2014-07-21 19:20:03.000000000 +0200 -+++ ffmpeg/libavcodec/libgsmdec.c 2014-08-15 11:02:55.987422815 +0200 +--- ffmpeg/libavcodec/libgsmdec.c.orig 2015-06-19 20:44:39 UTC ++++ ffmpeg/libavcodec/libgsmdec.c @@ -28,11 +28,7 @@ // The idiosyncrasies of GSM-in-WAV are explained at http://kbs.cs.tu-berlin.de/~jutta/toast.html diff --git a/multimedia/mplayer/files/patch-libavcodec-libgsmenc.c b/multimedia/mplayer/files/patch-ffmpeg_libavcodec_libgsmenc.c index 1e331ad4c5cd..c99f4c6c2263 100644 --- a/multimedia/mplayer/files/patch-libavcodec-libgsmenc.c +++ b/multimedia/mplayer/files/patch-ffmpeg_libavcodec_libgsmenc.c @@ -1,5 +1,5 @@ ---- ffmpeg/libavcodec/libgsmenc.c.orig 2014-08-15 11:02:02.619426519 +0200 -+++ ffmpeg/libavcodec/libgsmenc.c 2014-08-15 11:02:28.587424476 +0200 +--- ffmpeg/libavcodec/libgsmenc.c.orig 2015-06-19 20:44:39 UTC ++++ ffmpeg/libavcodec/libgsmenc.c @@ -28,11 +28,7 @@ // The idiosyncrasies of GSM-in-WAV are explained at http://kbs.cs.tu-berlin.de/~jutta/toast.html diff --git a/multimedia/mplayer/files/patch-libavcodec-mpegaudio_parser.c b/multimedia/mplayer/files/patch-ffmpeg_libavcodec_mpegaudio__parser.c index 6bbc91a76e6e..8fb12617e5e2 100644 --- a/multimedia/mplayer/files/patch-libavcodec-mpegaudio_parser.c +++ b/multimedia/mplayer/files/patch-ffmpeg_libavcodec_mpegaudio__parser.c @@ -1,6 +1,6 @@ ---- ffmpeg/libavcodec/mpegaudio_parser.c.orig 2014-02-12 19:20:06.000000000 +0100 -+++ ffmpeg/libavcodec/mpegaudio_parser.c 2014-04-19 14:39:15.514132783 +0200 -@@ -83,6 +83,7 @@ +--- ffmpeg/libavcodec/mpegaudio_parser.c.orig 2015-06-19 20:44:40 UTC ++++ ffmpeg/libavcodec/mpegaudio_parser.c +@@ -84,6 +84,7 @@ static int mpegaudio_parse(AVCodecParser avctx->sample_rate= sr; avctx->channels = channels; s1->duration = frame_size; diff --git a/multimedia/mplayer/files/patch-ffmpeg_libavfilter_Makefile b/multimedia/mplayer/files/patch-ffmpeg_libavfilter_Makefile new file mode 100644 index 000000000000..304850bd3cce --- /dev/null +++ b/multimedia/mplayer/files/patch-ffmpeg_libavfilter_Makefile @@ -0,0 +1,10 @@ +--- ffmpeg/libavfilter/Makefile.orig 2015-06-19 20:44:50 UTC ++++ ffmpeg/libavfilter/Makefile +@@ -26,6 +26,7 @@ OBJS = allfilters.o + transform.o \ + video.o \ + ++-include $(SRC_PATH)/$(SUBDIR)$(MPLAYER_ARCH)/Makefile + + OBJS-$(CONFIG_AVCODEC) += avcodec.o + diff --git a/multimedia/mplayer/files/patch-libavformat-udp.c b/multimedia/mplayer/files/patch-ffmpeg_libavformat_udp.c index 1015e1c028e1..e2378b8906fb 100644 --- a/multimedia/mplayer/files/patch-libavformat-udp.c +++ b/multimedia/mplayer/files/patch-ffmpeg_libavformat_udp.c @@ -1,5 +1,5 @@ ---- ffmpeg/libavformat/udp.c.orig 2015-03-30 19:20:06.000000000 +0200 -+++ ffmpeg/libavformat/udp.c 2015-04-03 13:29:34.228251670 +0200 +--- ffmpeg/libavformat/udp.c.orig 2015-06-19 20:44:53 UTC ++++ ffmpeg/libavformat/udp.c @@ -71,6 +71,8 @@ #define UDP_MAX_PKT_SIZE 65536 #define UDP_HEADER_SIZE 8 diff --git a/multimedia/mplayer/files/patch-ffmpeg_libavutil_mem.c b/multimedia/mplayer/files/patch-ffmpeg_libavutil_mem.c new file mode 100644 index 000000000000..58dd9ae4d0d3 --- /dev/null +++ b/multimedia/mplayer/files/patch-ffmpeg_libavutil_mem.c @@ -0,0 +1,11 @@ +--- ffmpeg/libavutil/mem.c.orig 2015-08-23 16:08:16 UTC ++++ ffmpeg/libavutil/mem.c +@@ -228,7 +228,7 @@ void av_free(void *ptr) + #if CONFIG_MEMALIGN_HACK + if (ptr) { + int v= ((char *)ptr)[-1]; +- av_assert0(v>0 && v<=ALIGN); ++ av_assert0(v>=0 && v<=ALIGN); + free((char *)ptr - v); + } + #elif HAVE_ALIGNED_MALLOC diff --git a/multimedia/mplayer/files/patch-libavutil-x86-asm.h b/multimedia/mplayer/files/patch-ffmpeg_libavutil_x86_asm.h index a8d072620f4b..235c39e9acc0 100644 --- a/multimedia/mplayer/files/patch-libavutil-x86-asm.h +++ b/multimedia/mplayer/files/patch-ffmpeg_libavutil_x86_asm.h @@ -1,6 +1,6 @@ ---- ffmpeg/libavutil/x86/asm.h.orig 2013-05-25 19:20:04.000000000 +0200 -+++ ffmpeg/libavutil/x86/asm.h 2013-11-11 21:51:57.940269764 +0100 -@@ -70,7 +70,7 @@ +--- ffmpeg/libavutil/x86/asm.h.orig 2015-06-19 20:44:54 UTC ++++ ffmpeg/libavutil/x86/asm.h +@@ -71,7 +71,7 @@ typedef int32_t x86_reg; typedef int x86_reg; #endif diff --git a/multimedia/mplayer/files/patch-gui_ws_ws.c b/multimedia/mplayer/files/patch-gui_wm_ws.c index 0a9e87701ebd..50bdecf5972f 100644 --- a/multimedia/mplayer/files/patch-gui_ws_ws.c +++ b/multimedia/mplayer/files/patch-gui_wm_ws.c @@ -1,6 +1,6 @@ ---- gui/wm/ws.c.orig 2013-08-03 00:42:05.000000000 +0200 -+++ gui/wm/ws.c 2013-12-16 10:13:26.000000000 +0100 -@@ -1322,6 +1322,7 @@ +--- gui/wm/ws.c.orig 2015-08-01 07:44:07 UTC ++++ gui/wm/ws.c +@@ -1322,6 +1322,7 @@ void wsImageCreate(wsWindow *win, int w, win->xImage->data = win->Shminfo.shmaddr; win->Shminfo.readOnly = False; XShmAttach(wsDisplay, &win->Shminfo); diff --git a/multimedia/mplayer/files/patch-libao2-ao_arts.c b/multimedia/mplayer/files/patch-libao2_ao__arts.c index 23c4ee37fe6f..bb60b76cba3f 100644 --- a/multimedia/mplayer/files/patch-libao2-ao_arts.c +++ b/multimedia/mplayer/files/patch-libao2_ao__arts.c @@ -1,6 +1,6 @@ ---- libao2/ao_arts.c.orig 2009-03-06 13:43:12.000000000 -0600 -+++ libao2/ao_arts.c 2009-07-23 19:57:44.090958744 -0500 -@@ -116,8 +116,10 @@ +--- libao2/ao_arts.c.orig 2010-02-20 21:02:49 UTC ++++ libao2/ao_arts.c +@@ -116,8 +116,10 @@ static int init(int rate_hz, int channel static void uninit(int immed) { diff --git a/multimedia/mplayer/files/patch-libao2-ao_oss.c b/multimedia/mplayer/files/patch-libao2_ao__oss.c index f6707dd6f115..5fb37646be38 100644 --- a/multimedia/mplayer/files/patch-libao2-ao_oss.c +++ b/multimedia/mplayer/files/patch-libao2_ao__oss.c @@ -1,6 +1,6 @@ ---- libao2/ao_oss.c.orig 2010-01-11 21:27:52.000000000 +0100 -+++ libao2/ao_oss.c 2011-12-29 01:06:49.227522915 +0100 -@@ -56,6 +56,8 @@ +--- libao2/ao_oss.c.orig 2013-03-17 22:47:17 UTC ++++ libao2/ao_oss.c +@@ -57,6 +57,8 @@ static const ao_info_t info = "" }; @@ -9,7 +9,7 @@ /* Support for >2 output channels added 2001-11-25 - Steve Davies <steve@daviesfam.org> */ LIBAO_EXTERN(oss) -@@ -72,6 +74,11 @@ +@@ -73,6 +75,11 @@ static int format2oss(int format) case AF_FORMAT_S16_BE: return AFMT_S16_BE; #ifdef AFMT_S24_PACKED case AF_FORMAT_S24_LE: return AFMT_S24_PACKED; @@ -21,7 +21,7 @@ #endif #ifdef AFMT_U32_LE case AF_FORMAT_U32_LE: return AFMT_U32_LE; -@@ -115,6 +122,11 @@ +@@ -116,6 +123,11 @@ static int oss2format(int format) case AFMT_S16_BE: return AF_FORMAT_S16_BE; #ifdef AFMT_S24_PACKED case AFMT_S24_PACKED: return AF_FORMAT_S24_LE; @@ -33,7 +33,7 @@ #endif #ifdef AFMT_U32_LE case AFMT_U32_LE: return AF_FORMAT_U32_LE; -@@ -434,9 +446,29 @@ +@@ -435,9 +447,29 @@ static void uninit(int immed){ audio_fd = -1; } @@ -63,7 +63,7 @@ uninit(1); audio_fd=open(dsp, O_WRONLY); if(audio_fd < 0){ -@@ -448,6 +480,7 @@ +@@ -449,6 +481,7 @@ static void reset(void){ fcntl(audio_fd, F_SETFD, FD_CLOEXEC); #endif @@ -71,7 +71,7 @@ oss_format = format2oss(ao_data.format); if(AF_FORMAT_IS_AC3(ao_data.format)) ioctl (audio_fd, SNDCTL_DSP_SPEED, &ao_data.samplerate); -@@ -459,13 +492,14 @@ +@@ -460,13 +493,14 @@ static void reset(void){ int c = ao_data.channels-1; ioctl (audio_fd, SNDCTL_DSP_STEREO, &c); } diff --git a/multimedia/mplayer/files/patch-libavfilter-Makefile b/multimedia/mplayer/files/patch-libavfilter-Makefile deleted file mode 100644 index a825ed3e0eee..000000000000 --- a/multimedia/mplayer/files/patch-libavfilter-Makefile +++ /dev/null @@ -1,10 +0,0 @@ ---- ffmpeg/libavfilter/Makefile.orig 2012-03-21 19:20:05.000000000 +0100 -+++ ffmpeg/libavfilter/Makefile 2012-03-22 16:09:31.826872990 +0100 -@@ -167,6 +167,7 @@ - OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_yvu9.o - OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/pullup.o - -+-include $(SRC_PATH)/$(SUBDIR)$(MPLAYER_ARCH)/Makefile - - DIRS = x86 libmpcodecs - diff --git a/multimedia/mplayer/files/patch-libvo-x11_common.c b/multimedia/mplayer/files/patch-libvo_x11__common.c index b0de8353bd4f..15172a9479d4 100644 --- a/multimedia/mplayer/files/patch-libvo-x11_common.c +++ b/multimedia/mplayer/files/patch-libvo_x11__common.c @@ -1,6 +1,6 @@ ---- libvo/x11_common.c.orig 2014-02-08 21:39:02.000000000 +0100 -+++ libvo/x11_common.c 2014-04-19 14:43:53.715749607 +0200 -@@ -430,7 +430,7 @@ +--- libvo/x11_common.c.orig 2015-05-11 20:10:01 UTC ++++ libvo/x11_common.c +@@ -430,7 +430,7 @@ int vo_init(void) } // Required so that XLookupString returns UTF-8 diff --git a/multimedia/mplayer/files/patch-mplayer.c b/multimedia/mplayer/files/patch-mplayer.c index 8fa3358f3950..afbc56b126f5 100644 --- a/multimedia/mplayer/files/patch-mplayer.c +++ b/multimedia/mplayer/files/patch-mplayer.c @@ -1,6 +1,6 @@ ---- mplayer.c.orig 2014-04-06 20:46:45.000000000 +0200 -+++ mplayer.c 2014-06-07 14:40:43.756655422 +0200 -@@ -3707,7 +3707,8 @@ +--- mplayer.c.orig 2015-06-10 21:17:35 UTC ++++ mplayer.c +@@ -3711,7 +3711,8 @@ goto_enable_cache: if (use_gui) { if (!gui(GUI_SET_VIDEO, mpctx->sh_video)) goto goto_next_file; diff --git a/multimedia/mplayer/files/patch-stream-stream_cdda.c b/multimedia/mplayer/files/patch-stream-stream_cdda.c deleted file mode 100644 index d27b6e4b1d04..000000000000 --- a/multimedia/mplayer/files/patch-stream-stream_cdda.c +++ /dev/null @@ -1,13 +0,0 @@ ---- stream/stream_cdda.c.orig 2013-12-02 15:30:21.000000000 +0100 -+++ stream/stream_cdda.c 2015-01-24 15:44:33.095742583 +0100 -@@ -21,8 +21,8 @@ - #include <cdda_interface.h> - #include <cdda_paranoia.h> - #else --#include <cdio/cdda.h> --#include <cdio/paranoia.h> -+#include <cdio/paranoia/cdda.h> -+#include <cdio/paranoia/paranoia.h> - #endif - #include <stdio.h> - #include <stdlib.h> diff --git a/multimedia/mplayer/files/patch-stream-tvi_bsdbt848.c b/multimedia/mplayer/files/patch-stream_tvi__bsdbt848.c index 1cf316de4faa..5e5422e2e3e0 100644 --- a/multimedia/mplayer/files/patch-stream-tvi_bsdbt848.c +++ b/multimedia/mplayer/files/patch-stream_tvi__bsdbt848.c @@ -1,6 +1,6 @@ ---- stream/tvi_bsdbt848.c.orig 2013-03-16 11:15:07.000000000 +0100 -+++ stream/tvi_bsdbt848.c 2013-11-09 13:47:43.804868208 +0100 -@@ -366,11 +366,11 @@ +--- stream/tvi_bsdbt848.c.orig 2013-03-16 10:15:07 UTC ++++ stream/tvi_bsdbt848.c +@@ -366,11 +366,11 @@ static int control(priv_t *priv, int cmd int req_mode = *(int *)arg; u_short tmp_fps; @@ -14,7 +14,7 @@ priv->maxheight = PAL_HEIGHT; priv->maxwidth = PAL_WIDTH; priv->maxfps = PAL_FPS; -@@ -391,7 +391,7 @@ +@@ -391,7 +391,7 @@ static int control(priv_t *priv, int cmd if(req_mode == TV_NORM_NTSC) { @@ -23,7 +23,7 @@ priv->maxheight = NTSC_HEIGHT; priv->maxwidth = NTSC_WIDTH; priv->maxfps = NTSC_FPS; -@@ -415,9 +415,28 @@ +@@ -415,9 +415,28 @@ static int control(priv_t *priv, int cmd } } @@ -35,7 +35,8 @@ + priv->maxwidth = PAL_WIDTH; + priv->maxfps = PAL_FPS; + priv->fps = PAL_FPS; -+ + +- if(ioctl(priv->btfd, METEORSFMT, &priv->iformat) < 0) + if(priv->fps > priv->maxfps) priv->fps = priv->maxfps; + + if(priv->geom.rows > priv->maxheight) @@ -48,13 +49,12 @@ + priv->geom.columns = priv->maxwidth; + } + } - -- if(ioctl(priv->btfd, METEORSFMT, &priv->iformat) < 0) ++ + if(ioctl(priv->btfd, BT848SFMT, &priv->iformat) < 0) { mp_msg(MSGT_TV, MSGL_ERR, MSGTR_TV_Bt848IoctlFailed, "METEORSFMT", strerror(errno)); return TVI_CONTROL_FALSE; -@@ -546,8 +565,9 @@ +@@ -546,8 +565,9 @@ G_private = priv; /* Oooh, sick */ /* Video Configuration */ priv->videoready = 1; @@ -65,7 +65,7 @@ priv->maxheight = PAL_HEIGHT; priv->maxwidth = PAL_WIDTH; priv->maxfps = PAL_FPS; -@@ -572,7 +592,7 @@ +@@ -572,7 +592,7 @@ if(priv->btfd < 0) } if(priv->videoready && diff --git a/multimedia/mplayer/files/patch-stream-tvi_v4l.c b/multimedia/mplayer/files/patch-stream_tvi__v4l.c index f2ed47905057..6d418ed0d080 100644 --- a/multimedia/mplayer/files/patch-stream-tvi_v4l.c +++ b/multimedia/mplayer/files/patch-stream_tvi__v4l.c @@ -1,6 +1,6 @@ ---- stream/tvi_v4l.c 2007-10-07 23:49:26.000000000 +0400 -+++ stream/tvi_v4l.c 2010-01-27 13:42:17.781746063 +0300 -@@ -48,6 +48,14 @@ +--- stream/tvi_v4l.c.orig 2013-03-17 22:47:17 UTC ++++ stream/tvi_v4l.c +@@ -65,6 +65,14 @@ #include "audio_in.h" @@ -14,4 +14,4 @@ + static tvi_handle_t *tvi_init_v4l(tv_param_t* tv_param); - tvi_info_t tvi_info_v4l = { + const tvi_info_t tvi_info_v4l = { diff --git a/multimedia/mplayer/files/patch-stream-tvi_v4l2.c b/multimedia/mplayer/files/patch-stream_tvi__v4l2.c index f9b030e7ad3d..88ce34e9483c 100644 --- a/multimedia/mplayer/files/patch-stream-tvi_v4l2.c +++ b/multimedia/mplayer/files/patch-stream_tvi__v4l2.c @@ -1,6 +1,6 @@ ---- stream/tvi_v4l2.c.orig 2011-06-26 16:42:35.000000000 +0200 -+++ stream/tvi_v4l2.c 2011-11-26 20:09:03.369654854 +0100 -@@ -52,7 +52,6 @@ +--- stream/tvi_v4l2.c.orig 2014-06-10 16:39:04 UTC ++++ stream/tvi_v4l2.c +@@ -53,7 +53,6 @@ known issues: #ifdef HAVE_SYS_VIDEOIO_H #include <sys/videoio.h> #else @@ -8,9 +8,9 @@ #include <linux/videodev2.h> #endif #include "mp_msg.h" -@@ -62,6 +61,14 @@ - #include "tv.h" - #include "audio_in.h" +@@ -68,6 +67,14 @@ known issues: + #define V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC 0x2000 + #endif +#include <libv4l2.h> +#define open v4l2_open diff --git a/multimedia/mplayer/files/patch-vidix-mga_vid.c b/multimedia/mplayer/files/patch-vidix_mga__vid.c index d4bf4588fe6c..d60339de08d9 100644 --- a/multimedia/mplayer/files/patch-vidix-mga_vid.c +++ b/multimedia/mplayer/files/patch-vidix_mga__vid.c @@ -1,6 +1,6 @@ ---- vidix/mga_vid.c.orig 2014-05-17 03:38:00.000000000 +0200 -+++ vidix/mga_vid.c 2014-08-11 20:58:07.109876980 +0200 -@@ -1110,13 +1110,10 @@ +--- vidix/mga_vid.c.orig 2014-05-17 01:38:00 UTC ++++ vidix/mga_vid.c +@@ -1110,13 +1110,10 @@ static int mga_probe(int verbose,int for i, lst[i].vendor, lst[i].device); if (lst[i].vendor == VENDOR_MATROX) { |