Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 523120 - x11-terms/qterminal-0.6.0 version bump
Summary: x11-terms/qterminal-0.6.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords: PATCH
Depends on: 523118
Blocks:
  Show dependency tree
 
Reported: 2014-09-18 12:37 UTC by Alpha Bravo
Modified: 2015-02-03 09:05 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:37:52 UTC
--- qterminal-0.5.0_p20140913.ebuild    2014-09-18 14:34:19.819199029 +0200
+++ -        2014-09-18 14:24:58.594144593 +0200
@@ -2,21 +2,40 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/x11-terms/qterminal/qterminal-0.5.0_p20140913.ebuild,v 1.1 2014/09/13 16:44:30 kensington Exp $
 
-EAPI=5
+EAPI="5"
 
 inherit cmake-utils
 
-DESCRIPTION="Qt4-based multitab terminal emulator"
+DESCRIPTION="Qt-based multitab terminal emulator"
 HOMEPAGE="https://github.com/qterminal/qterminal"
 SRC_URI="https://dev.gentoo.org/~kensington/distfiles/${P}.tar.xz"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="debug"
+IUSE="debug qt4 qt5"
 
-DEPEND="dev-qt/qtcore:4
-       dev-qt/qtgui:4
-       x11-libs/libqxt
-       >=x11-libs/qtermwidget-0.4.0.37"
+REQUIRED_USE="^^ ( qt4 qt5 )"
+
+DEPEND="
+       qt4? (
+               dev-qt/qtcore:4
+               dev-qt/qtgui:4
+               x11-libs/libqxt
+               x11-libs/qtermwidget[qt4]
+       )
+       qt5? (
+               dev-qt/qtcore:5
+               dev-qt/qtgui:5
+               dev-qt/linguist-tools:5
+               >=x11-libs/qtermwidget-0.4.0.37[qt5]
+       )"
 RDEPEND="${DEPEND}"
+
+src_configure() {
+       local mycmakeargs=(
+               $(cmake-utils_use_use qt5 QT5)
+               $(cmake-utils_use_use qt4 SYSTEM_QXT)
+       )
+       cmake-utils_src_configure
+}

Reproducible: Always
Comment 1 Alpha Bravo 2014-10-22 18:03:23 UTC
--- qterminal-0.5.0_p20140913.ebuild   2014-09-27 14:01:21.000000000 +0200
+++ -      2014-10-22 20:02:17.246097163 +0200
@@ -2,21 +2,38 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/x11-terms/qterminal/qterminal-0.5.0_p20140913.ebuild,v 1.2 2014/09/27 11:38:55 maekke Exp $
 
-EAPI=5
+EAPI="5"
 
 inherit cmake-utils
 
-DESCRIPTION="Qt4-based multitab terminal emulator"
+DESCRIPTION="Qt-based multitab terminal emulator"
 HOMEPAGE="https://github.com/qterminal/qterminal"
-SRC_URI="https://dev.gentoo.org/~kensington/distfiles/${P}.tar.xz"
+SRC_URI="https://github.com/qterminal/${PN}/releases/download/${PV}/${P}.tar.xz"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~x86"
-IUSE="debug"
+IUSE="debug qt5"
 
-DEPEND="dev-qt/qtcore:4
-       dev-qt/qtgui:4
-       x11-libs/libqxt
-       >=x11-libs/qtermwidget-0.4.0.37"
+DEPEND="
+       !qt5? (
+               dev-qt/qtcore:4
+               dev-qt/qtgui:4
+               x11-libs/libqxt
+               x11-libs/qtermwidget[-qt5]
+       )
+       qt5? (
+               dev-qt/qtcore:5
+               dev-qt/qtgui:5
+               dev-qt/linguist-tools:5
+               >=x11-libs/qtermwidget-0.4.0.37[qt5]
+       )"
 RDEPEND="${DEPEND}"
+
+src_configure() {
+       local mycmakeargs=(
+               $(cmake-utils_use_use qt5 QT5)
+               $(cmake-utils_use_use !qt5 SYSTEM_QXT)
+       )
+       cmake-utils_src_configure
+}
Comment 2 Alpha Bravo 2014-10-22 18:05:59 UTC
Here you go! qterminal-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/)

Tested on Qt5-only system.
Comment 3 Alpha Bravo 2014-10-22 18:09:26 UTC
--- qterminal-0.5.0_p20140913.ebuild   2014-09-27 14:01:21.000000000 +0200
+++ -      2014-10-22 20:07:15.439682714 +0200
@@ -2,21 +2,38 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/x11-terms/qterminal/qterminal-0.5.0_p20140913.ebuild,v 1.2 2014/09/27 11:38:55 maekke Exp $
 
-EAPI=5
+EAPI="5"
 
 inherit cmake-utils
 
-DESCRIPTION="Qt4-based multitab terminal emulator"
+DESCRIPTION="Qt-based multitab terminal emulator"
 HOMEPAGE="https://github.com/qterminal/qterminal"
-SRC_URI="https://dev.gentoo.org/~kensington/distfiles/${P}.tar.xz"
+SRC_URI="https://github.com/qterminal/${PN}/releases/download/${PV}/${P}.tar.xz"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~x86"
-IUSE="debug"
+IUSE="debug qt5"
 
-DEPEND="dev-qt/qtcore:4
-       dev-qt/qtgui:4
-       x11-libs/libqxt
-       >=x11-libs/qtermwidget-0.4.0.37"
+DEPEND="
+       !qt5? (
+               dev-qt/qtcore:4
+               dev-qt/qtgui:4
+               x11-libs/libqxt
+               x11-libs/qtermwidget[-qt5]
+       )
+       qt5? (
+               dev-qt/qtcore:5
+               dev-qt/qtgui:5
+               dev-qt/linguist-tools:5
+               >=x11-libs/qtermwidget-0.6.0[qt5]
+       )"
 RDEPEND="${DEPEND}"
+
+src_configure() {
+       local mycmakeargs=(
+               $(cmake-utils_use_use qt5 QT5)
+               $(cmake-utils_use_use !qt5 SYSTEM_QXT)
+       )
+       cmake-utils_src_configure
+}
Comment 4 Ben de Groot (RETIRED) gentoo-dev 2015-02-03 09:05:26 UTC
+*qterminal-0.6.0 (03 Feb 2015)
+
+  03 Feb 2015; Ben de Groot <yngwin@gentoo.org> +qterminal-0.6.0.ebuild:
+  version bump (bug #523120)