summaryrefslogtreecommitdiff
path: root/dev-qt/qtermwidget/qtermwidget-0.7.1-r1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-18 17:11:52 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-18 17:11:52 +0000
commit5a6110ba8efdf8273cb9c45d7e1ea747455e55c7 (patch)
tree9450ff8112752e34845736699a80c21cd06a078e /dev-qt/qtermwidget/qtermwidget-0.7.1-r1.ebuild
parent5a96128dd169ab38a281a3e0234161ae094f7cf5 (diff)
dev-qt/qtermwidget : trigger rebuild
Diffstat (limited to 'dev-qt/qtermwidget/qtermwidget-0.7.1-r1.ebuild')
-rw-r--r--dev-qt/qtermwidget/qtermwidget-0.7.1-r1.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-qt/qtermwidget/qtermwidget-0.7.1-r1.ebuild b/dev-qt/qtermwidget/qtermwidget-0.7.1-r1.ebuild
new file mode 100644
index 00000000..f889c8f2
--- /dev/null
+++ b/dev-qt/qtermwidget/qtermwidget-0.7.1-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{3_4,3_5} )
+
+inherit eutils python-r1
+
+DESCRIPTION="Qt terminal emulator widget"
+HOMEPAGE="https://github.com/lxde/qtermwidget"
+SRC_URI="https://github.com/lxde/${PN}/releases/download/${PV}/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~arm x86"
+IUSE=""
+
+DEPEND="
+ dev-python/PyQt5[${PYTHON_USEDEP}]
+ dev-python/sip[${PYTHON_USEDEP}]
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ ~x11-libs/qtermwidget-${PV}
+"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}-${PV}/pyqt"
+
+src_prepare () {
+ default
+ eapply -p2 "${FILESDIR}"/${P}-pyqt5.7-compat.patch
+}
+
+src_compile () {
+ python_foreach_impl python config.py
+ emake || die
+}
+
+src_install () {
+ default
+ rm -rf ${ED}usr/share/doc
+}