summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2023-04-15 19:14:31 +0000
committerJimi Huotari <chiitoo@gentoo.org>2023-04-18 01:06:10 +0300
commit5d2925f3580e00babb97bef36790f5cee88ca98b (patch)
tree5234d5a9cb33be79ed0ff1fd8adb3e8cb52ec973 /x11-terms
parentx11-libs/qtermwidget: add 1.3.0 (diff)
downloadgentoo-5d2925f3580e00babb97bef36790f5cee88ca98b.tar.gz
gentoo-5d2925f3580e00babb97bef36790f5cee88ca98b.tar.bz2
gentoo-5d2925f3580e00babb97bef36790f5cee88ca98b.zip
x11-terms/qterminal: add 1.3.0
Signed-off-by: Michael Vetter <jubalh@iodoru.org> Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>
Diffstat (limited to 'x11-terms')
-rw-r--r--x11-terms/qterminal/Manifest1
-rw-r--r--x11-terms/qterminal/qterminal-1.3.0.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/x11-terms/qterminal/Manifest b/x11-terms/qterminal/Manifest
index 5642c15dd799..76119a8dce17 100644
--- a/x11-terms/qterminal/Manifest
+++ b/x11-terms/qterminal/Manifest
@@ -1 +1,2 @@
DIST qterminal-1.2.0.tar.xz 217432 BLAKE2B cd5b8e02fe36abcd88b3af1b7d3e9e9791af0d3db867554cc683fe0f821af7668c585a5ebf3cee1ebcb4e9cc06e41c2c1afaf9f5b9fecb9d02f71dbe9a8bc6c8 SHA512 4d0db104004bc4b4a0c6d030978c241c0c57d7642f1a9e215158da5810029a46f21510c9b2a92d32c7218df667015e96b47965e3c2951935af7ab6a1a33a0f9d
+DIST qterminal-1.3.0.tar.xz 217748 BLAKE2B 8da4e5388f13919cf67eb9931d4acd0e51b4b45a57acea1db1d8d98cfcec57e7b789e9b0f764fdefdfc71ff36b6a9722e2d389013b22872f8f730ebb1ff1d944 SHA512 f8cf2183da7af7869433b6057e20fba46be5cce30b75bdafb6cc0a5474e39fb1f2f8831f6841ca78f8b367f718ed2ee5a312a75850bc8192a37f20a6c5767a8d
diff --git a/x11-terms/qterminal/qterminal-1.3.0.ebuild b/x11-terms/qterminal/qterminal-1.3.0.ebuild
new file mode 100644
index 000000000000..7e969e772422
--- /dev/null
+++ b/x11-terms/qterminal/qterminal-1.3.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake xdg-utils
+
+DESCRIPTION="Qt-based multitab terminal emulator"
+HOMEPAGE="https://lxqt-project.org/"
+
+if [[ ${PV} = *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/lxqt/${PN}.git"
+else
+ SRC_URI="https://github.com/lxqt/${PN}/releases/download/${PV}/${P}.tar.xz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+fi
+
+LICENSE="GPL-2 GPL-2+"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND=">=dev-util/lxqt-build-tools-0.13.0"
+DEPEND="
+ >=dev-qt/qtcore-5.15:5
+ >=dev-qt/qtdbus-5.15:5
+ >=dev-qt/qtgui-5.15:5
+ >=dev-qt/qtwidgets-5.15:5
+ >=dev-qt/qtx11extras-5.15:5
+ x11-libs/libX11
+ ~x11-libs/qtermwidget-${PV}:=
+ test? ( dev-qt/qttest:5 )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTS=$(usex test)
+ )
+
+ cmake_src_configure
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}