diff options
Diffstat (limited to 'x11-terms')
-rw-r--r-- | x11-terms/qterminal/Manifest | 1 | ||||
-rw-r--r-- | x11-terms/qterminal/files/qterminal-0.8.0-no-liblxqt.patch | 55 | ||||
-rw-r--r-- | x11-terms/qterminal/qterminal-0.8.0.ebuild | 38 |
3 files changed, 94 insertions, 0 deletions
diff --git a/x11-terms/qterminal/Manifest b/x11-terms/qterminal/Manifest new file mode 100644 index 00000000..81a09841 --- /dev/null +++ b/x11-terms/qterminal/Manifest @@ -0,0 +1 @@ +DIST qterminal-0.8.0.tar.xz 104780 SHA256 a741a8688e696537c3bb2dfaa632b9dcc11f3672b9c6a031354b465de5fd987a SHA512 c2046727900bfa8f389a90a38c3843131f324af0b2f52810966f5df624c74fee31c8825b7bd86d0b44c896d276fff6ffbf17dd9796143f5e3940b4ba33dd98af WHIRLPOOL c610024c074faa7869c188e6826e5626c0f2e864723b1d2ea9f414415f86a402388b110e27cc29bfe027e24892acfc814299e8756d8282346b47b42cc5a5bfca diff --git a/x11-terms/qterminal/files/qterminal-0.8.0-no-liblxqt.patch b/x11-terms/qterminal/files/qterminal-0.8.0-no-liblxqt.patch new file mode 100644 index 00000000..989ee931 --- /dev/null +++ b/x11-terms/qterminal/files/qterminal-0.8.0-no-liblxqt.patch @@ -0,0 +1,55 @@ +diff -Nur a/CMakeLists.txt b/CMakeLists.txt +--- a/CMakeLists.txt 2017-10-21 20:44:07.000000000 +0100 ++++ b/CMakeLists.txt 2017-12-03 22:20:14.845402570 +0000 +@@ -24,8 +24,8 @@ + find_package(Qt5DBus) + endif() + find_package(QTermWidget5 REQUIRED) +-find_package(lxqt-build-tools ${LXQTBT_MINIMUM_VERSION} REQUIRED) +-include(LXQtTranslateTs) ++#find_package(lxqt-build-tools ${LXQTBT_MINIMUM_VERSION} REQUIRED) ++#include(LXQtTranslateTs) + include(LXQtCompilerSettings NO_POLICY_SCOPE) + message(STATUS "Qt version: ${Qt5Core_VERSION}") + +@@ -109,23 +109,23 @@ + qt5_wrap_ui( QTERM_UI ${QTERM_UI_SRC} ) + qt5_wrap_cpp( QTERM_MOC ${QTERM_MOC_SRC} ) + qt5_add_resources( QTERM_RCC ${QTERM_RCC_SRC} ) +-lxqt_translate_ts(QTERM_QM +- UPDATE_TRANSLATIONS +- ${UPDATE_TRANSLATIONS} +- SOURCES +- ${QTERM_SRC} +- ${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} +-) ++#lxqt_translate_ts(QTERM_QM ++# UPDATE_TRANSLATIONS ++# ${UPDATE_TRANSLATIONS} ++# SOURCES ++# ${QTERM_SRC} ++# ${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( + "${PROJECT_SOURCE_DIR}" diff --git a/x11-terms/qterminal/qterminal-0.8.0.ebuild b/x11-terms/qterminal/qterminal-0.8.0.ebuild new file mode 100644 index 00000000..7092e899 --- /dev/null +++ b/x11-terms/qterminal/qterminal-0.8.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit cmake-utils gnome2-utils + +DESCRIPTION="Qt-based multitab terminal emulator" +HOMEPAGE="https://github.com/lxde/qterminal" +SRC_URI="https://github.com/lxde/${PN}/releases/download/${PV}/${P}.tar.xz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 ~arm x86" +IUSE="" + +RDEPEND=" + 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}/${P}-no-liblxqt.patch" ) + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |