summaryrefslogtreecommitdiff
path: root/kde-apps/gwenview
diff options
context:
space:
mode:
Diffstat (limited to 'kde-apps/gwenview')
-rw-r--r--kde-apps/gwenview/Manifest6
-rw-r--r--kde-apps/gwenview/gwenview-17.12.0.ebuild99
-rw-r--r--kde-apps/gwenview/metadata.xml1
3 files changed, 104 insertions, 2 deletions
diff --git a/kde-apps/gwenview/Manifest b/kde-apps/gwenview/Manifest
index 38a879156e5f..9036871b86fb 100644
--- a/kde-apps/gwenview/Manifest
+++ b/kde-apps/gwenview/Manifest
@@ -1,3 +1,5 @@
-DIST gwenview-17.08.3.tar.xz 5909172 SHA256 3c6ca27cd45735263343dc8965a987023c42867d6af0858438f0b5ec8b378915 SHA512 3961e331aefde8625943720e740e324a82fcd72e298a21d77e05b59b3f62681ed7af9c24343a9827e01454f050ec8f1631bd63c863ac3e6a2015df83a2c286ab WHIRLPOOL f3ce97117363cbed02114dd639e293f42485e1531f635df7ba771216cf762281a4bb254b37f443f5ac6a60cf3950bbfaaac76f75db1725ba39cbb3f5f7af5e19
+DIST gwenview-17.08.3.tar.xz 5909172 BLAKE2B 013660d574e6dfeeac5685f2af7c14536be02f4d77f008c9426cbd052be5086832d8399ca5bae7dcaad0b38c8b6a9f4bd08a63d91c2e4baf4c8d3c8346928550 SHA512 3961e331aefde8625943720e740e324a82fcd72e298a21d77e05b59b3f62681ed7af9c24343a9827e01454f050ec8f1631bd63c863ac3e6a2015df83a2c286ab
+DIST gwenview-17.12.0.tar.xz 6021388 BLAKE2B 25c6b677576ca75054ca1bcca042de1ba9617bd2836c9904d20ba55d44b6e05779c25e4418c8d23cad48d01b846aa978e1b3f6c644b989efe77994f85441e356 SHA512 cd724d0fe1ee6ddfb5e6fa91a75a9cf8b2361ec6c935049090ceee9e70df665e02a5dbd64036a57c3ed853f6e4be95fe2546db82dc6d667893cc19fd5744a628
EBUILD gwenview-17.08.3.ebuild 2340 BLAKE2B e01c1fdc5d3f82b0cc9244a84a9fb65e3abaffea8dfa7a417efda19baf3312a05b57f5e70677f25079338122c05f78391402583039451e4834a127703c27a658 SHA512 46a859a892b704a107c0a3b64c5d721203882dc18be51cc9b0f794fed15b7bd60a9acf43c5479783b08ba9e9670f8673d1f5f561f1ca2f7d9ee662154d99ed50
-MISC metadata.xml 334 BLAKE2B f974e67bb5038bd969aac6897222edffead5e1e9abfc093a7ea87d00e250ab8801d0d07779ca4a6e0e0437b487772dd4b4cf73155f04df0143d3cfb86e259868 SHA512 7affa42bad3fbaf2c75776c009d37f6cef23d5d1d5ea6b881e71c0cbef69d2fce2d82b120e74dea2b159381adb9e383cb4957e00f33fac00e88e97f3236faf13
+EBUILD gwenview-17.12.0.ebuild 2422 BLAKE2B a6a8dfaa39c14ba358d31baf087669851eea367c8ea6f00c19b924f084cd13693327bf3baec13c1691e5e977bfd98372c4a304220d8ae90fd2166780d99e3a53 SHA512 0de853849d499eac63b254d3149e27a033103b91b3d175ae06b54b1380051d8b8f42c96faa33b09d9da8e790d7605dbf0b5ef2bb8210bf44ea381c256cb3b585
+MISC metadata.xml 423 BLAKE2B 2e0463d65a7476da0e5a28420f235108b3367b9adfcda7fc2d47c1a5ae0e7f1ca49859d7ac213e3434c7d846c78af041d90da5767bf68e24be5a3e8eb80ad37b SHA512 19d70c59c116bfff13a062076e18d094d77ff06e30a01cc2c1439d464439616f2b758a250ff45c5a792926800906f1de8588a752317b7272e3a1223e543ff680
diff --git a/kde-apps/gwenview/gwenview-17.12.0.ebuild b/kde-apps/gwenview/gwenview-17.12.0.ebuild
new file mode 100644
index 000000000000..b7bd265801a6
--- /dev/null
+++ b/kde-apps/gwenview/gwenview-17.12.0.ebuild
@@ -0,0 +1,99 @@
+# 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="fits 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
+ fits? ( sci-libs/cfitsio )
+ 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 fits CFitsio)
+ $(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
+}
diff --git a/kde-apps/gwenview/metadata.xml b/kde-apps/gwenview/metadata.xml
index 69546da44ccc..5ac564950d36 100644
--- a/kde-apps/gwenview/metadata.xml
+++ b/kde-apps/gwenview/metadata.xml
@@ -6,6 +6,7 @@
<name>Gentoo KDE Project</name>
</maintainer>
<use>
+ <flag name="fits">Enable support for NASA's <pkg>sci-libs/cfitsio</pkg> library</flag>
<flag name="kipi">Support for the KDE Image Plugin Interface</flag>
</use>
</pkgmetadata>