x11-libs/qtermwidget: version update to 0.9.0
authorJonathan Scruggs <j.scruggs@gmail.com>
Wed, 11 Jul 2018 15:07:13 +0000 (16:07 +0100)
committerJonathan Scruggs <dracwyrm@gentoo.org>
Sat, 11 Aug 2018 10:09:14 +0000 (11:09 +0100)
x11-libs/qtermwidget/Manifest
x11-libs/qtermwidget/files/qtermwidget-0.9.0-nofetch.patch [new file with mode: 0644]
x11-libs/qtermwidget/metadata.xml
x11-libs/qtermwidget/qtermwidget-0.9.0.ebuild [new file with mode: 0644]

index f31260d678a40cd7d0a93c24c03e3b7fced129d9..114681e6ceb855a43956a6136f0b0f197bb5cc9e 100644 (file)
@@ -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 (file)
index 0000000..b0b84e1
--- /dev/null
@@ -0,0 +1,28 @@
+From 8d29395d189a99d05792c34de3edc5a2fdd267de Mon Sep 17 00:00:00 2001
+From: Alf Gaida <agaida@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
index d1448f78dfc3372f8643b8dd405aec6a4f8f279b..779c6c6b024ca27a9527aaf7a65e5a8ae1d37924 100644 (file)
@@ -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 (file)
index 0000000..d10ac17
--- /dev/null
@@ -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
+}