From f72b355e783b3c3304f789d56bfaddd6964515a7 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Thu, 9 Jul 2020 11:58:54 +0200 Subject: kde-apps/gwenview: 20.04.3 version bump Signed-off-by: Andreas Sturmlechner --- kde-apps/gwenview/Manifest | 1 + kde-apps/gwenview/gwenview-20.04.3.ebuild | 110 ++++++++++++++++++++++++++++++ 2 files changed, 111 insertions(+) create mode 100644 kde-apps/gwenview/gwenview-20.04.3.ebuild (limited to 'kde-apps/gwenview') diff --git a/kde-apps/gwenview/Manifest b/kde-apps/gwenview/Manifest index 64ee5fee82c9..4e80379424e8 100644 --- a/kde-apps/gwenview/Manifest +++ b/kde-apps/gwenview/Manifest @@ -1,2 +1,3 @@ DIST gwenview-19.12.3.tar.xz 5735304 BLAKE2B b962718ce83f33c4f7f4ebe0d3372497495f661670b9ba0e1423e3ee87914af83d5e9221e90e02ba7ef83b007768d088bd6e2ee5f08252c357e88a74ac470bed SHA512 a93cf6a992b76e84d8e33e570aab7bff410404539a8ce4ea55ba86c4487d5d1139dea170c449ac4cfb8755be30bc4fd7903cfa890374231b88d763ae44a29ff0 DIST gwenview-20.04.2.tar.xz 5741168 BLAKE2B 1507e03399af45f13cab4bdc02eb21c84e55edb7dec5f09e28078bda5f93b5cdf692bcb24a1874f571e088998fc9b59227025fcb902d4bf2330410d7da3d7e86 SHA512 28e152dd353273a19c31e5fb324e6ed09586a70ca96a5e4071ef70d8afc795eaad1b8907519acc4144b11d69eb88afb155e8585cbb59d0330560c6525e3d3baf +DIST gwenview-20.04.3.tar.xz 5629044 BLAKE2B 3895b5a4b3a858784470a0d72e473c651047f9b6f808b89192556d12fd80d798703d33a3409f3fbc2b35771b1ad1dc5f840f4935ca25c4f66b7130dd3a2bbf45 SHA512 c670111e75938028713ea77695bbe6fdd8e76d0dea74acc0cff3a20dd5a7ee4c956ef79b67c7ac8e99bb07b9895c16fcf985580d91442005451c6439f19726f1 diff --git a/kde-apps/gwenview/gwenview-20.04.3.ebuild b/kde-apps/gwenview/gwenview-20.04.3.ebuild new file mode 100644 index 000000000000..f3dc599aed1a --- /dev/null +++ b/kde-apps/gwenview/gwenview-20.04.3.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_HANDBOOK="forceoptional" +ECM_TEST="true" +PVCUT=$(ver_cut 1-3) +KFMIN=5.70.0 +QTMIN=5.14.2 +inherit ecm kde.org + +DESCRIPTION="Image viewer by KDE" +HOMEPAGE="https://kde.org/applications/graphics/org.kde.gwenview +https://userbase.kde.org/Gwenview" + +LICENSE="GPL-2+ handbook? ( FDL-1.2 )" +SLOT="5" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="activities fits kipi +mpris raw semantic-desktop share X" + +# requires running environment +RESTRICT+=" test" + +COMMON_DEPEND=" + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtopengl-${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/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/libpng:0= + media-libs/phonon[qt5(+)] + virtual/jpeg:0 + activities? ( >=kde-frameworks/kactivities-${KFMIN}:5 ) + fits? ( sci-libs/cfitsio ) + kipi? ( >=kde-apps/libkipi-${PVCUT}:5= ) + 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 + kipi? ( >=kde-apps/kipi-plugins-${PVCUT}: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 fits CFitsio) + $(cmake_use_find_package kipi KF5Kipi) + $(cmake_use_find_package raw KF5KDcraw) + $(cmake_use_find_package share KF5Purpose) + $(cmake_use_find_package X X11) + ) + + if use semantic-desktop; then + mycmakeargs+=( -DGWENVIEW_SEMANTICINFO_BACKEND=Baloo ) + else + mycmakeargs+=( -DGWENVIEW_SEMANTICINFO_BACKEND=None ) + fi + + ecm_src_configure +} + +pkg_postinst() { + ecm_pkg_postinst + + if [[ -z "${REPLACING_VERSIONS}" ]] && ! has_version kde-apps/svgpart:${SLOT} ; then + elog "For SVG support, install kde-apps/svgpart:${SLOT}" + fi +} -- cgit v1.2.3-65-gdbad