diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-08-17 20:21:16 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-08-17 20:58:09 +0200 |
commit | c1063afea17a29bb75dbbbf0121fa5c8ad948574 (patch) | |
tree | c62ccf9ec787742c39c2afd14ac1198894802629 /kde-apps/gwenview | |
parent | media-libs/libqaccessibilityclient: New package (diff) | |
download | gentoo-c1063afea17a29bb75dbbbf0121fa5c8ad948574.tar.gz gentoo-c1063afea17a29bb75dbbbf0121fa5c8ad948574.tar.bz2 gentoo-c1063afea17a29bb75dbbbf0121fa5c8ad948574.zip |
kde-apps: Add KDE Applications 17.08.0
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'kde-apps/gwenview')
-rw-r--r-- | kde-apps/gwenview/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/gwenview/gwenview-17.08.0.ebuild | 97 |
2 files changed, 98 insertions, 0 deletions
diff --git a/kde-apps/gwenview/Manifest b/kde-apps/gwenview/Manifest index ef8ff82747b7..4fe2c5506ea5 100644 --- a/kde-apps/gwenview/Manifest +++ b/kde-apps/gwenview/Manifest @@ -1 +1,2 @@ DIST gwenview-17.04.3.tar.xz 5903720 SHA256 8abe06b71af9154cd7b5026b1459f9b94a8f1930527c2b1f20daaecc2244be89 SHA512 34c21beeabbbc28b71ec4723597003e5ebd466e9b2646ef0ebb7b39bc94ebabb0183930afbca99fa440206e08dcf6ad6fe26738d1d01b00584481cb1ed289fcb WHIRLPOOL ac4b6160b84237b16f99048f2269a779368eaa51ae96804ffc8797188aaee7e665f9a9a0d971509e296dfdf87a44e800d19e8267c7c2b7f6adadfd24c9164245 +DIST gwenview-17.08.0.tar.xz 5907760 SHA256 b1b8642c692ce4a6c87ebce614b1b800fd950b57982eaab543a469b0d35115f7 SHA512 a638a9f7784c9ba1d5442001ffd13df829d0c66c4c04d8b67f1b0940f2e814039fb203cfcb9b789deb473c64d6d420939483661d741a7156fa60e91fe5dc24fa WHIRLPOOL edc9ec7d7ce16a49249d722e3c34a4225f2eab78451d1e8b43f831859d5a06a3e95d59cd073f28ed98bcaaf657a78a3a5a7bd822edaa823a9cef2c7018039713 diff --git a/kde-apps/gwenview/gwenview-17.08.0.ebuild b/kde-apps/gwenview/gwenview-17.08.0.ebuild new file mode 100644 index 000000000000..050bf1145745 --- /dev/null +++ b/kde-apps/gwenview/gwenview-17.08.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 +} |