summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Eden <sven.eden@prydeworx.com>2021-06-11 13:27:47 +0200
committerSven Eden <sven.eden@prydeworx.com>2021-06-11 13:27:47 +0200
commit7adca0c5bd41400c80c23ed883e44a232af5aba7 (patch)
treed568021fbb4d7aae204e2658becd6ef44e3d0b57
parentmedia-video/vlc: 9999-r1 version with fixed LUA patch (diff)
downloadseden-master.tar.gz
seden-master.tar.bz2
seden-master.zip
media-video/vlc-9999-r1: Add patch to fix libplacebo inclusionHEADmaster
Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Sven Eden <sven.eden@prydeworx.com>
-rw-r--r--media-video/vlc/files/vlc-9999-fix_placebo_filters.patch54
-rw-r--r--media-video/vlc/vlc-9999-r1.ebuild1
2 files changed, 55 insertions, 0 deletions
diff --git a/media-video/vlc/files/vlc-9999-fix_placebo_filters.patch b/media-video/vlc/files/vlc-9999-fix_placebo_filters.patch
new file mode 100644
index 0000000..ba5ef42
--- /dev/null
+++ b/media-video/vlc/files/vlc-9999-fix_placebo_filters.patch
@@ -0,0 +1,54 @@
+--- a/modules/video_output/placebo_utils.h 2021-06-11 13:20:27.316546174 +0200
++++ b/modules/video_output/placebo_utils.h 2021-06-11 13:23:47.787553310 +0200
+@@ -241,7 +241,6 @@
+ SCALE_GINSENG,
+ SCALE_EWA_GINSENG,
+ SCALE_EWA_HANN,
+- SCALE_HAASNSOFT,
+ SCALE_CATMULL_ROM,
+ SCALE_ROBIDOUX,
+ SCALE_ROBIDOUXSHARP,
+@@ -267,7 +266,6 @@
+ SCALE_GINSENG,
+ SCALE_EWA_GINSENG,
+ SCALE_EWA_HANN,
+- SCALE_HAASNSOFT,
+ SCALE_CATMULL_ROM,
+ SCALE_ROBIDOUX,
+ SCALE_ROBIDOUXSHARP,
+@@ -293,7 +291,6 @@
+ "Ginseng 3 taps",
+ "EWA Ginseng",
+ "EWA Hann",
+- "HaasnSoft (blurred EWA Hann)",
+ "Catmull-Rom",
+ "Robidoux",
+ "RobidouxSharp",
+@@ -309,8 +306,8 @@
+ [SCALE_SPLINE16] = &pl_filter_spline16,
+ [SCALE_SPLINE36] = &pl_filter_spline36,
+ [SCALE_SPLINE64] = &pl_filter_spline64,
+- [SCALE_NEAREST] = &pl_filter_box,
+- [SCALE_BILINEAR] = &pl_filter_triangle,
++ [SCALE_NEAREST] = &pl_filter_nearest,
++ [SCALE_BILINEAR] = &pl_filter_bilinear,
+ [SCALE_GAUSSIAN] = &pl_filter_gaussian,
+ [SCALE_SINC] = &pl_filter_sinc,
+ [SCALE_LANCZOS] = &pl_filter_lanczos,
+@@ -319,14 +316,13 @@
+ [SCALE_EWA_LANCZOS] = &pl_filter_ewa_lanczos,
+ [SCALE_EWA_GINSENG] = &pl_filter_ewa_ginseng,
+ [SCALE_EWA_HANN] = &pl_filter_ewa_hann,
+- [SCALE_HAASNSOFT] = &pl_filter_haasnsoft,
+ [SCALE_BICUBIC] = &pl_filter_bicubic,
+ [SCALE_CATMULL_ROM] = &pl_filter_catmull_rom,
+ [SCALE_MITCHELL] = &pl_filter_mitchell,
+ [SCALE_ROBIDOUX] = &pl_filter_robidoux,
+ [SCALE_ROBIDOUXSHARP] = &pl_filter_robidouxsharp,
+- [SCALE_EWA_ROBIDOUX] = &pl_filter_robidoux,
+- [SCALE_EWA_ROBIDOUXSHARP] = &pl_filter_robidouxsharp,
++ [SCALE_EWA_ROBIDOUX] = &pl_filter_ewa_robidoux,
++ [SCALE_EWA_ROBIDOUXSHARP] = &pl_filter_ewa_robidouxsharp,
+ [SCALE_CUSTOM] = NULL,
+ };
+
diff --git a/media-video/vlc/vlc-9999-r1.ebuild b/media-video/vlc/vlc-9999-r1.ebuild
index 010d1ea..1b572ec 100644
--- a/media-video/vlc/vlc-9999-r1.ebuild
+++ b/media-video/vlc/vlc-9999-r1.ebuild
@@ -234,6 +234,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-2.1.0-fix-libtremor-libs.patch # build system
"${FILESDIR}"/${PN}-2.2.8-freerdp-2.patch # bug 590164
"${FILESDIR}"/${P}-configure_lua_version.patch
+ "${FILESDIR}"/${P}-fix_placebo_filters.patch
)
DOCS=( AUTHORS THANKS NEWS README doc/fortunes.txt )