summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-10-09 10:09:37 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-10-09 20:58:28 +0200
commita7b21add8d6f2f35bc40b39f38e83aaebbe5fbff (patch)
tree8768651f14fa13f47db98f87debc2437a6d094f4 /kde-apps/gwenview
parentkde-apps/picmi: 20.08.2 version bump (diff)
downloadgentoo-a7b21add8d6f2f35bc40b39f38e83aaebbe5fbff.tar.gz
gentoo-a7b21add8d6f2f35bc40b39f38e83aaebbe5fbff.tar.bz2
gentoo-a7b21add8d6f2f35bc40b39f38e83aaebbe5fbff.zip
kde-apps/gwenview: 20.08.2 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/gwenview')
-rw-r--r--kde-apps/gwenview/Manifest1
-rw-r--r--kde-apps/gwenview/gwenview-20.08.2.ebuild111
2 files changed, 112 insertions, 0 deletions
diff --git a/kde-apps/gwenview/Manifest b/kde-apps/gwenview/Manifest
index e36523cd5502..8bdaf1658b1f 100644
--- a/kde-apps/gwenview/Manifest
+++ b/kde-apps/gwenview/Manifest
@@ -1,2 +1,3 @@
DIST gwenview-20.04.3.tar.xz 5629044 BLAKE2B 3895b5a4b3a858784470a0d72e473c651047f9b6f808b89192556d12fd80d798703d33a3409f3fbc2b35771b1ad1dc5f840f4935ca25c4f66b7130dd3a2bbf45 SHA512 c670111e75938028713ea77695bbe6fdd8e76d0dea74acc0cff3a20dd5a7ee4c956ef79b67c7ac8e99bb07b9895c16fcf985580d91442005451c6439f19726f1
DIST gwenview-20.08.1.tar.xz 6741100 BLAKE2B 891781856c31c7e2d981265e5341badc9f408aa4dab95a051db71b7fbd8a06fa077670eaf96b73b60086bd9070f4a989f9d39cde6ad6513ce3b1f7e884b7f465 SHA512 76382f3edb228667c85766049a4dad469496ef15364fbfec5b9c570cec0a7c6c083edd1832ccf82f8f7ed3c6d4819811cc2e784200db1a0298b9bc01ce606cb3
+DIST gwenview-20.08.2.tar.xz 6742400 BLAKE2B 782f8365f6624461ca2c735137b8678f5860c4a92aa52aa3dfb23b165f7134eeaf967731825d062f6ba66db61de1a404e931bbbce1f2a00c63de63ef0ee3c24f SHA512 f5ec77a5014a3ad99ffc8d363358dd49b4951435e792a75e17fa460200361afb2acfd540711a690d886b519efcd240138f2d5a4aecd27275e4cd9706223575b6
diff --git a/kde-apps/gwenview/gwenview-20.08.2.ebuild b/kde-apps/gwenview/gwenview-20.08.2.ebuild
new file mode 100644
index 000000000000..035ec84cac97
--- /dev/null
+++ b/kde-apps/gwenview/gwenview-20.08.2.ebuild
@@ -0,0 +1,111 @@
+# 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.72.0
+QTMIN=5.14.2
+inherit ecm kde.org optfeature
+
+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-4.11.0
+ media-libs/tiff
+ 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() {
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ elog "Optional dependencies:"
+ optfeature "SVG support" kde-apps/svgpart:${SLOT}
+ fi
+ ecm_pkg_postinst
+}