aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mpv
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2021-06-11 20:35:03 +0000
committerJan Beich <jbeich@FreeBSD.org>2021-06-12 20:23:00 +0000
commitc8863005f6ea591889f6b8fe4b61cd429b9f2847 (patch)
treef18eb86ea204587085de66e77992321bda52a727 /multimedia/mpv
parentfbaf96a60fd0a9d08614a58a3be3344768c78eeb (diff)
downloadports-c8863005f6ea591889f6b8fe4b61cd429b9f2847.tar.gz
ports-c8863005f6ea591889f6b8fe4b61cd429b9f2847.zip
multimedia/mpv: backport --gpu-context=displayvk
Similar to vkcube-display and --gpu-context=drm (OpenGL). For example, $ mpv --vo=gpu --gpu-api=vulkan --gpu-context=displayvk --vulkan-display-plane=2 /path/to/video I tested on the following configuration (consult --vulkan-display-* in the manpage) $ mpv --vulkan-display-plane=help Vulkan Devices: 'Intel(R) HD Graphics 530 (SKL GT2)' (GPU ID 8086:1912) Display 0: 'monitor' (3840x2160) Modes: Mode 00: 3840x2160 (60.000 Hz) Mode 01: 3840x2160 (30.000 Hz) Mode 02: 1920x1080 (60.000 Hz) Mode 03: 1920x1080 (59.940 Hz) Mode 04: 1600x900 (60.000 Hz) Mode 05: 1280x1024 (60.020 Hz) Mode 06: 1280x800 (59.810 Hz) Mode 07: 1152x864 (59.972 Hz) Mode 08: 1280x720 (60.000 Hz) Mode 09: 1280x720 (59.940 Hz) Mode 10: 1024x768 (60.004 Hz) Mode 11: 800x600 (60.317 Hz) Mode 12: 720x480 (60.000 Hz) Mode 13: 720x480 (59.940 Hz) Mode 14: 640x480 (60.000 Hz) Mode 15: 640x480 (59.940 Hz) Planes: Plane: 2
Diffstat (limited to 'multimedia/mpv')
-rw-r--r--multimedia/mpv/Makefile6
-rw-r--r--multimedia/mpv/distinfo8
2 files changed, 13 insertions, 1 deletions
diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile
index f30c7067b073..08b1ddc03b9a 100644
--- a/multimedia/mpv/Makefile
+++ b/multimedia/mpv/Makefile
@@ -3,7 +3,7 @@
PORTNAME= mpv
DISTVERSIONPREFIX= v
DISTVERSION= 0.33.1
-PORTREVISION= 2
+PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= multimedia audio
MASTER_SITES= https://waf.io/:waf
@@ -13,6 +13,10 @@ PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= 1bb2665e3d09.patch:-p1 59c32a04b04d.patch:-p1 62fb374349e0.patch:-p1
PATCHFILES+= 24525e4ef9ba.patch:-p1 4dd5fdc0876e.patch:-p1 4d80314c5c88.patch:-p1
PATCHFILES+= 1b2e5137e04b.patch:-p1 # https://github.com/mpv-player/mpv/pull/8312
+PATCHFILES+= 3f006eced47b.patch:-p1 # required for #7268
+PATCHFILES+= dbf0fd7d60fa.patch:-p1 # https://github.com/mpv-player/mpv/pull/7268
+PATCHFILES+= dbbf4a415de7.patch:-p1 # https://github.com/mpv-player/mpv/pull/7268
+PATCHFILES+= 03b9f8e32362.patch:-p1 # https://github.com/mpv-player/mpv/issues/8913
PATCHFILES+= 968faef86723.patch:-p1 # libplacebo 3.104
PATCHFILES+= 7c4465cefb27.patch:-p1 # libplacebo 3.104
diff --git a/multimedia/mpv/distinfo b/multimedia/mpv/distinfo
index a255b319bd94..dfdad7ac635c 100644
--- a/multimedia/mpv/distinfo
+++ b/multimedia/mpv/distinfo
@@ -17,6 +17,14 @@ SHA256 (4d80314c5c88.patch) = 86413d684bac8c5b04e62f9030a458cc028a261178e7a02985
SIZE (4d80314c5c88.patch) = 4265
SHA256 (1b2e5137e04b.patch) = 4620272f66ee82c396ffbc6fde67de3ced99a75829671bd2d49c9a56924f1514
SIZE (1b2e5137e04b.patch) = 15404
+SHA256 (3f006eced47b.patch) = fdd6257f3f17a9b16aee75e10ea131a0f7391c7564f329fa931df9a977bdeb94
+SIZE (3f006eced47b.patch) = 25914
+SHA256 (dbf0fd7d60fa.patch) = 6bb08542ebd32e645dbf5f597700ce1202dfe1f2af3302fbac2c0aa7a8e60482
+SIZE (dbf0fd7d60fa.patch) = 2180
+SHA256 (dbbf4a415de7.patch) = fd328ab69e58a6a4ec3c1a1c2324db5d750ec63666ae2b7e4fd10cc53e9e70c7
+SIZE (dbbf4a415de7.patch) = 19603
+SHA256 (03b9f8e32362.patch) = 12a6ca6a7b80b8a93c4561a98d84c60fd77a3cebd4ec4151dcef139b527ccb75
+SIZE (03b9f8e32362.patch) = 1725
SHA256 (968faef86723.patch) = 21a052c67d36c2e9d30f9ab9714cde6284c46efd7397a1440ad19becc6aa5b20
SIZE (968faef86723.patch) = 1176
SHA256 (7c4465cefb27.patch) = a9f656a163e17a33050ea3ffe51203b948168437c87038239fc3a2424927b35a