summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-apps/gwenview')
-rw-r--r--kde-apps/gwenview/Manifest1
-rw-r--r--kde-apps/gwenview/gwenview-17.04.1.ebuild97
2 files changed, 98 insertions, 0 deletions
diff --git a/kde-apps/gwenview/Manifest b/kde-apps/gwenview/Manifest
index 0987956f60a1..1c198eaf65f6 100644
--- a/kde-apps/gwenview/Manifest
+++ b/kde-apps/gwenview/Manifest
@@ -1,2 +1,3 @@
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
+DIST gwenview-17.04.1.tar.xz 5902528 SHA256 90d595035d3f69c21791830ac99a2419227c50f30a1ccbb453c5055e4227d011 SHA512 3fdd18f38e68fa9e24e71bdb134e4180ebf3aba706b1977f9047df08da7fb84fd8d3dfc5232d151e62c3e5786bc5a19f334fc7f9be97a5b5c2a98770b04b0303 WHIRLPOOL d18c1dfb5b2c15adb064199b3331bcb4a75ae16b77db9c751f052e9a786dcd9e2a64569a9abac99f4c99a0caf7e79d36f6831e65742359e4a2a0be3a56ca04a1
diff --git a/kde-apps/gwenview/gwenview-17.04.1.ebuild b/kde-apps/gwenview/gwenview-17.04.1.ebuild
new file mode 100644
index 000000000000..050bf1145745
--- /dev/null
+++ b/kde-apps/gwenview/gwenview-17.04.1.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
+}