diff options
author | Jimi Huotari <chiitoo@gentoo.org> | 2024-06-28 12:12:53 +0300 |
---|---|---|
committer | Jimi Huotari <chiitoo@gentoo.org> | 2024-06-28 12:33:05 +0300 |
commit | add81caa1244d119a0b288e88c8137d9e53e574c (patch) | |
tree | ed9484c8f3901cef6648cd4f5bd901e6810c3278 | |
parent | dev-libs/libcdio: eapi8 (diff) | |
download | gentoo-add81caa1244d119a0b288e88c8137d9e53e574c.tar.gz gentoo-add81caa1244d119a0b288e88c8137d9e53e574c.tar.bz2 gentoo-add81caa1244d119a0b288e88c8137d9e53e574c.zip |
x11-terms/qterminal: depend on 'layer-shell-qt' and 'libcanberra'
While 'kde-plasma/layer-shell-qt' is required at build-time, there
seems to be some automagic going with 'media-libs/libcanberra'.
Closes: https://bugs.gentoo.org/935055
Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>
-rw-r--r-- | x11-terms/qterminal/qterminal-2.0.1-r1.ebuild | 48 | ||||
-rw-r--r-- | x11-terms/qterminal/qterminal-9999.ebuild | 2 |
2 files changed, 50 insertions, 0 deletions
diff --git a/x11-terms/qterminal/qterminal-2.0.1-r1.ebuild b/x11-terms/qterminal/qterminal-2.0.1-r1.ebuild new file mode 100644 index 000000000000..9737d9111201 --- /dev/null +++ b/x11-terms/qterminal/qterminal-2.0.1-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 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" +fi + +LICENSE="GPL-2 GPL-2+" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=">=dev-util/lxqt-build-tools-2.0.0" +DEPEND=" + >=dev-qt/qtbase-6.6:6[dbus,gui,widgets,X] + kde-plasma/layer-shell-qt:6 + media-libs/libcanberra + x11-libs/libX11 + ~x11-libs/qtermwidget-${PV}:= +" +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 +} diff --git a/x11-terms/qterminal/qterminal-9999.ebuild b/x11-terms/qterminal/qterminal-9999.ebuild index 14dfb83303be..9737d9111201 100644 --- a/x11-terms/qterminal/qterminal-9999.ebuild +++ b/x11-terms/qterminal/qterminal-9999.ebuild @@ -24,6 +24,8 @@ RESTRICT="!test? ( test )" BDEPEND=">=dev-util/lxqt-build-tools-2.0.0" DEPEND=" >=dev-qt/qtbase-6.6:6[dbus,gui,widgets,X] + kde-plasma/layer-shell-qt:6 + media-libs/libcanberra x11-libs/libX11 ~x11-libs/qtermwidget-${PV}:= " |