mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
qt6-multimedia: update to 6.4.2.
This commit is contained in:
parent
ec487dd2a4
commit
57c6fba882
2 changed files with 20 additions and 6 deletions
10
srcpkgs/qt6-multimedia/patches/musl-timeval.patch
Normal file
10
srcpkgs/qt6-multimedia/patches/musl-timeval.patch
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
--- qt6-multimedia-6.4.2.orig/src/plugins/multimedia/ffmpeg/qv4l2camera_p.h
|
||||||
|
+++ qt6-multimedia-6.4.2/src/plugins/multimedia/ffmpeg/qv4l2camera_p.h
|
||||||
|
@@ -22,6 +22,7 @@
|
||||||
|
#include <qfilesystemwatcher.h>
|
||||||
|
#include <qsocketnotifier.h>
|
||||||
|
#include <qmutex.h>
|
||||||
|
+#include <sys/time.h>
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
|
|
|
@ -1,19 +1,18 @@
|
||||||
# Template file for 'qt6-multimedia'
|
# Template file for 'qt6-multimedia'
|
||||||
pkgname=qt6-multimedia
|
pkgname=qt6-multimedia
|
||||||
version=6.4.0
|
version=6.4.2
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DQT_FEATURE_gstreamer=ON"
|
configure_args="-DQT_FEATURE_gstreamer=ON"
|
||||||
hostmakedepends="perl qt6-declarative-devel pkg-config
|
hostmakedepends="perl qt6-declarative-host-tools pkg-config qt6-shadertools"
|
||||||
qt6-shadertools-devel"
|
makedepends="qt6-declarative-devel pulseaudio-devel ffmpeg-devel libva-devel
|
||||||
makedepends="qt6-declarative-devel
|
qt6-shadertools-devel libglib-devel gst-plugins-base1-devel qt6-quick3d-devel"
|
||||||
qt6-shadertools-devel libglib-devel gst-plugins-base1-devel"
|
|
||||||
short_desc="Cross-platform application and UI framework - multimedia"
|
short_desc="Cross-platform application and UI framework - multimedia"
|
||||||
maintainer="John <me@johnnynator.dev>"
|
maintainer="John <me@johnnynator.dev>"
|
||||||
license="(LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only) AND GPL-3.0-only with Qt-GPL-exception-1.0"
|
license="(LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only) AND GPL-3.0-only with Qt-GPL-exception-1.0"
|
||||||
homepage="https://qt.io/"
|
homepage="https://qt.io/"
|
||||||
distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtmultimedia-everywhere-src-${version}.tar.xz"
|
distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtmultimedia-everywhere-src-${version}.tar.xz"
|
||||||
checksum=e82e8e847cae2a951a11db05b6d10a22b21e3a1d72e06a7781cce4bd197e796f
|
checksum=7f2b70deeada911c8e660e2801286657f297a5d1d543d1f6bfa856f28972c776
|
||||||
|
|
||||||
if [ "$XBPS_MACHINE" = "i686" ]; then
|
if [ "$XBPS_MACHINE" = "i686" ]; then
|
||||||
CXXFLAGS="-DPFFFT_SIMD_DISABLE=1"
|
CXXFLAGS="-DPFFFT_SIMD_DISABLE=1"
|
||||||
|
@ -30,6 +29,10 @@ do_check() {
|
||||||
ctest -E "($broken)"
|
ctest -E "($broken)"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
rm -rf ${DESTDIR}/usr/tests
|
||||||
|
}
|
||||||
|
|
||||||
qt6-multimedia-devel_package() {
|
qt6-multimedia-devel_package() {
|
||||||
depends="${sourcepkg}>=${version}_${revision} qt6-base-devel>=${version}_1"
|
depends="${sourcepkg}>=${version}_${revision} qt6-base-devel>=${version}_1"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
@ -42,6 +45,7 @@ qt6-multimedia-devel_package() {
|
||||||
vmove usr/lib/qt6/qml/QtMultimedia/plugins.qmltypes
|
vmove usr/lib/qt6/qml/QtMultimedia/plugins.qmltypes
|
||||||
vmove usr/lib/qt6/qml/QtMultimedia/qmldir
|
vmove usr/lib/qt6/qml/QtMultimedia/qmldir
|
||||||
vmove "usr/lib/*.so"
|
vmove "usr/lib/*.so"
|
||||||
|
vmove "usr/lib/*.a"
|
||||||
vmove "usr/lib/*.prl"
|
vmove "usr/lib/*.prl"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue