mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
gst_plugins_good, enable qt6 plugin (#13728)
fixes: module "org.freedesktop.gstreamer.qt6glvideoitem" is not installed
This commit is contained in:
@@ -5,7 +5,7 @@ for the supporting library)."
|
||||
HOMEPAGE="https://gstreamer.freedesktop.org/"
|
||||
COPYRIGHT="Erik Walthinsen"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="fe4ec9670edfe6bb1e5f27169ae145b5ac2dd218ac98bd8251c8fba41ad33c53"
|
||||
SOURCE_DIR="gst-plugins-good-$portVersion"
|
||||
@@ -61,6 +61,7 @@ REQUIRES="
|
||||
lib:libvorbis$secondaryArchSuffix
|
||||
lib:libvpx$secondaryArchSuffix
|
||||
lib:libxml2$secondaryArchSuffix
|
||||
lib:libX11$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
SUPPLEMENTS="
|
||||
@@ -85,13 +86,37 @@ REQUIRES_gtk="
|
||||
lib:libgtk_3$secondaryArchSuffix
|
||||
"
|
||||
|
||||
# Qt6
|
||||
SUMMARY_qt6="GStreamer Qt6 Plug-in"
|
||||
DESCRIPTION_qt6="A plugin to render video to a Qt6 widget using OpenGL."
|
||||
|
||||
PROVIDES_qt6="
|
||||
gst_plugins_good${secondaryArchSuffix}_qt6 = $portVersion
|
||||
"
|
||||
REQUIRES_qt6="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
lib:libGLESv2$secondaryArchSuffix
|
||||
lib:libgobject_2.0$secondaryArchSuffix
|
||||
lib:libgstbase_1.0$secondaryArchSuffix
|
||||
lib:libgstgl_1.0$secondaryArchSuffix
|
||||
lib:libgstreamer_1.0$secondaryArchSuffix
|
||||
lib:libgstvideo_1.0$secondaryArchSuffix
|
||||
lib:libQt6Core$secondaryArchSuffix
|
||||
lib:libQt6Gui$secondaryArchSuffix
|
||||
lib:libQt6Qml$secondaryArchSuffix
|
||||
lib:libQt6Quick$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
qt6_tools${secondaryArchSuffix}_devel
|
||||
devel:libbrotlidec$secondaryArchSuffix
|
||||
devel:libbz2$secondaryArchSuffix
|
||||
devel:libcairo$secondaryArchSuffix
|
||||
devel:libcairo_gobject$secondaryArchSuffix
|
||||
devel:libcrypto$secondaryArchSuffix >= 3
|
||||
devel:libEGL$secondaryArchSuffix
|
||||
devel:libflac$secondaryArchSuffix
|
||||
devel:libfreetype$secondaryArchSuffix
|
||||
devel:libgdk_pixbuf_2.0$secondaryArchSuffix
|
||||
@@ -115,6 +140,8 @@ BUILD_REQUIRES="
|
||||
devel:libogg$secondaryArchSuffix
|
||||
devel:liborc_0.4$secondaryArchSuffix
|
||||
devel:libpng16$secondaryArchSuffix
|
||||
devel:libQt6Core$secondaryArchSuffix
|
||||
devel:libQt6Qml$secondaryArchSuffix
|
||||
devel:libpsl$secondaryArchSuffix
|
||||
devel:libsoup_3.0$secondaryArchSuffix
|
||||
devel:libspeex$secondaryArchSuffix
|
||||
@@ -156,6 +183,8 @@ BUILD()
|
||||
--datadir=$dataDir \
|
||||
--mandir=$manDir \
|
||||
--includedir=$includeDir \
|
||||
-D qt6=enabled \
|
||||
-D qt-egl=enabled \
|
||||
-D doc=disabled \
|
||||
-D examples=disabled \
|
||||
-D nls=disabled \
|
||||
@@ -178,4 +207,7 @@ INSTALL()
|
||||
|
||||
packageEntries "gtk" \
|
||||
$libDir/gstreamer-1.0/libgstgtk.so
|
||||
|
||||
packageEntries "qt6" \
|
||||
$libDir/gstreamer-1.0/libgstqml6.so
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From be355b5d25d76a79287fffa20592b942e2f67464 Mon Sep 17 00:00:00 2001
|
||||
From dc2fad3a1b6e64c62cdc0d26201c741cd76afae3 Mon Sep 17 00:00:00 2001
|
||||
From: Luc Schrijvers <begasus@gmail.com>
|
||||
Date: Sun, 29 Jun 2025 19:44:45 +0200
|
||||
Subject: Add missing dlfcn.h
|
||||
@@ -21,5 +21,28 @@ index 41f3aa3..70df680 100644
|
||||
#include <dlfcn.h>
|
||||
#endif
|
||||
--
|
||||
2.48.1
|
||||
2.52.0
|
||||
|
||||
|
||||
From 55f715dedda87cb9b18b536bf670e9a91a7bf518 Mon Sep 17 00:00:00 2001
|
||||
From: Luc Schrijvers <begasus@gmail.com>
|
||||
Date: Tue, 10 Feb 2026 11:14:36 +0100
|
||||
Subject: Fix build for Qt6 plugin
|
||||
|
||||
|
||||
diff --git a/ext/qt6/meson.build b/ext/qt6/meson.build
|
||||
index 79987d8..34366b2 100644
|
||||
--- a/ext/qt6/meson.build
|
||||
+++ b/ext/qt6/meson.build
|
||||
@@ -142,7 +142,7 @@ endif
|
||||
# EGL windowing for Embedded linux (e.g. i.MX6) with or without windowing
|
||||
# support
|
||||
qt6_egl = qt6_egl \
|
||||
- .require(host_system == 'linux') \
|
||||
+ .require(host_system == 'haiku') \
|
||||
.require(gstglegl_dep.found(), error_message: 'gstreamer-gl-egl-1.0 is required') \
|
||||
.require(gst_gl_have_platform_egl, error_message: 'egl platform support in gstreamer-gl is required')
|
||||
if qt6_egl.allowed()
|
||||
--
|
||||
2.52.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user