summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/q4wine/q4wine-1.2_p2.ebuild26
1 files changed, 19 insertions, 7 deletions
diff --git a/app-emulation/q4wine/q4wine-1.2_p2.ebuild b/app-emulation/q4wine/q4wine-1.2_p2.ebuild
index 686546e9b44d..4493d4b60b55 100644
--- a/app-emulation/q4wine/q4wine-1.2_p2.ebuild
+++ b/app-emulation/q4wine/q4wine-1.2_p2.ebuild
@@ -21,14 +21,26 @@ SRC_URI="mirror://sourceforge/${PN}/${PN}/${PN}%20${MY_PV}/${MY_P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="+dbus debug +icoutils +wineappdb"
+IUSE="+dbus debug +icoutils qt5 +wineappdb"
DEPEND="
- dev-qt/qtcore:4
- dev-qt/qtgui:4
- dev-qt/qtsingleapplication[qt4(+),X]
- dev-qt/qtsql:4[sqlite]
- dbus? ( dev-qt/qtdbus:4 )
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtsingleapplication[qt5(+),X]
+ dev-qt/qtsql:5[sqlite]
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+ dbus? ( dev-qt/qtdbus:5 )
+ )
+ !qt5? (
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ dev-qt/qtsingleapplication[qt4(+),X]
+ dev-qt/qtsql:4[sqlite]
+ dbus? ( dev-qt/qtdbus:4 )
+ )
"
RDEPEND="${DEPEND}
app-admin/sudo
@@ -51,9 +63,9 @@ src_configure() {
l10n_for_each_locale_do construct_LINGUAS
local mycmakeargs=(
-DLINGUAS="${enabled_linguas}"
- -DQT5=OFF
-DWITH_SYSTEM_SINGLEAPP=ON
$(cmake-utils_use debug)
+ $(cmake-utils_use qt5)
$(cmake-utils_use_with dbus)
$(cmake-utils_use_with icoutils)
$(cmake-utils_use_with wineappdb)