pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/minitube
Module Name: pkgsrc
Committed By: wiz
Date: Wed Dec 21 14:58:15 UTC 2022
Modified Files:
pkgsrc/net/minitube: Makefile distinfo
Added Files:
pkgsrc/net/minitube/patches: patch-lib_media_src_mpv_mpvwidget.cpp
Log Message:
minitube: update to 3.9.3
Changes not found.
Add patch to fix build with mpv 0.35.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/net/minitube/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/net/minitube/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/net/minitube/patches/patch-lib_media_src_mpv_mpvwidget.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/net/minitube/Makefile
diff -u pkgsrc/net/minitube/Makefile:1.12 pkgsrc/net/minitube/Makefile:1.13
--- pkgsrc/net/minitube/Makefile:1.12 Wed Nov 23 16:20:52 2022
+++ pkgsrc/net/minitube/Makefile Wed Dec 21 14:58:15 2022
@@ -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
Index: pkgsrc/net/minitube/distinfo
diff -u pkgsrc/net/minitube/distinfo:1.6 pkgsrc/net/minitube/distinfo:1.7
--- pkgsrc/net/minitube/distinfo:1.6 Tue Oct 26 11:06:00 2021
+++ pkgsrc/net/minitube/distinfo Wed Dec 21 14:58:15 2022
@@ -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
Added files:
Index: pkgsrc/net/minitube/patches/patch-lib_media_src_mpv_mpvwidget.cpp
diff -u /dev/null pkgsrc/net/minitube/patches/patch-lib_media_src_mpv_mpvwidget.cpp:1.1
--- /dev/null Wed Dec 21 14:58:15 2022
+++ pkgsrc/net/minitube/patches/patch-lib_media_src_mpv_mpvwidget.cpp Wed Dec 21 14:58:15 2022
@@ -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