summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/kimageannotator/kimageannotator-0.7.0.ebuild')
-rw-r--r--media-libs/kimageannotator/kimageannotator-0.7.0.ebuild15
1 files changed, 6 insertions, 9 deletions
diff --git a/media-libs/kimageannotator/kimageannotator-0.7.0.ebuild b/media-libs/kimageannotator/kimageannotator-0.7.0.ebuild
index c1059b0c87d8..b912dadc508a 100644
--- a/media-libs/kimageannotator/kimageannotator-0.7.0.ebuild
+++ b/media-libs/kimageannotator/kimageannotator-0.7.0.ebuild
@@ -12,12 +12,15 @@ MY_P="${MY_PN}-${PV}"
DESCRIPTION="Tool for annotating images"
HOMEPAGE="https://github.com/ksnip/kImageAnnotator"
SRC_URI="https://github.com/ksnip/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
LICENSE="LGPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
+
RDEPEND="
dev-qt/qtbase:6[gui,widgets]
dev-qt/qtsvg:6
@@ -25,20 +28,14 @@ RDEPEND="
"
DEPEND="${RDEPEND}
test? (
- dev-qt/qtbase:6[test]
- dev-cpp/gtest
+ dev-cpp/gtest
+ dev-qt/qtbase:6[test]
)
"
-BDEPEND="
- dev-qt/qttools:6[linguist]
-"
-
-RESTRICT="!test? ( test )"
+BDEPEND="dev-qt/qttools:6[linguist]"
PATCHES=( "${FILESDIR}/${P}-fix-qt6-tests.patch" )
-S="${WORKDIR}/${MY_P}"
-
src_configure() {
local mycmakeargs=(
-DBUILD_TESTS=$(usex test)