summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2023-08-09 20:21:14 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2023-08-09 20:21:33 +0300
commitc9232ae9d98746ab182b38a3face2d8cfc928ae6 (patch)
tree60ca6364b3ba682da986f68590f04ff684ef74a0 /media-video
parentmedia-video/qmplay2: add 23.08.08, enable qt6 (diff)
downloadgentoo-c9232ae9d98746ab182b38a3face2d8cfc928ae6.tar.gz
gentoo-c9232ae9d98746ab182b38a3face2d8cfc928ae6.tar.bz2
gentoo-c9232ae9d98746ab182b38a3face2d8cfc928ae6.zip
media-video/qmplay2: sync live
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'media-video')
-rw-r--r--media-video/qmplay2/qmplay2-9999.ebuild39
1 files changed, 26 insertions, 13 deletions
diff --git a/media-video/qmplay2/qmplay2-9999.ebuild b/media-video/qmplay2/qmplay2-9999.ebuild
index 9c898d587e0e..4c9184782dc4 100644
--- a/media-video/qmplay2/qmplay2-9999.ebuild
+++ b/media-video/qmplay2/qmplay2-9999.ebuild
@@ -21,24 +21,35 @@ LICENSE="LGPL-3"
SLOT="0"
IUSE="avdevice +audiofilters +alsa cdio cuvid extensions gme inputs libass
- modplug notifications opengl pipewire portaudio pulseaudio sid shaders
- +taglib vaapi vdpau videofilters visualizations vulkan xv"
+ modplug notifications opengl pipewire portaudio pulseaudio +qt5 qt6 sid
+ shaders +taglib vaapi vdpau videofilters visualizations vulkan xv"
REQUIRED_USE="
audiofilters? ( || ( alsa pipewire portaudio pulseaudio ) )
- shaders? ( vulkan )"
+ shaders? ( vulkan )
+ ^^ ( qt5 qt6 )
+"
RDEPEND="
- dev-qt/qtcore:5
- dev-qt/qtdbus:5
- dev-qt/qtgui:5[X(-),vulkan?]
- dev-qt/qtsvg:5
- dev-qt/qtwidgets:5
- dev-qt/qtx11extras:5
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5[X(-),vulkan?]
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+ extensions? ( dev-qt/qtdeclarative:5 )
+ videofilters? ( dev-qt/qtconcurrent:5 )
+ )
+ qt6? (
+ dev-qt/qtbase:6[concurrent,dbus,gui,network,opengl?,ssl,vulkan?,widgets]
+ dev-qt/qt5compat:6
+ dev-qt/qtsvg:6
+ extensions? ( dev-qt/qtdeclarative:6 )
+ )
media-video/ffmpeg:=[vaapi?,vdpau?]
alsa? ( media-libs/alsa-lib )
cdio? ( dev-libs/libcdio[cddb] )
- extensions? ( dev-qt/qtdeclarative:5 )
gme? ( media-libs/game-music-emu )
libass? ( media-libs/libass )
opengl? ( virtual/opengl )
@@ -49,12 +60,14 @@ RDEPEND="
shaders? ( >=media-libs/shaderc-2020.1 )
taglib? ( media-libs/taglib )
vaapi? ( media-libs/libva[X] )
- videofilters? ( dev-qt/qtconcurrent:5 )
vulkan? ( >=media-libs/vulkan-loader-1.2.133 )
xv? ( x11-libs/libXv )
"
DEPEND="${RDEPEND}"
-BDEPEND="dev-qt/linguist-tools:5"
+BDEPEND="
+ qt5? ( dev-qt/linguist-tools:5 )
+ qt6? ( dev-qt/qttools:6[linguist] )
+"
src_prepare() {
# disable compress man pages
@@ -68,7 +81,7 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
- -DBUILD_WITH_QT6=Off
+ -DBUILD_WITH_QT6=$(usex qt6)
# core
-DUSE_LINK_TIME_OPTIMIZATION=false
-DUSE_UPDATES=OFF