diff options
Diffstat (limited to 'x11-terms/qterminal')
-rw-r--r-- | x11-terms/qterminal/Manifest | 8 | ||||
-rw-r--r-- | x11-terms/qterminal/files/qterminal-0.7.1-no-liblxqt.patch | 51 | ||||
-rw-r--r-- | x11-terms/qterminal/files/qterminal-9999-nofetch.patch | 36 | ||||
-rw-r--r-- | x11-terms/qterminal/metadata.xml | 11 | ||||
-rw-r--r-- | x11-terms/qterminal/qterminal-0.7.1.ebuild | 38 | ||||
-rw-r--r-- | x11-terms/qterminal/qterminal-9999.ebuild | 36 |
6 files changed, 180 insertions, 0 deletions
diff --git a/x11-terms/qterminal/Manifest b/x11-terms/qterminal/Manifest new file mode 100644 index 000000000000..5371bf1c4bbb --- /dev/null +++ b/x11-terms/qterminal/Manifest @@ -0,0 +1,8 @@ +AUX qterminal-0.7.1-no-liblxqt.patch 1547 SHA256 074d8dbe85f38e6819fd153dc4a9731a4905a9acfcfc9389801b80863bbf022c SHA512 b3c90fdb4de7b72a71141e7366e9a24226876931cf6f006d96f5546b4590e2bced6f20fed7e043554d075a38552fdee82566f606cb7a1234d70f87ff67ae5138 WHIRLPOOL 6e763292e9897a81afb4ee584e5f0296e2f42a5c1f69fdc1d8faae2ef933044f4cd12c71f1fb69fbabe12d7a02856f3806d84282a872c50bdcbc24ac63c61cdf +AUX qterminal-9999-nofetch.patch 992 SHA256 99bdba8612cf75b7ce9468681b48da4ef5fcf6100297a9aaa1630f804ad3217b SHA512 d46bfb3d3785088e81274645c56f908fcc7978415394c3cdc4d9c164d57f7d8b7743d99d97446c348d6c09424cf7e839041b0450fb8cf5d8f84a1b90cac1b56e WHIRLPOOL f859ae5a4e0878a720cfcd23f194d8b83fd09ead1024b7e13821594555058f7b9311728496b382e82c856d4fcec1ca0d5aeae951bd213696d3d73e7530190b11 +DIST qterminal-0.7.1.tar.xz 99164 SHA256 8d49b29febccc158dd115a099115e4ed1c487d4308ec92818e1abeb8821c848f SHA512 45f83a4179a90379678b7875de386e04c77505d89d8c0c447a0892a279bc1776d0847a54683d43af085bcb306cc0e4d0858f1c49dc6e0e08f549d7350584625d WHIRLPOOL 2070cc0f49ed28e75d1ce846ecb1981fb38e167bee558e7e40a3c6faff6cb3022043d9bff6e17f17d6769f7215af6f0aaa86eac9349ecdeafa4e55abb2425eda +EBUILD qterminal-0.7.1.ebuild 722 SHA256 53179dc4e57566896e3b21ff05b4bf8200e89628f2a4fb469a4dcf6f60ea82cf SHA512 144dcfbd8f53912d2270c82b0c38bdbd504da0de84258e7f547364b130c7dff4f2cee9fa67b62646417b6adfe474919c54db8b855787380b6c67d21cfbc31b9c WHIRLPOOL 4a494f48fb632a0b5cbf259a64641f4276449c68d6a1bc4192f64096a5802b4b09e044558f7da845e43ff1ea4edd457cf0bdaf5c8deed7baa72de184bffdf124 +EBUILD qterminal-9999.ebuild 670 SHA256 31a83eae2f83261daa6eb06848263554b8bc8bc5c7fa55c912c926733a544dc5 SHA512 7832caf4d48f088efe935ad0f56b1b1de1e66498622d40c4019c6d798e483f2ea0b82f8acf97a68e0940c23bbbc2ba9e6f2a6c25914b05732264fb1035ee0629 WHIRLPOOL d78b98242cf275d44013bc294d5a9b7301f8b136437deafc996cf65075fc9ffafd25a7e0bc48efee6f760e56afdf670ce231552472a90543564c119b742e4132 +MISC ChangeLog 3649 SHA256 2b4e5e131e6d3fc281dfcc96f6e66854fe92ca9ae06a853583dc5537b8932904 SHA512 cafacdc2de2bb66926d3adaa09f73d07fc3d742dbb8cf0949a5de562f8b06f91361da8375306c5d4d37ac8a71f07fc3024d1b800a06275ab4203121b2bb5fa4b WHIRLPOOL b78556fcb41292eebaa456ed2e875789d681d5ab55ebfb58b302016af70eb91644d40cbfc602d01c924efcb7b2e5aa0b641e230f83bde7f046713a26ebe15108 +MISC ChangeLog-2015 1159 SHA256 39bfb245d2dabab0da30ea14704c6bccbd6fc324c802cf23ccfd9976aa584e5d SHA512 9d0da85b387c98a9ea34c2f978528a93c7edc4bb269ca2dedabf7c727e7e49e96c2425bc325ea361622d49b3321cb7b5835bea0f12512f20e6a706a47e9cbc05 WHIRLPOOL 89d05483f8b9d88a58b331fcbcfd47b5a01854d27f9d0a927d6ff90f84381566c25d12782765101ce4bc7b6e3c196701f77477d2592ffcd403885edbafae0bfb +MISC metadata.xml 331 SHA256 a568f3f0a552ee5ef199da875d44a375ebcd3320bafd3a92cf7e0fc00fcb29e9 SHA512 6093916b3ba5afc8249b5b0444f021719336ab71c8749827c8c629ceb2b6b1edc0aeed5eae3f098f0e3fc120e80f691669ccf85a195386dd17bf6f343121bdd5 WHIRLPOOL 8d3ec83ca620f364642a4a65ad2354c36c9a60e99eb8043a9c5f0ca3cc0d3b7eaa47c39ae5c5ac84bd92dfd93e388762bd28d078502204c5b46316dc05b7da40 diff --git a/x11-terms/qterminal/files/qterminal-0.7.1-no-liblxqt.patch b/x11-terms/qterminal/files/qterminal-0.7.1-no-liblxqt.patch new file mode 100644 index 000000000000..536c971a0da1 --- /dev/null +++ b/x11-terms/qterminal/files/qterminal-0.7.1-no-liblxqt.patch @@ -0,0 +1,51 @@ +Translations are fetched from upstream git repo at build time, so disable them. + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -30,14 +30,14 @@ + # we need qpa/qplatformnativeinterface.h for global shortcut + find_package(Qt5Gui REQUIRED) + find_package(Qt5Widgets REQUIRED) +-find_package(Qt5LinguistTools REQUIRED) ++#find_package(Qt5LinguistTools REQUIRED) + if(APPLE) + elseif(UNIX) + find_package(Qt5X11Extras REQUIRED) + 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) + message(STATUS "Qt version: ${Qt5Core_VERSION_STRING}") + + include(${QTERMWIDGET_USE_FILE}) +@@ -110,17 +110,17 @@ + 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 +- 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 ++# TRANSLATION_DIR "src/translations" ++# PULL_TRANSLATIONS ++# ${PULL_TRANSLATIONS} ++# CLEAN_TRANSLATIONS ++# ${CLEAN_TRANSLATIONS} ++# TRANSLATIONS_REPO ++# ${TRANSLATIONS_REPO} ++# TRANSLATIONS_REFSPEC ++# ${TRANSLATIONS_REFSPEC} ++#) + + include_directories( + "${CMAKE_SOURCE_DIR}" diff --git a/x11-terms/qterminal/files/qterminal-9999-nofetch.patch b/x11-terms/qterminal/files/qterminal-9999-nofetch.patch new file mode 100644 index 000000000000..72876c954a0e --- /dev/null +++ b/x11-terms/qterminal/files/qterminal-9999-nofetch.patch @@ -0,0 +1,36 @@ +Do not fetch translations using git at build time. + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -24,7 +24,6 @@ + endif() + find_package(QTermWidget5 REQUIRED) + find_package(lxqt-build-tools ${LXQTBT_MINIMUM_VERSION} REQUIRED) +-include(LXQtTranslateTs) + include(LXQtCompilerSettings NO_POLICY_SCOPE) + message(STATUS "Qt version: ${Qt5Core_VERSION}") + +@@ -108,23 +107,6 @@ + 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} +-) + + include_directories( + "${PROJECT_SOURCE_DIR}" diff --git a/x11-terms/qterminal/metadata.xml b/x11-terms/qterminal/metadata.xml new file mode 100644 index 000000000000..948bf4eaacd2 --- /dev/null +++ b/x11-terms/qterminal/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>qt@gentoo.org</email> + <name>Gentoo Qt Project</name> + </maintainer> + <upstream> + <remote-id type="github">qterminal/qterminal</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-terms/qterminal/qterminal-0.7.1.ebuild b/x11-terms/qterminal/qterminal-0.7.1.ebuild new file mode 100644 index 000000000000..53bd102090d7 --- /dev/null +++ b/x11-terms/qterminal/qterminal-0.7.1.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}/${PN}-0.7.1-no-liblxqt.patch" ) + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/x11-terms/qterminal/qterminal-9999.ebuild b/x11-terms/qterminal/qterminal-9999.ebuild new file mode 100644 index 000000000000..791a464a7be2 --- /dev/null +++ b/x11-terms/qterminal/qterminal-9999.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit cmake-utils git-r3 gnome2-utils + +DESCRIPTION="Qt-based multitab terminal emulator" +HOMEPAGE="https://github.com/lxde/qterminal" +EGIT_REPO_URI="https://github.com/lxde/qterminal.git" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="" +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} + dev-util/lxqt-build-tools +" + +PATCHES=( "${FILESDIR}/${P}-nofetch.patch" ) + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |