pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/minitube minitube: update to 3.9.3
details: https://anonhg.NetBSD.org/pkgsrc/rev/65ea91709779
branches: trunk
changeset: 390523:65ea91709779
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Dec 21 14:58:15 2022 +0000
description:
minitube: update to 3.9.3
Changes not found.
Add patch to fix build with mpv 0.35.
diffstat:
net/minitube/Makefile | 5 +--
net/minitube/distinfo | 9 +++--
net/minitube/patches/patch-lib_media_src_mpv_mpvwidget.cpp | 21 ++++++++++++++
3 files changed, 28 insertions(+), 7 deletions(-)
diffs (52 lines):
diff -r 9fdf41bc0a80 -r 65ea91709779 net/minitube/Makefile
--- a/net/minitube/Makefile Wed Dec 21 14:45:21 2022 +0000
+++ b/net/minitube/Makefile Wed Dec 21 14:58:15 2022 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2022/11/23 16:20:52 adam Exp $
+# $NetBSD: Makefile,v 1.13 2022/12/21 14:58:15 wiz Exp $
-DISTNAME= minitube-3.9
-PKGREVISION= 3
+DISTNAME= minitube-3.9.3
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=flaviotordini/}
GITHUB_PROJECT= minitube
diff -r 9fdf41bc0a80 -r 65ea91709779 net/minitube/distinfo
--- a/net/minitube/distinfo Wed Dec 21 14:45:21 2022 +0000
+++ b/net/minitube/distinfo Wed Dec 21 14:58:15 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 11:06:00 nia Exp $
+$NetBSD: distinfo,v 1.7 2022/12/21 14:58:15 wiz Exp $
-BLAKE2s (minitube-3.9.tar.bz2) = 63bb74aeb9923f547201210a97d61b0cb3447ed851d704bac89d7a4992cb6077
-SHA512 (minitube-3.9.tar.bz2) = d68545ce81eae730213bc7abe8de52d28c0230f92cef727d9129b9b512c3b396afffb06839f491bc9edaf2174658b0457859ddaa4660ba005650e6a8c65772f4
-Size (minitube-3.9.tar.bz2) = 1140355 bytes
+BLAKE2s (minitube-3.9.3.tar.bz2) = 4229edea8b470b3ea6ff685cc932b1b2bc8aa7ee057c1b7bbc8e7523659e7e58
+SHA512 (minitube-3.9.3.tar.bz2) = 6cae7e5a3d03678ccf09d9c25e66f31d8e447defd956611cb0af1edeb953c283ccffbfae159db0fceafe16066fa02a07df66d966ee4172018b10c765034f3b81
+Size (minitube-3.9.3.tar.bz2) = 1142905 bytes
+SHA1 (patch-lib_media_src_mpv_mpvwidget.cpp) = 49d7ac650f5520d078c3452d1bf4ec56a7830327
diff -r 9fdf41bc0a80 -r 65ea91709779 net/minitube/patches/patch-lib_media_src_mpv_mpvwidget.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/minitube/patches/patch-lib_media_src_mpv_mpvwidget.cpp Wed Dec 21 14:58:15 2022 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-lib_media_src_mpv_mpvwidget.cpp,v 1.1 2022/12/21 14:58:15 wiz Exp $
+
+Fix build with mpb 0.35.
+https://github.com/freebsd/freebsd-ports/commit/ac9b20c88deb90ca6604c7a07f4e36f826bffd6c
+via https://github.com/flaviotordini/minitube/issues/217
+
+--- lib/media/src/mpv/mpvwidget.cpp.orig 2022-02-03 02:16:51.000000000 +0000
++++ lib/media/src/mpv/mpvwidget.cpp
+@@ -30,7 +30,11 @@ void MpvWidget::initializeGL() {
+ qDebug() << "initializeGL" << nativeParent;
+ if (nativeParent == nullptr) qFatal("No native parent");
+
+- mpv_opengl_init_params gl_init_params{get_proc_address, this, nullptr};
++ #if MPV_CLIENT_API_VERSION < MPV_MAKE_VERSION(2,0)
++ mpv_opengl_init_params gl_init_params{get_proc_address, this, nullptr};
++ #else
++ mpv_opengl_init_params gl_init_params{get_proc_address, this};
++ #endif
+ mpv_render_param params[]{{MPV_RENDER_PARAM_API_TYPE, (void *)MPV_RENDER_API_TYPE_OPENGL},
+ {MPV_RENDER_PARAM_OPENGL_INIT_PARAMS, &gl_init_params},
+ {MPV_RENDER_PARAM_INVALID, nullptr},
Home |
Main Index |
Thread Index |
Old Index