commit: 81db81943b6e79418864c23061323f7e63d46a4e
Author: Jauhien Piatlicki <jauhien <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 19 21:19:48 2014 +0000
Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Sun Oct 19 21:20:42 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=81db8194
[lxqt-base/liblxqt] update live ebuild, drop QT4 support
---
lxqt-base/liblxqt/liblxqt-9999.ebuild | 25 ++++++++++++++++++++-----
1 file changed, 20 insertions(+), 5 deletions(-)
diff --git a/lxqt-base/liblxqt/liblxqt-9999.ebuild
b/lxqt-base/liblxqt/liblxqt-9999.ebuild
index 30a27d8..f3a5d57 100644
--- a/lxqt-base/liblxqt/liblxqt-9999.ebuild
+++ b/lxqt-base/liblxqt/liblxqt-9999.ebuild
@@ -14,20 +14,35 @@ if [[ ${PV} = *9999* ]]; then
else
SRC_URI="http://lxqt.org/downloads/${PV}/${P}.tar.xz"
KEYWORDS="~amd64 ~x86"
- S=${WORKDIR}
fi
LICENSE="GPL-2 LGPL-2.1+"
SLOT="0"
-DEPEND=">=razorqt-base/libqtxdg-0.5.3
+DEPEND=">=razorqt-base/libqtxdg-1.0.0
x11-libs/libX11
x11-libs/libXcomposite
x11-libs/libXcursor
x11-libs/libXdamage
x11-libs/libXfixes
x11-libs/libXrender
- dev-qt/qtcore:4
- dev-qt/qtdbus:4
- dev-qt/qtgui:4"
+ dev-qt/linguist-tools:5
+ dev-qt/qtdbus:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+"
RDEPEND="${DEPEND}"
+
+pkg_pretend() {
+ if [[ ${MERGE_TYPE} != binary ]]; then
+ [[ $(gcc-version) < 4.8 ]] && \
+ die 'The active compiler needs to be gcc 4.8 (or newer)'
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DUSE_QT5=ON
+ )
+ cmake-utils_src_configure
+}