diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-08-12 12:53:04 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-08-12 13:15:10 +0200 |
commit | c26cc051c7db959ca6cb822829b8bb860f3cbded (patch) | |
tree | cbfc95bb4ebee42190447c845e3e63035d2575e8 /kde-apps/gwenview | |
parent | kde-apps/picmi: 22.08.0 version bump (diff) | |
download | kde-c26cc051c7db959ca6cb822829b8bb860f3cbded.tar.gz kde-c26cc051c7db959ca6cb822829b8bb860f3cbded.tar.bz2 kde-c26cc051c7db959ca6cb822829b8bb860f3cbded.zip |
kde-apps/gwenview: 22.08.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/gwenview')
-rw-r--r-- | kde-apps/gwenview/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/gwenview/gwenview-22.08.0.ebuild | 102 |
2 files changed, 103 insertions, 0 deletions
diff --git a/kde-apps/gwenview/Manifest b/kde-apps/gwenview/Manifest index ba7326268f..84631deafe 100644 --- a/kde-apps/gwenview/Manifest +++ b/kde-apps/gwenview/Manifest @@ -1 +1,2 @@ DIST gwenview-22.07.90.tar.xz 6824932 BLAKE2B cffee9cded440a04aa032c2978953613f2247c406f6f393809db33df170cac47de2406a5fe963ed78e793ac0b722bc198f60a9a9c42a80c101bdb399703ac327 SHA512 c0d3caac00ee84e277ddcf836537b2e7cc84fae2986840f3426c0f21c061671e05aff47557776497fdbf3cb33dc91a7c3803d7ba29a006255336c354786a03d1 +DIST gwenview-22.08.0.tar.xz 6824968 BLAKE2B df4fffec7f41ac0be7c738250e63f40a26282dc06e1365655f3e9a360b54467bd2645add62c72b29be95ed3afda9b42f8bdd326271a43fe07e7b79ed95c05dd6 SHA512 76e2afbacc2c80e89e951ad26a9422144c78b32a96bb1c782f659e80bec7b8e35a21af94ef1c68d9cfefb968fc99f3cb916e7a6ec98a67cd3907ca88d4a111d4 diff --git a/kde-apps/gwenview/gwenview-22.08.0.ebuild b/kde-apps/gwenview/gwenview-22.08.0.ebuild new file mode 100644 index 0000000000..bca7878f90 --- /dev/null +++ b/kde-apps/gwenview/gwenview-22.08.0.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="optional" +ECM_TEST="true" +PVCUT=$(ver_cut 1-3) +KFMIN=5.96.0 +QTMIN=5.15.5 +inherit ecm gear.kde.org optfeature + +DESCRIPTION="Image viewer by KDE" +HOMEPAGE="https://apps.kde.org/gwenview/ https://userbase.kde.org/Gwenview" + +LICENSE="GPL-2+ handbook? ( FDL-1.2 )" +SLOT="5" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="activities +annotate fits +mpris raw semantic-desktop share X" + +# requires running environment +RESTRICT="test" + +COMMON_DEPEND=" + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtprintsupport-${QTMIN}:5 + >=dev-qt/qtsvg-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=kde-frameworks/kcompletion-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/kguiaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kiconthemes-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/kitemmodels-${KFMIN}:5 + >=kde-frameworks/kitemviews-${KFMIN}:5 + >=kde-frameworks/kjobwidgets-${KFMIN}:5 + >=kde-frameworks/knotifications-${KFMIN}:5 + >=kde-frameworks/kparts-${KFMIN}:5 + >=kde-frameworks/kservice-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + >=kde-frameworks/solid-${KFMIN}:5 + media-gfx/exiv2:= + media-libs/lcms:2 + media-libs/libjpeg-turbo:= + media-libs/libpng:0= + >=media-libs/phonon-4.11.0 + media-libs/tiff + activities? ( >=kde-frameworks/kactivities-${KFMIN}:5 ) + annotate? ( >=media-libs/kimageannotator-0.5.0 ) + fits? ( sci-libs/cfitsio ) + mpris? ( >=dev-qt/qtdbus-${QTMIN}:5 ) + raw? ( >=kde-apps/libkdcraw-${PVCUT}:5 ) + semantic-desktop? ( + >=kde-frameworks/baloo-${KFMIN}:5 + >=kde-frameworks/kfilemetadata-${KFMIN}:5 + ) + share? ( >=kde-frameworks/purpose-${KFMIN}:5 ) + X? ( + >=dev-qt/qtx11extras-${QTMIN}:5 + x11-libs/libX11 + ) +" +DEPEND="${COMMON_DEPEND} + >=dev-qt/qtconcurrent-${QTMIN}:5 + >=kde-frameworks/kwindowsystem-${KFMIN}:5 +" +RDEPEND="${COMMON_DEPEND} + >=dev-qt/qtimageformats-${QTMIN}:5 + >=kde-frameworks/kimageformats-${KFMIN}:5 +" + +src_prepare() { + ecm_src_prepare + if ! use mpris; then + # FIXME: upstream a better solution + sed -e "/set(HAVE_QTDBUS/s/\${Qt5DBus_FOUND}/0/" -i CMakeLists.txt || die + fi +} + +src_configure() { + local mycmakeargs=( + $(cmake_use_find_package activities KF5Activities) + $(cmake_use_find_package annotate kImageAnnotator) + $(cmake_use_find_package fits CFitsio) + $(cmake_use_find_package raw KF5KDcraw) + -DGWENVIEW_SEMANTICINFO_BACKEND=$(usex semantic-desktop Baloo None) + $(cmake_use_find_package share KF5Purpose) + $(cmake_use_find_package X X11) + ) + ecm_src_configure +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + optfeature "SVG support" kde-apps/svgpart:${SLOT} + fi + ecm_pkg_postinst +} |