commit:     8969f5be2ea2de4790ce0ecaf41bf2ef8f5fec30
Author:     Jonathan Scruggs <j.scruggs <AT> gmail <DOT> com>
AuthorDate: Wed Jul 11 15:07:13 2018 +0000
Commit:     Jonathan Scruggs <dracwyrm <AT> gentoo <DOT> org>
CommitDate: Sat Aug 11 10:09:14 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8969f5be

x11-libs/qtermwidget: version update to 0.9.0

 x11-libs/qtermwidget/Manifest                      |  1 +
 .../files/qtermwidget-0.9.0-nofetch.patch          | 28 +++++++++++++++++
 x11-libs/qtermwidget/metadata.xml                  |  8 ++---
 x11-libs/qtermwidget/qtermwidget-0.9.0.ebuild      | 36 ++++++++++++++++++++++
 4 files changed, 69 insertions(+), 4 deletions(-)

diff --git a/x11-libs/qtermwidget/Manifest b/x11-libs/qtermwidget/Manifest
index f31260d678a..114681e6ceb 100644
--- a/x11-libs/qtermwidget/Manifest
+++ b/x11-libs/qtermwidget/Manifest
@@ -1 +1,2 @@
 DIST qtermwidget-0.7.1.tar.xz 158172 BLAKE2B 
7fc013a4bdd589ea8d08f440d48fcc924c71635292ceb0ec7b38142733f14f280eeda599fa35b6fc4f9bfbcaaec565e35163274709c43c7ec9e56e51cc2ab2dc
 SHA512 
a8660ca5355103cf9d9f72ec5213f3c04d02dff44ceaa26297960def07335596eba6b125a7b3ca1a02f8c19a99edffdee68c57ff0c3f357cc3df149d3e9c5c99
+DIST qtermwidget-0.9.0.tar.xz 166976 BLAKE2B 
5f3f56168e21dbf9a5039784fbb42682b5422fc919c3f30c4240acdff23b57dd7f850eb37bba96a50ae18f9b2594dd3ccdde173d3cf002e39611f67085cc9e0c
 SHA512 
fc7286dc3494bd1ccdd95fae3cee7cc8dd39b51eab58e697d939d5fb85c930545d79b984769815708852335e460ad063b684291b200e1e7f90c13195ea5e66dc

diff --git a/x11-libs/qtermwidget/files/qtermwidget-0.9.0-nofetch.patch 
b/x11-libs/qtermwidget/files/qtermwidget-0.9.0-nofetch.patch
new file mode 100644
index 00000000000..b0b84e174a2
--- /dev/null
+++ b/x11-libs/qtermwidget/files/qtermwidget-0.9.0-nofetch.patch
@@ -0,0 +1,28 @@
+From 8d29395d189a99d05792c34de3edc5a2fdd267de Mon Sep 17 00:00:00 2001
+From: Alf Gaida <aga...@siduction.org>
+Date: Tue, 5 Jun 2018 21:53:17 +0200
+Subject: [PATCH] Removed translation related git stuff from CMakeLists.txt
+
+---
+ CMakeLists.txt | 8 --------
+ 1 file changed, 8 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 462e841..9abe385 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -129,14 +129,6 @@ lxqt_translate_ts(QTERMWIDGET_QM
+         ${UPDATE_TRANSLATIONS}
+     SOURCES
+         ${SRCS} ${HDRS} ${UI}
+-    PULL_TRANSLATIONS
+-        ${PULL_TRANSLATIONS}
+-    CLEAN_TRANSLATIONS
+-        ${CLEAN_TRANSLATIONS}
+-    TRANSLATIONS_REPO
+-        ${TRANSLATIONS_REPO}
+-    TRANSLATIONS_REFSPEC
+-        ${TRANSLATIONS_REFSPEC}
+     INSTALL_DIR
+         ${TRANSLATIONS_DIR}
+     COMPONENT

diff --git a/x11-libs/qtermwidget/metadata.xml 
b/x11-libs/qtermwidget/metadata.xml
index d1448f78dfc..779c6c6b024 100644
--- a/x11-libs/qtermwidget/metadata.xml
+++ b/x11-libs/qtermwidget/metadata.xml
@@ -6,11 +6,11 @@
                <name>Gentoo Qt Project</name>
        </maintainer>
        <longdescription lang="en">
-       QTermWidget is an opensource project based on KDE4 Konsole application.
-       The main goal of this project is to provide unicode-enabled, embeddable
-       Qt widget for using as a built-in console or terminal emulation widget.
+               QTermWidget is an opensource project based on konsole (a KDE 
application).
+               The main goal of this project is to provide unicode-enabled, 
embeddable
+               Qt widget for using as a built-in console or terminal emulation 
widget.
        </longdescription>
        <upstream>
-               <remote-id type="github">qterminal/qtermwidget</remote-id>
+               <remote-id type="github">lxqt/qtermwidget</remote-id>
        </upstream>
 </pkgmetadata>

diff --git a/x11-libs/qtermwidget/qtermwidget-0.9.0.ebuild 
b/x11-libs/qtermwidget/qtermwidget-0.9.0.ebuild
new file mode 100644
index 00000000000..d10ac1760da
--- /dev/null
+++ b/x11-libs/qtermwidget/qtermwidget-0.9.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+if [[ "${PV}" == "9999" ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/lxqt/${PN}.git";
+else
+       SRC_URI="https://downloads.lxqt.org/downloads/${PN}/${PV}/${P}.tar.xz";
+       KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+DESCRIPTION="Qt terminal emulator widget"
+HOMEPAGE="https://github.com/lxqt/qtermwidget";
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0/${PV}"
+
+RDEPEND="
+       dev-qt/qtcore:5
+       dev-qt/qtgui:5
+       dev-qt/qtwidgets:5
+"
+DEPEND="${RDEPEND}
+       >=dev-util/lxqt-build-tools-0.5.0
+"
+
+src_configure() {
+       local mycmakeargs=(
+               -DPULL_TRANSLATIONS=OFF
+       )
+       cmake-utils_src_configure
+}

Reply via email to