diff options
author | Jimi Huotari <chiitoo@gentoo.org> | 2023-11-09 20:58:06 +0200 |
---|---|---|
committer | Jimi Huotari <chiitoo@gentoo.org> | 2023-11-09 23:45:34 +0200 |
commit | 350f9388bc6353fb71fb4b99de2ddd56c470b07e (patch) | |
tree | 76513e341e249c4711d8fc95babab07fd12659d8 /x11-terms/qterminal/qterminal-1.4.0.ebuild | |
parent | x11-libs/qtermwidget: add version 1.4.0 (diff) | |
download | gentoo-350f9388bc6353fb71fb4b99de2ddd56c470b07e.tar.gz gentoo-350f9388bc6353fb71fb4b99de2ddd56c470b07e.tar.bz2 gentoo-350f9388bc6353fb71fb4b99de2ddd56c470b07e.zip |
x11-terms/qterminal: add version 1.4.0
Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>
Diffstat (limited to 'x11-terms/qterminal/qterminal-1.4.0.ebuild')
-rw-r--r-- | x11-terms/qterminal/qterminal-1.4.0.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/x11-terms/qterminal/qterminal-1.4.0.ebuild b/x11-terms/qterminal/qterminal-1.4.0.ebuild new file mode 100644 index 000000000000..7e969e772422 --- /dev/null +++ b/x11-terms/qterminal/qterminal-1.4.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 +} |