diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-12-14 23:14:45 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-12-14 23:25:03 +0100 |
commit | 576fc933c81aa6e526d87290af95e8e898e70ecb (patch) | |
tree | 73f9a202bcb454043dbb6b731d9b56ed4c5f49eb /kde-apps/gwenview | |
parent | dev-haskell/stack-bin: bump up to 1.6.1 (diff) | |
download | gentoo-576fc933c81aa6e526d87290af95e8e898e70ecb.tar.gz gentoo-576fc933c81aa6e526d87290af95e8e898e70ecb.tar.bz2 gentoo-576fc933c81aa6e526d87290af95e8e898e70ecb.zip |
kde-apps: Add KDE Applications 17.12.0
Package-Manager: Portage-2.3.18, Repoman-2.3.6
Diffstat (limited to 'kde-apps/gwenview')
-rw-r--r-- | kde-apps/gwenview/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/gwenview/gwenview-17.12.0.ebuild | 99 | ||||
-rw-r--r-- | kde-apps/gwenview/metadata.xml | 1 |
3 files changed, 101 insertions, 0 deletions
diff --git a/kde-apps/gwenview/Manifest b/kde-apps/gwenview/Manifest index 11e2d1d8ed9b..58c63376758f 100644 --- a/kde-apps/gwenview/Manifest +++ b/kde-apps/gwenview/Manifest @@ -1 +1,2 @@ DIST gwenview-17.08.3.tar.xz 5909172 BLAKE2B 013660d574e6dfeeac5685f2af7c14536be02f4d77f008c9426cbd052be5086832d8399ca5bae7dcaad0b38c8b6a9f4bd08a63d91c2e4baf4c8d3c8346928550 SHA512 3961e331aefde8625943720e740e324a82fcd72e298a21d77e05b59b3f62681ed7af9c24343a9827e01454f050ec8f1631bd63c863ac3e6a2015df83a2c286ab +DIST gwenview-17.12.0.tar.xz 6021388 BLAKE2B 25c6b677576ca75054ca1bcca042de1ba9617bd2836c9904d20ba55d44b6e05779c25e4418c8d23cad48d01b846aa978e1b3f6c644b989efe77994f85441e356 SHA512 cd724d0fe1ee6ddfb5e6fa91a75a9cf8b2361ec6c935049090ceee9e70df665e02a5dbd64036a57c3ed853f6e4be95fe2546db82dc6d667893cc19fd5744a628 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> |