commit:     05fb3deafe05733d14c8de28b019feb3c8c5f770
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 12 15:05:16 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Mar 21 10:04:47 2022 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=05fb3dea

dev-qt/pixeltool: Symlink pixeltool to /usr/bin/pixeltool

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-qt/pixeltool/pixeltool-5.15.3.9999.ebuild | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/dev-qt/pixeltool/pixeltool-5.15.3.9999.ebuild 
b/dev-qt/pixeltool/pixeltool-5.15.3.9999.ebuild
index c22d90fb..cd180247 100644
--- a/dev-qt/pixeltool/pixeltool-5.15.3.9999.ebuild
+++ b/dev-qt/pixeltool/pixeltool-5.15.3.9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -19,8 +19,16 @@ DEPEND="
        =dev-qt/qtgui-${QT5_PV}*:5=[png]
        =dev-qt/qtwidgets-${QT5_PV}*
 "
-RDEPEND="${DEPEND}"
+RDEPEND="${DEPEND}
+       !dev-qt/${PN}:5
+       !<dev-qt/qtchooser-66-r2
+"
 
 QT5_TARGET_SUBDIRS=(
        src/pixeltool
 )
+
+src_install() {
+       qt5-build_src_install
+       qt5_symlink_binary_to_path pixeltool
+}

Reply via email to