--- qtermwidget-0.4.0.37.ebuild 2014-09-18 14:29:35.099182591 +0200 +++ - 2014-09-18 14:26:45.613772528 +0200 @@ -13,8 +13,25 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~arm ~x86" -IUSE="debug" # todo: python +IUSE="debug qt4 qt5" # todo: python -DEPEND="dev-qt/qtcore:4 - dev-qt/qtgui:4" +REQUIRED_USE="^^ ( qt4 qt5 )" + +DEPEND=" + qt4? ( + dev-qt/qtcore:4 + dev-qt/qtgui:4 + ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + )" RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_use qt5) + $(cmake-utils_use_build qt4 DESIGNER_PLUGIN) + ) + cmake-utils_src_configure +} Reproducible: Always
--- qtermwidget-0.4.0.37.ebuild 2014-09-13 19:01:19.000000000 +0200 +++ - 2014-10-22 19:44:09.591368997 +0200 @@ -4,17 +4,32 @@ EAPI="5" -inherit vcs-snapshot cmake-utils +inherit cmake-utils -DESCRIPTION="Qt4 terminal emulator widget" -HOMEPAGE="https://github.com/qterminal/" -SRC_URI="http://dist.leechcraft.org/3rdparty/qtermwidget/qtermwidget-0.4.0-37-gebf7d6c.tar.xz -> ${P}.tar.xz" +DESCRIPTION="Qt terminal emulator widget" +HOMEPAGE="https://github.com/qterminal/qtermwidget" +SRC_URI="https://github.com/qterminal/${PN}/releases/download/${PV}/${P}.tar.xz" -LICENSE="GPL-2" +LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64 ~arm ~x86" -IUSE="debug" # todo: python +IUSE="debug qt5" -DEPEND="dev-qt/qtcore:4 - dev-qt/qtgui:4" +DEPEND=" + !qt5? ( + dev-qt/qtcore:4 + dev-qt/qtgui:4 + ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + )" RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_use qt5) + $(cmake-utils_use_build !qt5 DESIGNER_PLUGIN) + ) + cmake-utils_src_configure +}
Good news! qtermwidget-0.6.0 released 10/22/2014 Release highlights: - Full Qt 5 support - German, Estonian, Spanish translations - Drag & Drop support - Lots of bugfixes and cleanups (cf. http://sourceforge.net/p/lxde/mailman/message/32957535/) I've tested the new ebuild with Qt5-only system.
+ 03 Feb 2015; Ben de Groot <yngwin@gentoo.org> +qtermwidget-0.6.0.ebuild, + -qtermwidget-9999.ebuild: + version bump (bug #523118); move live ebuild to qt overlay