summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2025-01-07 23:14:29 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2025-01-07 23:33:59 +0100
commit2e2baf719eb1210bcf208659875ff4142a1f02c1 (patch)
tree16faf977ea8654177e2e0957c18c12f41b44a4e9 /media-gfx
parentmedia-gfx/photoqt: add 4.7 (diff)
downloadgentoo-2e2baf719eb1210bcf208659875ff4142a1f02c1.tar.gz
gentoo-2e2baf719eb1210bcf208659875ff4142a1f02c1.tar.bz2
gentoo-2e2baf719eb1210bcf208659875ff4142a1f02c1.zip
media-gfx/photoqt: Switch from ecm to cmake and xdg.eclass
Slightly improve IUSE vips description See also: https://github.com/gentoo/gentoo/pull/40000 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/photoqt/metadata.xml2
-rw-r--r--media-gfx/photoqt/photoqt-4.7.ebuild18
2 files changed, 8 insertions, 12 deletions
diff --git a/media-gfx/photoqt/metadata.xml b/media-gfx/photoqt/metadata.xml
index bbb50e225e0a..3916fd4661ae 100644
--- a/media-gfx/photoqt/metadata.xml
+++ b/media-gfx/photoqt/metadata.xml
@@ -8,7 +8,7 @@
<flag name="devil">Support additional image formats using <pkg>media-libs/devil</pkg></flag>
<flag name="freeimage">Support additional image formats using <pkg>media-libs/freeimage</pkg></flag>
<flag name="mpv">Support for video files using <pkg>media-video/mpv</pkg></flag>
- <flag name="vips">Use <pkg>media-libs/vips</pkg></flag>
+ <flag name="vips">Support for <pkg>media-libs/vips</pkg> image processing library</flag>
</use>
<upstream>
<remote-id type="gitlab">lspies/photoqt</remote-id>
diff --git a/media-gfx/photoqt/photoqt-4.7.ebuild b/media-gfx/photoqt/photoqt-4.7.ebuild
index 3b4f4b7f0d8c..6ece1a484215 100644
--- a/media-gfx/photoqt/photoqt-4.7.ebuild
+++ b/media-gfx/photoqt/photoqt-4.7.ebuild
@@ -4,10 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
-
-ECM_KDEINSTALLDIRS=false
-KFMIN=6.5.0
-inherit ecm optfeature python-single-r1 toolchain-funcs
+inherit cmake optfeature python-single-r1 toolchain-funcs xdg
DESCRIPTION="Simple but powerful Qt-based image viewer"
HOMEPAGE="https://photoqt.org/"
@@ -48,19 +45,18 @@ COMMON_DEPEND="
media-libs/vips:=
)
"
-RDEPEND="
- ${COMMON_DEPEND}
+RDEPEND="${COMMON_DEPEND}
geolocation? (
dev-qt/qtlocation:6
dev-qt/qtpositioning:6[qml]
)
"
-DEPEND="
- ${COMMON_DEPEND}
+DEPEND="${COMMON_DEPEND}
vips? ( x11-base/xorg-proto )
"
BDEPEND="
dev-qt/qttools:6[linguist]
+ >=kde-frameworks/extra-cmake-modules-6.5.0:*
virtual/pkgconfig
chromecast? ( ${PYTHON_DEPS} )
"
@@ -94,10 +90,10 @@ src_configure() {
)
fi
- ecm_src_configure
+ cmake_src_configure
}
pkg_postinst() {
- optfeature "additional image formats like AVIF, EPS, HEIF/HEIC, PSD, etc." kde-frameworks/kimageformats
- ecm_pkg_postinst
+ optfeature "additional image formats like AVIF, EPS, HEIF/HEIC, PSD, etc." "kde-frameworks/kimageformats:6"
+ xdg_pkg_postinst
}