From 096c3cbdffa617c2078740f0a6e4a3261bebd874 Mon Sep 17 00:00:00 2001 From: Jonathan Scruggs Date: Wed, 11 Jul 2018 16:21:11 +0100 Subject: x11-terms/qterminal: version update to 0.9.0 Closes: https://bugs.gentoo.org/636560 --- x11-terms/qterminal/Manifest | 1 + .../qterminal/files/qterminal-0.9.0-nofetch.patch | 28 ++++++++++++ x11-terms/qterminal/qterminal-0.9.0.ebuild | 50 ++++++++++++++++++++++ 3 files changed, 79 insertions(+) create mode 100644 x11-terms/qterminal/files/qterminal-0.9.0-nofetch.patch create mode 100644 x11-terms/qterminal/qterminal-0.9.0.ebuild (limited to 'x11-terms/qterminal') diff --git a/x11-terms/qterminal/Manifest b/x11-terms/qterminal/Manifest index d81b418290e3..5e31db7e865d 100644 --- a/x11-terms/qterminal/Manifest +++ b/x11-terms/qterminal/Manifest @@ -1 +1,2 @@ DIST qterminal-0.7.1.tar.xz 99164 BLAKE2B d1f831cc8eb9ff5ba4a81325a29461d698addcfcba44e0881b0f5adfc20ec2dda5b408e8909e7a3faa3c0a283cff805b91cfb31c41ef6d02fbf99a9936409357 SHA512 45f83a4179a90379678b7875de386e04c77505d89d8c0c447a0892a279bc1776d0847a54683d43af085bcb306cc0e4d0858f1c49dc6e0e08f549d7350584625d +DIST qterminal-0.9.0.tar.xz 107072 BLAKE2B 08673e6cde08d9b95a1197d8125a2997e3f28be4e2825bb7b3a757f01ba7a29808c71eb22d80ba1b3c92885230c275414b501120316be91af9f623f3ff05b4e0 SHA512 42553a847873e71543161855b6f07b521ebf7db8091a1753dfc4ad4bbdf7f074f74b7e7195e56ee482b5b9ff3ea3037250ba74fb64a8137fb3959fceaa2baa6e diff --git a/x11-terms/qterminal/files/qterminal-0.9.0-nofetch.patch b/x11-terms/qterminal/files/qterminal-0.9.0-nofetch.patch new file mode 100644 index 000000000000..646d0ce09903 --- /dev/null +++ b/x11-terms/qterminal/files/qterminal-0.9.0-nofetch.patch @@ -0,0 +1,28 @@ +From 26907a1bffbd975529598a3dea2094448a43fe93 Mon Sep 17 00:00:00 2001 +From: Alf Gaida +Date: Tue, 5 Jun 2018 22:21:48 +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 6e45aa1..f92aa79 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -125,14 +125,6 @@ lxqt_translate_ts(QTERM_QM + ${QTERM_UI_SRC} + ${QTERM_MOC_SRC} + TRANSLATION_DIR "src/translations" +- PULL_TRANSLATIONS +- ${PULL_TRANSLATIONS} +- CLEAN_TRANSLATIONS +- ${CLEAN_TRANSLATIONS} +- TRANSLATIONS_REPO +- ${TRANSLATIONS_REPO} +- TRANSLATIONS_REFSPEC +- ${TRANSLATIONS_REFSPEC} + ) + + include_directories( diff --git a/x11-terms/qterminal/qterminal-0.9.0.ebuild b/x11-terms/qterminal/qterminal-0.9.0.ebuild new file mode 100644 index 000000000000..6b2342fe6296 --- /dev/null +++ b/x11-terms/qterminal/qterminal-0.9.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils eapi7-ver gnome2-utils xdg-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-based multitab terminal emulator" +HOMEPAGE="https://lxqt.org/" + +LICENSE="GPL-2+ LGPL-2.1+" +SLOT="0" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5= + dev-qt/qtwidgets:5 + dev-qt/qtx11extras:5 + x11-libs/libX11 + =x11-libs/qtermwidget-$(ver_cut 1-2)*:* +" +DEPEND="${RDEPEND} + >=dev-util/lxqt-build-tools-0.5.0 +" + +src_configure() { + local mycmakeargs=( + -DPULL_TRANSLATIONS=OFF + ) + cmake-utils_src_configure +} + +pkg_postinst() { + xdg_desktop_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + gnome2_icon_cache_update +} -- cgit v1.2.3-65-gdbad