summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2024-02-24 03:40:30 +0100
committerMaciej Mrozowski <reavertm@gentoo.org>2024-02-24 05:44:48 +0100
commitf330102cb784869c8e89b34e5a3f6493e8b1d1c8 (patch)
treee78f5980c7def8c8fbc2bb50c1054ad9b87e373a /media-libs
parentdev-db/postgresql: Stabilize 16.2 ppc, #924109 (diff)
downloadgentoo-f330102cb784869c8e89b34e5a3f6493e8b1d1c8.tar.gz
gentoo-f330102cb784869c8e89b34e5a3f6493e8b1d1c8.tar.bz2
gentoo-f330102cb784869c8e89b34e5a3f6493e8b1d1c8.zip
media-libs/SoQt: 1.6.2: update EAPI 7 -> 8, add qt6 USE flag
Signed-off-by: Maciej Mrozowski <reavertm@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/SoQt/SoQt-1.6.2.ebuild25
1 files changed, 17 insertions, 8 deletions
diff --git a/media-libs/SoQt/SoQt-1.6.2.ebuild b/media-libs/SoQt/SoQt-1.6.2.ebuild
index 1d15e23f337a..02627ad53741 100644
--- a/media-libs/SoQt/SoQt-1.6.2.ebuild
+++ b/media-libs/SoQt/SoQt-1.6.2.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit cmake flag-o-matic
@@ -14,21 +14,30 @@ SRC_URI="https://github.com/coin3d/soqt/releases/download/v${PV}/${MY_P}-src.tar
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
SLOT="0"
-IUSE="debug doc"
+IUSE="debug doc qt6"
RDEPEND="
media-libs/coin
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtwidgets:5
- dev-qt/qtopengl:5
virtual/opengl
x11-libs/libX11
x11-libs/libXi
+ !qt6? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtopengl:5
+ )
+ qt6? (
+ dev-qt/qtbase:6[gui,opengl,widgets]
+ )
"
+
DEPEND="${RDEPEND}
- virtual/pkgconfig
x11-base/xorg-proto
+"
+
+BDEPEND="
+ virtual/pkgconfig
doc? ( app-text/doxygen )
"
@@ -42,7 +51,7 @@ src_configure() {
-DCMAKE_INSTALL_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
-DSOQT_BUILD_DOCUMENTATION=$(usex doc)
-DSOQT_BUILD_INTERNAL_DOCUMENTATION=OFF
- -DSOQT_USE_QT6=OFF
+ -DSOQT_USE_QT6=$(usex qt6)
-DSOQT_VERBOSE=$(usex debug)
)
cmake_src_configure