Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 523118 - x11-libs/qtermwidget-0.6.0 version bump
Summary: x11-libs/qtermwidget-0.6.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 523120
  Show dependency tree
 
Reported: 2014-09-18 12:33 UTC by Alpha Bravo
Modified: 2015-02-03 09:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alpha Bravo 2014-09-18 12:33:04 UTC
--- 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
Comment 1 Alpha Bravo 2014-10-22 17:45:48 UTC
--- 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
+}
Comment 2 Alpha Bravo 2014-10-22 17:50:02 UTC
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.
Comment 3 Ben de Groot (RETIRED) gentoo-dev 2015-02-03 09:06:18 UTC
+  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