summaryrefslogtreecommitdiff
path: root/x11-libs/qtermwidget
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-libs/qtermwidget
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-libs/qtermwidget')
-rw-r--r--x11-libs/qtermwidget/Manifest7
-rw-r--r--x11-libs/qtermwidget/files/qtermwidget-9999-nofetch.patch41
-rw-r--r--x11-libs/qtermwidget/metadata.xml16
-rw-r--r--x11-libs/qtermwidget/qtermwidget-0.7.1.ebuild21
-rw-r--r--x11-libs/qtermwidget/qtermwidget-9999.ebuild25
5 files changed, 110 insertions, 0 deletions
diff --git a/x11-libs/qtermwidget/Manifest b/x11-libs/qtermwidget/Manifest
new file mode 100644
index 000000000000..3e3444178e00
--- /dev/null
+++ b/x11-libs/qtermwidget/Manifest
@@ -0,0 +1,7 @@
+AUX qtermwidget-9999-nofetch.patch 1236 SHA256 6bc62d62f05549fd51d7fe450b06f6249863efa397a74379603bbe8fa1db504c SHA512 b7fe3cc1effb00fc8f6a62cc6284de756e6a6b671ae8c803dfdb89f7af74055570711b7d8d8985695c7ca40fb419768721ec8a748f7658590304c90a07053c84 WHIRLPOOL 3381aaf86bdf0e1e8dff2fda7adc719d82a8be8040244a4a5b4c31411031d7e2f1709b875ad20efaf1f1de880c0f123420fca01973813c6717c96e7050c0a666
+DIST qtermwidget-0.7.1.tar.xz 158172 SHA256 82b2f4d7cb58a34e866cf37b512e313f5f01c1d8a84ba532f0adf50e6d834d45 SHA512 a8660ca5355103cf9d9f72ec5213f3c04d02dff44ceaa26297960def07335596eba6b125a7b3ca1a02f8c19a99edffdee68c57ff0c3f357cc3df149d3e9c5c99 WHIRLPOOL d1cf25a9dcb173a96e779b8b382b7705e200aab9db351e22f3b78fe1d8427a831a2e505fa76159399945dc569877941a00a12809bbcfa9e7e8d1ffbadb5228a8
+EBUILD qtermwidget-0.7.1.ebuild 447 SHA256 db23afce71dc1644886beb7d0900939d86d4201b5b637227b14c4356e4e87b74 SHA512 bdc88cd3b2b0921e91cd0fca026bdecb3a4a1b6f2afac9152d4f132ff1807fc65466f50ff3c91f04f09f363d3772dc9ce0fb03ad201757874338a9797180e7c2 WHIRLPOOL 01869ad2cb5ad5b9bf7157e01378c61569c8e8f8a3eac0752fc3270e4bed09bbadf3d0c2e331b9df04f727fe6c6f5900c42215a882e8b8ced58a65ff2deed9dc
+EBUILD qtermwidget-9999.ebuild 494 SHA256 f8140544b98f82c4622f3ec0842177faf91f0c80b36ec79bec0e1b9d8c695473 SHA512 b646927ef608b429b0c878398a8563e2a781aa747f9d8ae9d9ac039d0f88a98efe127be70381f88fddf3fd08312e6a58532d5897f7168dc41effc4e225121eb0 WHIRLPOOL ea5a19a797975a7575c01711c71b6d92e3ae1cd7cc0484e98182a248dc001125b058f81f4faaad6ca8972d87b161f228d79b761ec9ee30255e2c33b834322ede
+MISC ChangeLog 3955 SHA256 cb57758d6f32c30316ce0f3ff8e0df58d908b23bf33547eb0ec6b6c246eb73b1 SHA512 2876c83f0aa58f1a87a7b89c06234613704427cb8c1b06e673f5d6e78f89811eb8633270bf0ff5352fabf477d549fd2cc5cd80ede0926fd8fa368cba1d30c962 WHIRLPOOL d0cacf5e22063acdd5fb07fede193e4a899b5d372f4a609f7ec2b08193f1cedfb13baa198e5cb395a3045d73a965de95d9e7f196126b25fed8ba3f81d4176d5b
+MISC ChangeLog-2015 2196 SHA256 db909af40292c0bd3691855e8fa90c2dbf9732b15f22b209ca46e9ceed73c5fb SHA512 6a931b9b8fa095c852a05cd9e2bd82ca320b5390021499cdce1ca53b470978c2f56bea03dcb0d9dce8da28517295067324e19b6e5da22d50f78ac9d612ea16d9 WHIRLPOOL 5f9319551943584c7188442187e6615ac47494c1d18e44007af870f38467232cc24447b45e7b9b15cec839f6e5fb6e7678de9cdbfaf3efab2b439dfbc427cfc1
+MISC metadata.xml 601 SHA256 0b407956c2d14c20f4d2b1c4c5ea1dff4b2261606fd9b0454a05d0f021492f6a SHA512 529451269b457fa56a9cab375f946849779035786cfb4ee2955b7cdeacbad3303408f31fbad6eadbc3d4fc983e3ab20ec48f47237863c1166aa10d44be90527d WHIRLPOOL 2326b5554ac98db55dbe75939ff868e08b14490c158b4a3cfd5bb82ebf9640e1fbbc20077dd598b939675a6db604ee566a733ce834f6e647200253c946db6ea7
diff --git a/x11-libs/qtermwidget/files/qtermwidget-9999-nofetch.patch b/x11-libs/qtermwidget/files/qtermwidget-9999-nofetch.patch
new file mode 100644
index 000000000000..a4827d6dbb8b
--- /dev/null
+++ b/x11-libs/qtermwidget/files/qtermwidget-9999-nofetch.patch
@@ -0,0 +1,41 @@
+Do not fetch translations using git at build time.
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -29,9 +29,7 @@
+ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+ find_package(Qt5Widgets "${REQUIRED_QT_VERSION}" REQUIRED)
+-find_package(Qt5LinguistTools "${REQUIRED_QT_VERSION}" REQUIRED)
+ find_package(lxqt-build-tools ${LXQTBT_MINIMUM_VERSION} REQUIRED)
+-include(LXQtTranslateTs)
+ include(LXQtCompilerSettings NO_POLICY_SCOPE)
+ include(LXQtCreatePkgConfigFile)
+
+@@ -117,26 +115,6 @@
+ qt5_wrap_ui(UI_SRCS ${UI})
+ set(PKG_CONFIG_REQ "Qt5Widgets")
+
+-lxqt_translate_ts(QTERMWIDGET_QM
+- TRANSLATION_DIR "lib/translations"
+- UPDATE_TRANSLATIONS
+- ${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
+- Runtime
+-)
+-
+ add_library(${QTERMWIDGET_LIBRARY_NAME} SHARED ${SRCS} ${MOCS} ${UI_SRCS} ${QTERMWIDGET_QM})
+ target_link_libraries(${QTERMWIDGET_LIBRARY_NAME} Qt5::Widgets)
+ set_target_properties( ${QTERMWIDGET_LIBRARY_NAME} PROPERTIES
diff --git a/x11-libs/qtermwidget/metadata.xml b/x11-libs/qtermwidget/metadata.xml
new file mode 100644
index 000000000000..d1448f78dfc3
--- /dev/null
+++ b/x11-libs/qtermwidget/metadata.xml
@@ -0,0 +1,16 @@
+<?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>
+ <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.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">qterminal/qtermwidget</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-libs/qtermwidget/qtermwidget-0.7.1.ebuild b/x11-libs/qtermwidget/qtermwidget-0.7.1.ebuild
new file mode 100644
index 000000000000..5d568599545c
--- /dev/null
+++ b/x11-libs/qtermwidget/qtermwidget-0.7.1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit cmake-utils
+
+DESCRIPTION="Qt terminal emulator widget"
+HOMEPAGE="https://github.com/lxde/qtermwidget"
+SRC_URI="https://github.com/lxde/${PN}/releases/download/${PV}/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~arm x86"
+IUSE=""
+
+DEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}"
diff --git a/x11-libs/qtermwidget/qtermwidget-9999.ebuild b/x11-libs/qtermwidget/qtermwidget-9999.ebuild
new file mode 100644
index 000000000000..0c383aa50cf9
--- /dev/null
+++ b/x11-libs/qtermwidget/qtermwidget-9999.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit cmake-utils git-r3
+
+DESCRIPTION="Qt terminal emulator widget"
+HOMEPAGE="https://github.com/lxde/qtermwidget"
+EGIT_REPO_URI="https://github.com/lxde/qtermwidget.git"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+"
+DEPEND="${DEPEND}
+ dev-util/lxqt-build-tools
+"
+
+PATCHES=( "${FILESDIR}/${P}-nofetch.patch" )