summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-10-13 13:40:17 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-10-13 15:12:37 +0200
commit79025f3c917b252fb983f0da150c438c82c8f629 (patch)
tree35264548679cf93b5deb2c2a7b807656bbe6e720
parentkde-apps/picmi: 22.08.2 version bump (diff)
downloadgentoo-79025f3c917b252fb983f0da150c438c82c8f629.tar.gz
gentoo-79025f3c917b252fb983f0da150c438c82c8f629.tar.bz2
gentoo-79025f3c917b252fb983f0da150c438c82c8f629.zip
kde-apps/gwenview: 22.08.2 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-apps/gwenview/Manifest1
-rw-r--r--kde-apps/gwenview/gwenview-22.08.2.ebuild102
2 files changed, 103 insertions, 0 deletions
diff --git a/kde-apps/gwenview/Manifest b/kde-apps/gwenview/Manifest
index 7d8593b72030..39bcb0ee4ab3 100644
--- a/kde-apps/gwenview/Manifest
+++ b/kde-apps/gwenview/Manifest
@@ -1,2 +1,3 @@
DIST gwenview-22.04.3.tar.xz 6821928 BLAKE2B cabf701b4ea43bd85b2babe4b982b6757d1302d9c01ac7cef951827b7953a359564d679f5be8cb792fe1d915cd32a2b2092d33dea0c463aa459761252022a920 SHA512 8b7460eee6d2c47ab08978db0cee56b2c7cf5933c85b6d077cd11781f105e5d3dca0e97a3cca9af097074e64ed5b9f396f7699d91c599eee57d04c53191372c7
DIST gwenview-22.08.1.tar.xz 6825004 BLAKE2B 7ca878736cbdac2e9474094fa8785d1e5455401af91e8b7155dd2256bd89b2b8def18a0e9c4ec7a8b97171fcd445a0610dc1692b10fc231e947d08ac5b776b09 SHA512 805d6e505cd74b731d01ba3930010e5bb46bd972741a7bc529f78d56bd3088e508757c61a58c2f147b4e2fbaca034d58590f59151080052e7d750e1f3e16ab6f
+DIST gwenview-22.08.2.tar.xz 6824936 BLAKE2B 17860e79ec5b3b86dc8b84704090e381decaab4dfd503f50b42de23d7fde144763de770ac3241974bdec2f140756ad7eae340128a6b267b6cac4fe6c67fed927 SHA512 a3baea5fd0e78c4655ceb364db631760e5140a49e21d309cf92b461dbfc454bd8f079536a5c313e5429335254b66fb1eedb1db88ca8e0a9c3e1e61ca118febb0
diff --git a/kde-apps/gwenview/gwenview-22.08.2.ebuild b/kde-apps/gwenview/gwenview-22.08.2.ebuild
new file mode 100644
index 000000000000..d341db59c116
--- /dev/null
+++ b/kde-apps/gwenview/gwenview-22.08.2.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 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/kcolorpicker
+ >=media-libs/kimageannotator-0.5.0
+ 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 )
+ 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 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
+}