summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-10-07 04:08:27 +1100
committerMichael Palimaka <kensington@gentoo.org>2016-10-07 04:09:15 +1100
commit74566133ba68d9722535ce8dc04cea89667bc8aa (patch)
treee0ea255ed0ab9c0a4a58bfb6bb657cf0b71cfddf /x11-terms/qterminal/qterminal-9999.ebuild
parentx11-libs/qtermwidget: version bump (diff)
downloadgentoo-74566133ba68d9722535ce8dc04cea89667bc8aa.tar.gz
gentoo-74566133ba68d9722535ce8dc04cea89667bc8aa.tar.bz2
gentoo-74566133ba68d9722535ce8dc04cea89667bc8aa.zip
x11-terms/qterminal: version bump
Gentoo-bug: 596232 Package-Manager: portage-2.3.1
Diffstat (limited to 'x11-terms/qterminal/qterminal-9999.ebuild')
-rw-r--r--x11-terms/qterminal/qterminal-9999.ebuild44
1 files changed, 21 insertions, 23 deletions
diff --git a/x11-terms/qterminal/qterminal-9999.ebuild b/x11-terms/qterminal/qterminal-9999.ebuild
index 2d552417db5d..8d6dc6aaf068 100644
--- a/x11-terms/qterminal/qterminal-9999.ebuild
+++ b/x11-terms/qterminal/qterminal-9999.ebuild
@@ -3,7 +3,7 @@
# $Id$
EAPI=6
-inherit cmake-utils git-r3
+inherit cmake-utils git-r3 gnome2-utils
DESCRIPTION="Qt-based multitab terminal emulator"
HOMEPAGE="https://github.com/lxde/qterminal"
@@ -12,30 +12,28 @@ EGIT_REPO_URI="https://github.com/lxde/qterminal.git"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS=""
-IUSE="qt5"
+IUSE=""
RDEPEND="
- !qt5? (
- dev-qt/qtcore:4
- dev-qt/qtgui:4
- x11-libs/libqxt
- ~x11-libs/qtermwidget-${PV}[qt4]
- )
- qt5? (
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtwidgets:5
- ~x11-libs/qtermwidget-${PV}[qt5]
- )
-"
-DEPEND="${RDEPEND}
- qt5? ( dev-qt/linguist-tools:5 )
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+ x11-libs/libX11
+ ~x11-libs/qtermwidget-${PV}
"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}/${PN}-no-liblxqt.patch" )
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
-src_configure() {
- local mycmakeargs=(
- -DUSE_QT5=$(usex qt5)
- -DUSE_SYSTEM_QXT=$(usex !qt5)
- )
- cmake-utils_src_configure
+pkg_postrm() {
+ gnome2_icon_cache_update
}