mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
mpvqt, bump version (#10775)
This commit is contained in:
@@ -11,11 +11,10 @@ LICENSE="BSD (2-clause)
|
||||
GNU GPL v3
|
||||
GNU LGPL v2.1
|
||||
GNU LGPL v3"
|
||||
REVISION="2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="$HOMEPAGE/-/archive/v$portVersion/mpvqt-v$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="ba3d7d7528662d8003cd42c9b0ee5f17d0e4eb17eee0aff0aa0f8896988f6acc"
|
||||
CHECKSUM_SHA256="6a462b4830b5770629345b03ca3b395624e874f089a09dc173594f88def5baa3"
|
||||
SOURCE_DIR="mpvqt-v$portVersion"
|
||||
PATCHES="mpvqt-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
@@ -1,22 +0,0 @@
|
||||
From ad965f61b8028cf8c03403bc1d21dabaf4ed4192 Mon Sep 17 00:00:00 2001
|
||||
From: Schrijvers Luc <begasus@gmail.com>
|
||||
Date: Fri, 1 Mar 2024 13:10:36 +0100
|
||||
Subject: Disable QX11Application
|
||||
|
||||
|
||||
diff --git a/src/mpvrenderer.cpp b/src/mpvrenderer.cpp
|
||||
index 38b50b8..14a0e6f 100644
|
||||
--- a/src/mpvrenderer.cpp
|
||||
+++ b/src/mpvrenderer.cpp
|
||||
@@ -71,7 +71,7 @@ QOpenGLFramebufferObject *MpvRenderer::createFramebufferObject(const QSize &size
|
||||
#endif
|
||||
|
||||
mpv_render_param display{MPV_RENDER_PARAM_INVALID, nullptr};
|
||||
-#if defined(Q_OS_UNIX) && !defined(Q_OS_DARWIN) && !defined(Q_OS_ANDROID)
|
||||
+#if defined(Q_OS_UNIX) && !defined(Q_OS_DARWIN) && !defined(Q_OS_ANDROID) && !defined(Q_OS_HAIKU)
|
||||
if (QGuiApplication::platformName() == QStringLiteral("xcb")) {
|
||||
display.type = MPV_RENDER_PARAM_X11_DISPLAY;
|
||||
display.data = qGuiApp->nativeInterface<QNativeInterface::QX11Application>()->display();
|
||||
--
|
||||
2.43.2
|
||||
|
||||
Reference in New Issue
Block a user