summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-02-24 13:09:01 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2024-02-24 13:11:15 +0100
commit05ec9cc677d64d067b1940f8d68d7afb72c3bf0c (patch)
treecc1240cee0c1b7ec6202818f8caeb830d339de90 /media-libs
parentdev-libs/libburn: QA, sync with other libburnia packages (diff)
downloadgentoo-05ec9cc677d64d067b1940f8d68d7afb72c3bf0c.tar.gz
gentoo-05ec9cc677d64d067b1940f8d68d7afb72c3bf0c.tar.bz2
gentoo-05ec9cc677d64d067b1940f8d68d7afb72c3bf0c.zip
media-libs/kimageannotator: Fix some style issues
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-libs')
-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)