commit:     1b6122c94ad85633acc517dca5ac1b9759c33f03
Author:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 27 20:15:02 2024 +0000
Commit:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Tue Feb 27 20:15:02 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b6122c9

media-libs/kimageannotator: Add missing deps

Bug: https://github.com/ksnip/kImageAnnotator/issues/335
Signed-off-by: Alexey Shvetsov <alexxy <AT> gentoo.org>

 ...kimageannotator-0.7.0.ebuild => kimageannotator-0.7.0-r1.ebuild} | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/media-libs/kimageannotator/kimageannotator-0.7.0.ebuild 
b/media-libs/kimageannotator/kimageannotator-0.7.0-r1.ebuild
similarity index 86%
rename from media-libs/kimageannotator/kimageannotator-0.7.0.ebuild
rename to media-libs/kimageannotator/kimageannotator-0.7.0-r1.ebuild
index 44f907d31853..1093de12ccd1 100644
--- a/media-libs/kimageannotator/kimageannotator-0.7.0.ebuild
+++ b/media-libs/kimageannotator/kimageannotator-0.7.0-r1.ebuild
@@ -3,7 +3,6 @@
 
 EAPI=8
 
-VIRTUALX_REQUIRED="test"
 inherit cmake
 
 MY_PN=kImageAnnotator
@@ -25,8 +24,10 @@ RDEPEND="
        dev-qt/qtbase:6[gui,widgets]
        dev-qt/qtsvg:6
        >=media-libs/kcolorpicker-0.3.0
+       x11-libs/libX11
 "
 DEPEND="${RDEPEND}
+       x11-base/xorg-proto
        test? (
                dev-cpp/gtest
                dev-qt/qtbase:6
@@ -44,6 +45,9 @@ src_configure() {
        cmake_src_configure
 }
 
+# one test is failing KeyInputHelperTest
+# upstream bug https://github.com/ksnip/kImageAnnotator/issues/335
+
 src_test() {
        local -x QT_QPA_PLATFORM=offscreen
        BUILD_DIR="${BUILD_DIR}/tests" cmake_src_test

Reply via email to