diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-04-19 15:33:18 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-04-19 15:33:37 +0200 |
commit | 1d72a0a1cd87d7401ef850a98513c7e080d7d2e1 (patch) | |
tree | cb93e377edcbd097f32d02b97f3a1a9a5d851b10 /kde-apps/gwenview | |
parent | sys-kernel/gentoo-sources: Linux patch 4.16.3 (diff) | |
download | gentoo-1d72a0a1cd87d7401ef850a98513c7e080d7d2e1.tar.gz gentoo-1d72a0a1cd87d7401ef850a98513c7e080d7d2e1.tar.bz2 gentoo-1d72a0a1cd87d7401ef850a98513c7e080d7d2e1.zip |
kde-apps: Add KDE Applications 18.04.0
Package-Manager: Portage-2.3.24, 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-18.04.0.ebuild | 99 |
2 files changed, 100 insertions, 0 deletions
diff --git a/kde-apps/gwenview/Manifest b/kde-apps/gwenview/Manifest index bcd32f4a541a..d92419db6963 100644 --- a/kde-apps/gwenview/Manifest +++ b/kde-apps/gwenview/Manifest @@ -1 +1,2 @@ DIST gwenview-17.12.3.tar.xz 6021476 BLAKE2B a4142239cfe4d82b26977d788a67286625d7469ce4722a1c091691c02abe75ceb5b852e4754b6c3809fc96219b0a967595cd83910e8b809c553adaa0397ee939 SHA512 7691e07f6ec572a46a8b0c3e63aba93d7a3c2886384370d3d77299c94e7f9cc5f7dff4e45390cc6871bc003da27ce0f90d85d8108a7302657bc3f0175e609abf +DIST gwenview-18.04.0.tar.xz 6050924 BLAKE2B 43b57bab1ca7b303af48b704a42ffe8755399e1d441db441a37a8fee445ba53797b0f6217aabd9c24a8182964889e541b31e4f50302c6a6b21be4011dae15f6e SHA512 fa2b9cb4418907a7e73d21d9e61b0caea7143847af1c2ee8d8474062b2f46ccd8a0f4eaf01f39c7e09ecacf0950372901ab79dcc3846c8572bbde037473c1b36 diff --git a/kde-apps/gwenview/gwenview-18.04.0.ebuild b/kde-apps/gwenview/gwenview-18.04.0.ebuild new file mode 100644 index 000000000000..87a4835bbcaf --- /dev/null +++ b/kde-apps/gwenview/gwenview-18.04.0.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 +} |