commit: 40e613e0db84c619958f9d4881d85d4fde952b6e Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Wed Sep 22 18:53:27 2021 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Wed Sep 22 19:14:51 2021 +0000 URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=40e613e0
dev-libs/libqtxdg: Sync with Gentoo ebuild repo Package-Manager: Portage-3.0.23, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> dev-libs/libqtxdg/libqtxdg-9999.ebuild | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/dev-libs/libqtxdg/libqtxdg-9999.ebuild b/dev-libs/libqtxdg/libqtxdg-9999.ebuild index 492cb837..b507de05 100644 --- a/dev-libs/libqtxdg/libqtxdg-9999.ebuild +++ b/dev-libs/libqtxdg/libqtxdg-9999.ebuild @@ -3,9 +3,9 @@ EAPI=7 -inherit cmake virtualx +inherit cmake optfeature virtualx -DESCRIPTION="A Qt implementation of XDG standards" +DESCRIPTION="Qt implementation of XDG standards" HOMEPAGE="https://lxqt.github.io/" if [[ ${PV} == *9999 ]]; then @@ -20,8 +20,10 @@ LICENSE="LGPL-2.1+ Nokia-Qt-LGPL-Exception-1.1" SLOT="0" IUSE="test" +RESTRICT="!test? ( test )" + BDEPEND=" - >=dev-util/lxqt-build-tools-0.6.0 + >=dev-util/lxqt-build-tools-0.9.0 virtual/pkgconfig " RDEPEND=" @@ -48,3 +50,7 @@ src_test() { # Tests don't work with C LC_ALL=en_US.utf8 virtx cmake_src_test } + +pkg_postinst() { + ! has_version lxqt-base/lxqt-meta && optfeature "features that require a terminal emulator" x11-terms/xterm +}
