summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Brezerk <brezerk@gmail.com>2016-02-15 15:11:53 +1100
committerMichael Palimaka <kensington@gentoo.org>2016-02-15 15:12:55 +1100
commitb5044478a38f2af48dbdbd708d5069b72133f141 (patch)
tree4c08dfd9cfa989506cb0548902b57785ff433d93 /app-emulation/q4wine
parentsys-libs/gpm: delete old <1.20.7-r2 versions (diff)
downloadgentoo-b5044478a38f2af48dbdbd708d5069b72133f141.tar.gz
gentoo-b5044478a38f2af48dbdbd708d5069b72133f141.tar.bz2
gentoo-b5044478a38f2af48dbdbd708d5069b72133f141.zip
app-emulation/q4wine: add Qt 5 support
Gentoo-bug: 573764 Package-Manager: portage-2.2.27
Diffstat (limited to 'app-emulation/q4wine')
-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)