diff --git a/games/stepmania-devel/Makefile b/games/stepmania-devel/Makefile index fad7d9514fcf..26c6abd102a4 100644 --- a/games/stepmania-devel/Makefile +++ b/games/stepmania-devel/Makefile @@ -4,7 +4,7 @@ PORTNAME= stepmania PORTVERSION= 5.0.11 DISTVERSIONPREFIX= v -PORTREVISION= 4 +PORTREVISION= 5 PORTEPOCH= 1 CATEGORIES= games PKGNAMESUFFIX= -devel diff --git a/graphics/gnash/Makefile b/graphics/gnash/Makefile index 9042d0241bd3..ee7135ed1abd 100644 --- a/graphics/gnash/Makefile +++ b/graphics/gnash/Makefile @@ -3,7 +3,7 @@ PORTNAME= gnash PORTVERSION= 0.8.10 -PORTREVISION= 31 +PORTREVISION= 32 CATEGORIES= graphics MASTER_SITES= http://git.savannah.gnu.org/cgit/gnash.git/snapshot/ DISTNAME= gnash-2b3bdede0305c4fc3ad21a0a4197330606c9b880 diff --git a/graphics/mesa-dri/Makefile b/graphics/mesa-dri/Makefile index 1971c115f182..008fc06b97ad 100644 --- a/graphics/mesa-dri/Makefile +++ b/graphics/mesa-dri/Makefile @@ -3,6 +3,7 @@ PORTNAME= mesa-dri PORTVERSION= ${MESAVERSION} +PORTREVISION= 1 CATEGORIES= graphics COMMENT= OpenGL hardware acceleration drivers for DRI2+ diff --git a/multimedia/QtAV/Makefile b/multimedia/QtAV/Makefile index a0ef8641185d..d3ccfab6d55c 100644 --- a/multimedia/QtAV/Makefile +++ b/multimedia/QtAV/Makefile @@ -3,7 +3,7 @@ PORTNAME= QtAV PORTVERSION= 1.12.0 DISTVERSIONPREFIX= v -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia DIST_SUBDIR= KDE diff --git a/multimedia/avidemux/Makefile b/multimedia/avidemux/Makefile index 8d0c06dfab8e..94195f769c48 100644 --- a/multimedia/avidemux/Makefile +++ b/multimedia/avidemux/Makefile @@ -6,7 +6,7 @@ PORTNAME= avidemux PORTVERSION= ${AVIDEMUX_VERSION} -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= multimedia MAINTAINER= multimedia@FreeBSD.org diff --git a/multimedia/avidemux/Makefile.common b/multimedia/avidemux/Makefile.common index 0a314c600c0c..4e329f8415d5 100644 --- a/multimedia/avidemux/Makefile.common +++ b/multimedia/avidemux/Makefile.common @@ -1,6 +1,6 @@ # $FreeBSD$ -PORTREVISION?= 2 +PORTREVISION?= 3 AVIDEMUX_VERSION= 2.6.11 MASTER_SITES= \ SF/avidemux/avidemux/${PORTVERSION} diff --git a/multimedia/ccextractor/Makefile b/multimedia/ccextractor/Makefile index 80e30425d754..d9b682326b9b 100644 --- a/multimedia/ccextractor/Makefile +++ b/multimedia/ccextractor/Makefile @@ -3,6 +3,7 @@ PORTNAME= ccextractor DISTVERSIONPREFIX= v DISTVERSION= 0.85 +PORTREVISION= 1 CATEGORIES= multimedia MAINTAINER= oz@nixil.net diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile index f99fad075fd7..b0ccb2677c57 100644 --- a/multimedia/ffmpeg/Makefile +++ b/multimedia/ffmpeg/Makefile @@ -3,6 +3,7 @@ PORTNAME= ffmpeg PORTVERSION= 3.4.1 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= multimedia audio ipv6 net MASTER_SITES= http://ffmpeg.org/releases/ diff --git a/multimedia/ffmpeg0/Makefile b/multimedia/ffmpeg0/Makefile index 7aa7dc944169..f9f9bcfe83f7 100644 --- a/multimedia/ffmpeg0/Makefile +++ b/multimedia/ffmpeg0/Makefile @@ -3,7 +3,7 @@ PORTNAME= ffmpeg PORTVERSION= 0.7.17 -PORTREVISION= 10 +PORTREVISION= 11 PORTEPOCH= 1 CATEGORIES= multimedia audio ipv6 net MASTER_SITES= http://ffmpeg.org/releases/ diff --git a/multimedia/gstreamer1-vaapi/Makefile b/multimedia/gstreamer1-vaapi/Makefile index 685f775d3d82..c35caffedb96 100644 --- a/multimedia/gstreamer1-vaapi/Makefile +++ b/multimedia/gstreamer1-vaapi/Makefile @@ -3,6 +3,7 @@ PORTNAME= gstreamer1-vaapi PORTVERSION= 1.12.3 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= https://gstreamer.freedesktop.org/src/gstreamer-vaapi/ DISTNAME= gstreamer-vaapi-${PORTVERSION} diff --git a/multimedia/gstreamer1-vaapi/files/patch-configure b/multimedia/gstreamer1-vaapi/files/patch-configure new file mode 100644 index 000000000000..2be803469592 --- /dev/null +++ b/multimedia/gstreamer1-vaapi/files/patch-configure @@ -0,0 +1,52 @@ +--- configure.orig 2017-09-18 12:23:59 UTC ++++ configure +@@ -18008,12 +18008,12 @@ if test -n "$PKG_CONFIG"; then + pkg_cv_LIBVA_CFLAGS="$LIBVA_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libva >= \$VAAPI_REQ libva < 0.99.0\""; } >&5 +- ($PKG_CONFIG --exists --print-errors "libva >= $VAAPI_REQ libva < 0.99.0") 2>&5 ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libva >= \$VAAPI_REQ libva <= 1.0.0\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libva >= $VAAPI_REQ libva <= 1.0.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then +- pkg_cv_LIBVA_CFLAGS=`$PKG_CONFIG --cflags "libva >= $VAAPI_REQ libva < 0.99.0" 2>/dev/null` ++ pkg_cv_LIBVA_CFLAGS=`$PKG_CONFIG --cflags "libva >= $VAAPI_REQ libva <= 1.0.0" 2>/dev/null` + else + pkg_failed=yes + fi +@@ -18026,12 +18026,12 @@ if test -n "$PKG_CONFIG"; then + pkg_cv_LIBVA_LIBS="$LIBVA_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libva >= \$VAAPI_REQ libva < 0.99.0\""; } >&5 +- ($PKG_CONFIG --exists --print-errors "libva >= $VAAPI_REQ libva < 0.99.0") 2>&5 ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libva >= \$VAAPI_REQ libva < 1.00.0\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libva >= $VAAPI_REQ libva <= 1.0.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then +- pkg_cv_LIBVA_LIBS=`$PKG_CONFIG --libs "libva >= $VAAPI_REQ libva < 0.99.0" 2>/dev/null` ++ pkg_cv_LIBVA_LIBS=`$PKG_CONFIG --libs "libva >= $VAAPI_REQ libva <= 1.0.0" 2>/dev/null` + else + pkg_failed=yes + fi +@@ -18050,14 +18050,14 @@ else + _pkg_short_errors_supported=no + fi + if test $_pkg_short_errors_supported = yes; then +- LIBVA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libva >= $VAAPI_REQ libva < 0.99.0"` ++ LIBVA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libva >= $VAAPI_REQ libva <= 1.0.0"` + else +- LIBVA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libva >= $VAAPI_REQ libva < 0.99.0"` ++ LIBVA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libva >= $VAAPI_REQ libva <= 1.0.0"` + fi + # Put the nasty error message in config.log where it belongs + echo "$LIBVA_PKG_ERRORS" >&5 + +- as_fn_error $? "Package requirements (libva >= $VAAPI_REQ libva < 0.99.0) were not met: ++ as_fn_error $? "Package requirements (libva >= $VAAPI_REQ libva <= 1.0.0) were not met: + + $LIBVA_PKG_ERRORS + diff --git a/multimedia/gstreamer1-vaapi/files/patch-gst-libs_gst_vaapi_gstvaapiutils.c b/multimedia/gstreamer1-vaapi/files/patch-gst-libs_gst_vaapi_gstvaapiutils.c new file mode 100644 index 000000000000..3490790d5ea9 --- /dev/null +++ b/multimedia/gstreamer1-vaapi/files/patch-gst-libs_gst_vaapi_gstvaapiutils.c @@ -0,0 +1,77 @@ +From 777bba473e3ed1c7b8b7f7f0322892851c70dfd9 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= + +Date: Tue, 11 Jul 2017 17:29:13 +0200 +Subject: libs: utils: libva 1.0 changed the logging + +The logging mechanism in libva has changed it's functions +signatures. This patch updates that for libva versions >= 1.0 + +https://bugzilla.gnome.org/show_bug.cgi?id=784398 + +diff --git a/gst-libs/gst/vaapi/gstvaapiutils.c b/gst-libs/gst/vaapi/gstvaapiutils.c +index 0ed1efe..c24bed7 100644 +--- gst-libs/gst/vaapi/gstvaapiutils.c ++++ gst-libs/gst/vaapi/gstvaapiutils.c +@@ -46,15 +46,43 @@ + #define STRCASE(x) case x: return STRINGIFY(x) + + #if VA_CHECK_VERSION (0,40,0) +-static void +-gst_vaapi_log (const char *message) ++static gchar * ++strip_msg (const char *message) + { + gchar *msg; + + msg = g_strdup (message); + if (!msg) ++ return NULL; ++ return g_strstrip (msg); ++} ++ ++#if VA_CHECK_VERSION (1,0,0) ++static void ++gst_vaapi_err (void *data, const char *message) ++{ ++ gchar *msg; ++ ++ msg = strip_msg (message); ++ if (!msg) ++ return; ++ GST_ERROR ("%s", msg); ++ g_free (msg); ++} ++#endif ++ ++static void ++gst_vaapi_log ( ++#if VA_CHECK_VERSION (1,0,0) ++ void *data, ++#endif ++ const char *message) ++{ ++ gchar *msg; ++ ++ msg = strip_msg (message); ++ if (!msg) + return; +- g_strchomp (msg); + GST_INFO ("%s", msg); + g_free (msg); + } +@@ -66,7 +94,10 @@ vaapi_initialize (VADisplay dpy) + gint major_version, minor_version; + VAStatus status; + +-#if VA_CHECK_VERSION (0,40,0) ++#if VA_CHECK_VERSION (1,0,0) ++ vaSetErrorCallback (dpy, gst_vaapi_err, NULL); ++ vaSetInfoCallback (dpy, gst_vaapi_log, NULL); ++#elif VA_CHECK_VERSION (0,40,0) + vaSetInfoCallback (gst_vaapi_log); + #endif + +-- +cgit v0.10.2 + diff --git a/multimedia/kodi/Makefile b/multimedia/kodi/Makefile index 7841a84c7323..6582610ab767 100644 --- a/multimedia/kodi/Makefile +++ b/multimedia/kodi/Makefile @@ -2,7 +2,7 @@ PORTNAME= kodi DISTVERSION= 17.3 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= multimedia java MAINTAINER= mickael.maillot@gmail.com diff --git a/multimedia/libav/Makefile b/multimedia/libav/Makefile index 1fa2656c7c3c..c3e5a4a97b98 100644 --- a/multimedia/libav/Makefile +++ b/multimedia/libav/Makefile @@ -2,7 +2,7 @@ PORTNAME= libav PORTVERSION= 12.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia audio ipv6 net MASTER_SITES= http://libav.org/releases/ diff --git a/multimedia/libva-intel-driver/Makefile b/multimedia/libva-intel-driver/Makefile index 7f2e5cec07c1..8566fb8b505f 100644 --- a/multimedia/libva-intel-driver/Makefile +++ b/multimedia/libva-intel-driver/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= libva-intel-driver -PORTVERSION= 1.8.3 -PORTREVISION= 1 +PORTVERSION= 2.0.0 CATEGORIES= multimedia MAINTAINER= madpilot@FreeBSD.org diff --git a/multimedia/libva-intel-driver/distinfo b/multimedia/libva-intel-driver/distinfo index 88917b398b2f..509e5f19e37d 100644 --- a/multimedia/libva-intel-driver/distinfo +++ b/multimedia/libva-intel-driver/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1498657772 -SHA256 (01org-intel-vaapi-driver-1.8.3_GH0.tar.gz) = e837b6c704ce4bffa0e6d530431061d99e42d4e4df990092937af522ca04f000 -SIZE (01org-intel-vaapi-driver-1.8.3_GH0.tar.gz) = 2591242 +TIMESTAMP = 1508576498 +SHA256 (01org-intel-vaapi-driver-2.0.0_GH0.tar.gz) = 19acdace87fb0e167202cecd593028ccf0b90900f48319c3241403abde9fda12 +SIZE (01org-intel-vaapi-driver-2.0.0_GH0.tar.gz) = 2831508 diff --git a/multimedia/libva-utils/Makefile b/multimedia/libva-utils/Makefile index 91bea94aa695..a9ddbd133cef 100644 --- a/multimedia/libva-utils/Makefile +++ b/multimedia/libva-utils/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= libva-utils -PORTVERSION= 1.8.3 +PORTVERSION= 2.0.0 CATEGORIES= multimedia MAINTAINER= madpilot@FreeBSD.org @@ -16,6 +16,7 @@ USES= autoreconf gmake libtool pkgconfig tar:bzip2 #USE_XORG= glproto pciaccess xext xfixes #USE_GL= gl GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip USE_GITHUB= yes GH_ACCOUNT= 01org @@ -26,19 +27,8 @@ GH_ACCOUNT= 01org OPTIONS_DEFINE= DEBUG -.include - -.if ${PORT_OPTIONS:MDEBUG} -CFLAGS+= -D_DEBUG -.else -CFLAGS+= -DNDEBUG -.endif - -.include - -.if defined(STRIP) && ${STRIP} != "" -INSTALL_TARGET= install-strip -.endif +DEBUG_CFLAGS= -D_DEBUG +DEBUG_CFLAGS_OFF= -DNDEBUG #post-patch: .SILENT # ${REINPLACE_CMD} -e 's|\($$libdir\)/dri|\1/va|' \ @@ -50,4 +40,4 @@ INSTALL_TARGET= install-strip # ${WRKSRC}/doc/Makefile.am # ${REINPLACE_CMD} 's/-ldl//' ${WRKSRC}/va/Makefile.am -.include +.include diff --git a/multimedia/libva-utils/distinfo b/multimedia/libva-utils/distinfo index 79af80568aea..388141ac750f 100644 --- a/multimedia/libva-utils/distinfo +++ b/multimedia/libva-utils/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1498657885 -SHA256 (01org-libva-utils-1.8.3_GH0.tar.gz) = db5df4ae6f6cc572de9ebb2be995f1577226fdd182545793d8de98592c9f7a88 -SIZE (01org-libva-utils-1.8.3_GH0.tar.gz) = 1012261 +TIMESTAMP = 1508576446 +SHA256 (01org-libva-utils-2.0.0_GH0.tar.gz) = 9488ebbcd44decace43696c5e00b37c858ca6376dcccbaf0f255e77d6fefd858 +SIZE (01org-libva-utils-2.0.0_GH0.tar.gz) = 1033292 diff --git a/multimedia/libva-utils/pkg-plist b/multimedia/libva-utils/pkg-plist index a2e913dc937a..2383fa1fc50d 100644 --- a/multimedia/libva-utils/pkg-plist +++ b/multimedia/libva-utils/pkg-plist @@ -1,8 +1,10 @@ bin/avcenc bin/h264encode -bin/vainfo bin/jpegenc bin/loadjpeg bin/mpeg2vaenc bin/mpeg2vldemo bin/putsurface +bin/vainfo +bin/vavpp +bin/vp9enc diff --git a/multimedia/libva-vdpau-driver/Makefile b/multimedia/libva-vdpau-driver/Makefile index 9f8d67e1d3bd..e7d383448e50 100644 --- a/multimedia/libva-vdpau-driver/Makefile +++ b/multimedia/libva-vdpau-driver/Makefile @@ -2,7 +2,7 @@ PORTNAME= libva-vdpau-driver PORTVERSION= 0.7.4 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= multimedia MASTER_SITES= http://www.freedesktop.org/software/vaapi/releases/${PORTNAME}/ @@ -21,22 +21,18 @@ USES= libtool gmake localbase pkgconfig tar:bzip2 USE_GL= gl GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip PLIST_FILES= lib/va/nvidia_drv_video.so lib/va/s3g_drv_video.so lib/va/vdpau_drv_video.so OPTIONS_DEFINE= DEBUG + DEBUG_CONFIGURE_ENABLE= debug -.include - -.if defined(STRIP) && ${STRIP} != "" -INSTALL_TARGET= install-strip -.endif - post-patch: .SILENT ${REINPLACE_CMD} -e '/LIBS/{ s/-ldl//; s/-lrt//; }' \ -e 's|driverdir|& --define-variable prefix=${PREFIX}|' \ -e '/\^vdpau_version/s|$$CC -E|& ${CPPFLAGS}|' \ ${WRKSRC}/configure -.include +.include diff --git a/multimedia/libva/Makefile b/multimedia/libva/Makefile index aadc499d74bc..41e0e3e5c3cb 100644 --- a/multimedia/libva/Makefile +++ b/multimedia/libva/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= libva -PORTVERSION= 1.8.3 +PORTVERSION= 2.0.0 CATEGORIES= multimedia MAINTAINER= madpilot@FreeBSD.org @@ -20,6 +20,7 @@ USE_GL= gl GNU_CONFIGURE= yes CONFIGURE_ARGS= --program-prefix=va USE_LDCONFIG= yes +INSTALL_TARGET= install-strip USE_GITHUB= yes GH_ACCOUNT= 01org @@ -30,19 +31,8 @@ CFLAGS+= -DHAVE_LINUX_INTEGER_TYPES OPTIONS_DEFINE= DEBUG -.include - -.if ${PORT_OPTIONS:MDEBUG} -CFLAGS+= -D_DEBUG -.else -CFLAGS+= -DNDEBUG -.endif - -.include - -.if defined(STRIP) && ${STRIP} != "" -INSTALL_TARGET= install-strip -.endif +DEBUG_CFLAGS= -D_DEBUG +DEBUG_CFLAGS_OFF= -DNDEBUG post-patch: .SILENT ${REINPLACE_CMD} -e 's|\($$libdir\)/dri|\1/va|' \ @@ -52,4 +42,4 @@ post-patch: .SILENT ${WRKSRC}/doc/Makefile.am ${REINPLACE_CMD} 's/-ldl//' ${WRKSRC}/va/Makefile.am -.include +.include diff --git a/multimedia/libva/distinfo b/multimedia/libva/distinfo index 42a07fdb3ce4..ab6bde028748 100644 --- a/multimedia/libva/distinfo +++ b/multimedia/libva/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1498657745 -SHA256 (01org-libva-1.8.3_GH0.tar.gz) = 5ac4b0156c39cbca78913ebc0ff823b1abd5faa41121204c0707d62c27f07285 -SIZE (01org-libva-1.8.3_GH0.tar.gz) = 186915 +TIMESTAMP = 1508575075 +SHA256 (01org-libva-2.0.0_GH0.tar.gz) = dce5e21ffe6083a230814493e806f9e622d11570d633d48ca2f6bd103f6afe3e +SIZE (01org-libva-2.0.0_GH0.tar.gz) = 191311 diff --git a/multimedia/libva/files/patch-va__glx__va_glx_private.h b/multimedia/libva/files/patch-va_glx_va__glx__private.h similarity index 75% rename from multimedia/libva/files/patch-va__glx__va_glx_private.h rename to multimedia/libva/files/patch-va_glx_va__glx__private.h index db19f449b15b..19aa82a91ca7 100644 --- a/multimedia/libva/files/patch-va__glx__va_glx_private.h +++ b/multimedia/libva/files/patch-va_glx_va__glx__private.h @@ -1,6 +1,6 @@ ---- va/glx/va_glx_private.h.orig 2015-07-01 07:54:24 UTC +--- va/glx/va_glx_private.h.orig 2017-10-21 04:49:28 UTC +++ va/glx/va_glx_private.h -@@ -38,7 +38,7 @@ typedef void (*PFNGLXBINDTEXIMAGEEXTPROC +@@ -38,7 +38,7 @@ typedef void (*PFNGLXBINDTEXIMAGEEXTPROC)(Display *, G typedef void (*PFNGLXRELEASETEXIMAGEEXTPROC)(Display *, GLXDrawable, int); #endif diff --git a/multimedia/libva/files/patch-va__va.c b/multimedia/libva/files/patch-va_va.c similarity index 63% rename from multimedia/libva/files/patch-va__va.c rename to multimedia/libva/files/patch-va_va.c index 0e0ae1db4c18..c93738827602 100644 --- a/multimedia/libva/files/patch-va__va.c +++ b/multimedia/libva/files/patch-va_va.c @@ -1,9 +1,9 @@ ---- va/va.c.orig 2014-09-30 01:48:34 UTC +--- va/va.c.orig 2017-10-21 04:49:28 UTC +++ va/va.c -@@ -227,7 +227,7 @@ +@@ -350,7 +350,7 @@ static VAStatus va_openDriver(VADisplay dpy, char *dri strncat( driver_path, DRIVER_EXTENSION, strlen(DRIVER_EXTENSION) ); - va_infoMessage("Trying to open %s\n", driver_path); + va_infoMessage(dpy, "Trying to open %s\n", driver_path); -#ifndef ANDROID +#if !defined(ANDROID) && defined(RTLD_NODELETE) handle = dlopen( driver_path, RTLD_NOW | RTLD_GLOBAL | RTLD_NODELETE ); diff --git a/multimedia/libva/files/patch-va_va__trace.c b/multimedia/libva/files/patch-va_va__trace.c index 501eb0720333..cfaf5867b9d2 100644 --- a/multimedia/libva/files/patch-va_va__trace.c +++ b/multimedia/libva/files/patch-va_va__trace.c @@ -1,6 +1,6 @@ ---- va/va_trace.c.orig 2016-06-21 01:29:25 UTC +--- va/va_trace.c.orig 2017-10-21 04:49:28 UTC +++ va/va_trace.c -@@ -48,6 +48,9 @@ +@@ -50,6 +50,9 @@ #include #include #include @@ -10,7 +10,7 @@ #include #include #include -@@ -294,7 +297,13 @@ static void add_trace_config_info( +@@ -291,7 +294,13 @@ static void add_trace_config_info( { struct trace_config_info *pconfig_info; int idx = 0; @@ -24,7 +24,7 @@ LOCK_RESOURCE(pva_trace); -@@ -318,7 +327,13 @@ static void delete_trace_config_info( +@@ -315,7 +324,13 @@ static void delete_trace_config_info( { struct trace_config_info *pconfig_info; int idx = 0; @@ -38,7 +38,7 @@ LOCK_RESOURCE(pva_trace); -@@ -663,7 +678,13 @@ static struct trace_log_file *start_trac +@@ -662,7 +677,13 @@ static struct trace_log_file *start_tracing2log_file( { struct trace_log_files_manager *plog_files_mgr = NULL; struct trace_log_file *plog_file = NULL; @@ -52,7 +52,7 @@ int i = 0; LOCK_RESOURCE(pva_trace); -@@ -702,7 +723,13 @@ static void refresh_log_file( +@@ -701,7 +722,13 @@ static void refresh_log_file( struct trace_context *ptra_ctx) { struct trace_log_file *plog_file = NULL; @@ -66,7 +66,7 @@ int i = 0; plog_file = ptra_ctx->plog_file; -@@ -1226,7 +1253,13 @@ static void internal_TraceUpdateContext +@@ -1224,7 +1251,13 @@ static void internal_TraceUpdateContext ( { struct trace_context *trace_ctx = NULL; int i = 0, delete = 1; diff --git a/multimedia/libva/pkg-plist b/multimedia/libva/pkg-plist index 529557e3de3f..0f3c420f9bbd 100644 --- a/multimedia/libva/pkg-plist +++ b/multimedia/libva/pkg-plist @@ -1,8 +1,6 @@ include/va/va.h include/va/va_backend.h -include/va/va_backend_egl.h include/va/va_backend_glx.h -include/va/va_backend_tpi.h include/va/va_backend_vpp.h include/va/va_compat.h include/va/va_dec_hevc.h @@ -20,32 +18,27 @@ include/va/va_enc_jpeg.h include/va/va_enc_mpeg2.h include/va/va_enc_vp8.h include/va/va_enc_vp9.h +include/va/va_fei_h264.h +include/va/va_fei.h include/va/va_glx.h +include/va/va_str.h include/va/va_tpi.h include/va/va_version.h include/va/va_vpp.h include/va/va_x11.h lib/libva-drm.so -lib/libva-drm.so.1 -lib/libva-drm.so.1.4000.0 -lib/libva-egl.so -lib/libva-egl.so.1 -lib/libva-egl.so.1.4000.0 +lib/libva-drm.so.2 +lib/libva-drm.so.2.0.0 lib/libva-glx.so -lib/libva-glx.so.1 -lib/libva-glx.so.1.4000.0 -lib/libva-tpi.so -lib/libva-tpi.so.1 -lib/libva-tpi.so.1.4000.0 +lib/libva-glx.so.2 +lib/libva-glx.so.2.0.0 lib/libva-x11.so -lib/libva-x11.so.1 -lib/libva-x11.so.1.4000.0 +lib/libva-x11.so.2 +lib/libva-x11.so.2.0.0 lib/libva.so -lib/libva.so.1 -lib/libva.so.1.4000.0 +lib/libva.so.2 +lib/libva.so.2.0.0 libdata/pkgconfig/libva-drm.pc -libdata/pkgconfig/libva-egl.pc libdata/pkgconfig/libva-glx.pc -libdata/pkgconfig/libva-tpi.pc libdata/pkgconfig/libva-x11.pc libdata/pkgconfig/libva.pc diff --git a/multimedia/libvdpau-va-gl/Makefile b/multimedia/libvdpau-va-gl/Makefile index 1778ef524fd2..0c8181a61276 100644 --- a/multimedia/libvdpau-va-gl/Makefile +++ b/multimedia/libvdpau-va-gl/Makefile @@ -2,7 +2,7 @@ PORTNAME= libvdpau-va-gl PORTVERSION= 0.4.2 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONPREFIX= v CATEGORIES= multimedia diff --git a/multimedia/libxine/Makefile b/multimedia/libxine/Makefile index 9f369d8dad68..63bb062d2557 100644 --- a/multimedia/libxine/Makefile +++ b/multimedia/libxine/Makefile @@ -3,7 +3,7 @@ PORTNAME= xine PORTVERSION= 1.2.6 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= multimedia ipv6 MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-lib/${PORTVERSION} PKGNAMEPREFIX= lib diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile index acbb2efb2e03..5d13634a4392 100644 --- a/multimedia/mpv/Makefile +++ b/multimedia/mpv/Makefile @@ -4,7 +4,7 @@ PORTNAME= mpv PORTVERSION= 0.27.0 DISTVERSIONPREFIX= v -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= multimedia audio diff --git a/multimedia/mpv/files/patch-video_vaapi.c b/multimedia/mpv/files/patch-video_vaapi.c new file mode 100644 index 000000000000..559665d1b0fe --- /dev/null +++ b/multimedia/mpv/files/patch-video_vaapi.c @@ -0,0 +1,88 @@ +From 2ecf240b1cd20875991a5b18efafbe799864ff7f Mon Sep 17 00:00:00 2001 +From: Mark Thompson +Date: Mon, 9 Oct 2017 20:10:26 +0100 +Subject: [PATCH] vaapi: Use libva2 message callbacks + +They are no longer global, so they work vaguely sensibly. +--- + video/vaapi.c | 32 +++++++++++++++++++++++++++++--- + 1 file changed, 29 insertions(+), 3 deletions(-) + +diff --git a/video/vaapi.c b/video/vaapi.c +index 6bedbbaa18..3b1cb9cc41 100644 +--- video/vaapi.c ++++ video/vaapi.c +@@ -40,9 +40,27 @@ int va_get_colorspace_flag(enum mp_csp csp) + return 0; + } + +-// VA message callbacks are global and do not have a context parameter, so it's +-// impossible to know from which VADisplay they originate. Try to route them +-// to existing mpv/libmpv instances within this process. ++#if VA_CHECK_VERSION(1, 0, 0) ++static void va_message_callback(void *context, const char *msg, int mp_level) ++{ ++ struct mp_vaapi_ctx *res = context; ++ mp_msg(res->log, mp_level, "libva: %s", msg); ++} ++ ++static void va_error_callback(void *context, const char *msg) ++{ ++ va_message_callback(context, msg, MSGL_ERR); ++} ++ ++static void va_info_callback(void *context, const char *msg) ++{ ++ va_message_callback(context, msg, MSGL_V); ++} ++#else ++// Pre-libva2 VA message callbacks are global and do not have a context ++// parameter, so it's impossible to know from which VADisplay they ++// originate. Try to route them to existing mpv/libmpv instances within ++// this process. + static pthread_mutex_t va_log_mutex = PTHREAD_MUTEX_INITIALIZER; + static struct mp_vaapi_ctx **va_mpv_clients; + static int num_va_mpv_clients; +@@ -77,6 +95,7 @@ static void va_info_callback(const char *msg) + { + va_message_callback(msg, MSGL_V); + } ++#endif + + static void open_lavu_vaapi_device(struct mp_vaapi_ctx *ctx) + { +@@ -108,6 +127,10 @@ struct mp_vaapi_ctx *va_initialize(VADisplay *display, struct mp_log *plog, + }, + }; + ++#if VA_CHECK_VERSION(1, 0, 0) ++ vaSetErrorCallback(display, va_error_callback, res); ++ vaSetInfoCallback(display, va_info_callback, res); ++#else + pthread_mutex_lock(&va_log_mutex); + MP_TARRAY_APPEND(NULL, va_mpv_clients, num_va_mpv_clients, res); + pthread_mutex_unlock(&va_log_mutex); +@@ -118,6 +141,7 @@ struct mp_vaapi_ctx *va_initialize(VADisplay *display, struct mp_log *plog, + vaSetErrorCallback(va_error_callback); + vaSetInfoCallback(va_info_callback); + #endif ++#endif + + int major, minor; + int status = vaInitialize(display, &major, &minor); +@@ -154,6 +178,7 @@ void va_destroy(struct mp_vaapi_ctx *ctx) + if (ctx->destroy_native_ctx) + ctx->destroy_native_ctx(ctx->native_ctx); + ++#if !VA_CHECK_VERSION(1, 0, 0) + pthread_mutex_lock(&va_log_mutex); + for (int n = 0; n < num_va_mpv_clients; n++) { + if (va_mpv_clients[n] == ctx) { +@@ -164,6 +189,7 @@ void va_destroy(struct mp_vaapi_ctx *ctx) + if (num_va_mpv_clients == 0) + TA_FREEP(&va_mpv_clients); // avoid triggering leak detectors + pthread_mutex_unlock(&va_log_mutex); ++#endif + + talloc_free(ctx); + } diff --git a/multimedia/mythtv/Makefile b/multimedia/mythtv/Makefile index 2b6b122a5c0a..bd731bafaa1c 100644 --- a/multimedia/mythtv/Makefile +++ b/multimedia/mythtv/Makefile @@ -3,7 +3,7 @@ PORTNAME= mythtv PORTVERSION= 0.28.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia MAINTAINER= ports@FreeBSD.org diff --git a/multimedia/vdr-plugin-softhddevice/Makefile b/multimedia/vdr-plugin-softhddevice/Makefile index 8a90026f15e3..3631710cc5b4 100644 --- a/multimedia/vdr-plugin-softhddevice/Makefile +++ b/multimedia/vdr-plugin-softhddevice/Makefile @@ -3,7 +3,7 @@ PORTNAME= vdr-plugin-softhddevice PORTVERSION= 0.5.1 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= multimedia MASTER_SITES= http://projects.vdr-developer.org/attachments/download/1000/ DISTNAME= ${PORTNAME:S/-plugin-/-/}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile index aedf34d8242a..1b94053d6f92 100644 --- a/multimedia/vlc/Makefile +++ b/multimedia/vlc/Makefile @@ -3,7 +3,7 @@ PORTNAME= vlc DISTVERSION= 2.2.6 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 4 CATEGORIES= multimedia audio ipv6 net www MASTER_SITES= http://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION:S/a$//}/ \ diff --git a/net/libvncserver/Makefile b/net/libvncserver/Makefile index c617b19d266b..af4591406219 100644 --- a/net/libvncserver/Makefile +++ b/net/libvncserver/Makefile @@ -3,7 +3,7 @@ PORTNAME= libvncserver PORTVERSION= 0.9.11 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONPREFIX= LibVNCServer- CATEGORIES= net devel