summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2017-04-20 18:15:02 +0200
committerJohannes Huber <johu@gentoo.org>2017-04-20 18:22:40 +0200
commit8f00b2bf566d896205f52099530159c97b977f68 (patch)
tree6dfeae9f7a9dc7b276cb384a7f4ad8d589de52d1 /kde-apps/gwenview
parentkde5*eclass: KDE Applications 17.04.0 improvements (diff)
downloadgentoo-8f00b2bf566d896205f52099530159c97b977f68.tar.gz
gentoo-8f00b2bf566d896205f52099530159c97b977f68.tar.bz2
gentoo-8f00b2bf566d896205f52099530159c97b977f68.zip
kde-apps: Version bump KDE Applications 17.04.0
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'kde-apps/gwenview')
-rw-r--r--kde-apps/gwenview/Manifest1
-rw-r--r--kde-apps/gwenview/gwenview-17.04.0.ebuild97
2 files changed, 98 insertions, 0 deletions
diff --git a/kde-apps/gwenview/Manifest b/kde-apps/gwenview/Manifest
index f3c9d1a5a39c..0987956f60a1 100644
--- a/kde-apps/gwenview/Manifest
+++ b/kde-apps/gwenview/Manifest
@@ -1 +1,2 @@
DIST gwenview-16.12.3.tar.xz 2850840 SHA256 79bdbc28cf01e00188a19c590982e9da5e399215d216e05fca06a697385d2e19 SHA512 a8130e7f742f3121fa713ba32fd99f4adc45cb8cfd6b5597da95d8399f9b3082e1e37dbf882a9482f6578db28ec575578b33653b065a4b94f66460cb77e91431 WHIRLPOOL 7842d9d61edc924f0bc1e2447d96add61a4907b0c4cc6d3435931cd7d7e9e9880561d8051c89281250c8e5b4c2f006b694f4ccd5765170376640442b4a836d6a
+DIST gwenview-17.04.0.tar.xz 5902924 SHA256 4109bfef13d1347fdce0a3945ab130220d9f072cd2c5ddeec3c8bc41da0f9558 SHA512 5b55de2f761accdf2f42283bfdba3df44780073d2587cc6c9aaed7ce1acca417ad571a77ac7ca2f2f0ab5ba46cffc49a70e3f4c9dda7f19c3370af3ef34ac66e WHIRLPOOL ef0a31f91ea906c20f52a6762c75bc1ce124b3e77adf704bccab2a395fa522361b9a563eca1d12790c774ab0560fb4453db4b6d1a553ef67207cb5127a2f4197
diff --git a/kde-apps/gwenview/gwenview-17.04.0.ebuild b/kde-apps/gwenview/gwenview-17.04.0.ebuild
new file mode 100644
index 000000000000..050bf1145745
--- /dev/null
+++ b/kde-apps/gwenview/gwenview-17.04.0.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_HANDBOOK="true"
+KDE_TEST="true"
+inherit kde5
+
+DESCRIPTION="KDE image viewer"
+HOMEPAGE="
+ https://www.kde.org/applications/graphics/gwenview/
+ https://userbase.kde.org/Gwenview
+"
+
+LICENSE="GPL-2+ handbook? ( FDL-1.2 )"
+KEYWORDS="~amd64 ~x86"
+IUSE="kipi raw semantic-desktop X"
+
+# requires running environment
+RESTRICT+=" test"
+
+COMMON_DEPEND="
+ $(add_frameworks_dep kactivities)
+ $(add_frameworks_dep kcompletion)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kiconthemes)
+ $(add_frameworks_dep kio)
+ $(add_frameworks_dep kitemmodels)
+ $(add_frameworks_dep kitemviews)
+ $(add_frameworks_dep kjobwidgets)
+ $(add_frameworks_dep knotifications)
+ $(add_frameworks_dep kparts)
+ $(add_frameworks_dep kservice)
+ $(add_frameworks_dep ktextwidgets)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kxmlgui)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtopengl)
+ $(add_qt_dep qtprintsupport)
+ $(add_qt_dep qtsvg)
+ $(add_qt_dep qtwidgets)
+ media-gfx/exiv2:=
+ media-libs/lcms:2
+ media-libs/libpng:0=
+ media-libs/phonon[qt5]
+ virtual/jpeg:0
+ kipi? ( $(add_kdeapps_dep libkipi '' '' '5=') )
+ raw? ( $(add_kdeapps_dep libkdcraw) )
+ semantic-desktop? (
+ $(add_frameworks_dep baloo)
+ $(add_frameworks_dep kfilemetadata)
+ )
+ X? (
+ $(add_qt_dep qtx11extras)
+ x11-libs/libX11
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ $(add_frameworks_dep kwindowsystem)
+ $(add_qt_dep qtconcurrent)
+"
+RDEPEND="${COMMON_DEPEND}
+ $(add_frameworks_dep kimageformats)
+ $(add_qt_dep qtimageformats)
+"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package kipi KF5Kipi)
+ $(cmake-utils_use_find_package raw KF5KDcraw)
+ $(cmake-utils_use_find_package X X11)
+ )
+
+ if use semantic-desktop; then
+ mycmakeargs+=(-DGWENVIEW_SEMANTICINFO_BACKEND=Baloo)
+ else
+ mycmakeargs+=(-DGWENVIEW_SEMANTICINFO_BACKEND=None)
+ fi
+
+ kde5_src_configure
+}
+
+pkg_postinst() {
+ kde5_pkg_postinst
+
+ if ! has_version kde-apps/svgpart:${SLOT} ; then
+ elog "For SVG support, install kde-apps/svgpart:${SLOT}"
+ fi
+
+ if use kipi && ! has_version media-plugins/kipi-plugins ; then
+ elog "Plugins for the KIPI interface can be found in media-plugins/kipi-plugins"
+ fi
+}