diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-01-11 17:17:01 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-01-11 18:14:22 +0100 |
commit | 85faab2e366afa6293f3c9781866f04631fc6213 (patch) | |
tree | 38279f6f2d8718267d122dfac04798f46f87232c /kde-apps/gwenview | |
parent | profiles/package.mask: remove obsolete media-radio/wspr entry (diff) | |
download | gentoo-85faab2e366afa6293f3c9781866f04631fc6213.tar.gz gentoo-85faab2e366afa6293f3c9781866f04631fc6213.tar.bz2 gentoo-85faab2e366afa6293f3c9781866f04631fc6213.zip |
kde-apps: Add KDE Applications 17.12.1
Package-Manager: Portage-2.3.13, Repoman-2.3.4
Diffstat (limited to 'kde-apps/gwenview')
-rw-r--r-- | kde-apps/gwenview/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/gwenview/gwenview-17.12.1.ebuild | 99 |
2 files changed, 100 insertions, 0 deletions
diff --git a/kde-apps/gwenview/Manifest b/kde-apps/gwenview/Manifest index 58c63376758f..00792026b342 100644 --- a/kde-apps/gwenview/Manifest +++ b/kde-apps/gwenview/Manifest @@ -1,2 +1,3 @@ DIST gwenview-17.08.3.tar.xz 5909172 BLAKE2B 013660d574e6dfeeac5685f2af7c14536be02f4d77f008c9426cbd052be5086832d8399ca5bae7dcaad0b38c8b6a9f4bd08a63d91c2e4baf4c8d3c8346928550 SHA512 3961e331aefde8625943720e740e324a82fcd72e298a21d77e05b59b3f62681ed7af9c24343a9827e01454f050ec8f1631bd63c863ac3e6a2015df83a2c286ab DIST gwenview-17.12.0.tar.xz 6021388 BLAKE2B 25c6b677576ca75054ca1bcca042de1ba9617bd2836c9904d20ba55d44b6e05779c25e4418c8d23cad48d01b846aa978e1b3f6c644b989efe77994f85441e356 SHA512 cd724d0fe1ee6ddfb5e6fa91a75a9cf8b2361ec6c935049090ceee9e70df665e02a5dbd64036a57c3ed853f6e4be95fe2546db82dc6d667893cc19fd5744a628 +DIST gwenview-17.12.1.tar.xz 6021296 BLAKE2B 9e3ba61536ca92de76c474d71c09f8ef897efcc0d0ef11e8c06daefa85acf887121b565938e4887929edc45a36f8126f40902772568c414394aeaa307f924cae SHA512 cc436e6fb99fa41f58c7f93856c1ce2abcbcfb986cb45705fdf34b85dd85b27a0c0c7cdf7b2df06694a271ba3119a6f5b933b90346c4f1fb8668e12df78137f8 diff --git a/kde-apps/gwenview/gwenview-17.12.1.ebuild b/kde-apps/gwenview/gwenview-17.12.1.ebuild new file mode 100644 index 000000000000..87a4835bbcaf --- /dev/null +++ b/kde-apps/gwenview/gwenview-17.12.1.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2018 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 kwidgetsaddons) + $(add_frameworks_dep kxmlgui) + $(add_frameworks_dep solid) + $(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 +} |