diff options
author | Johannes Huber <johu@gentoo.org> | 2017-04-20 18:15:02 +0200 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2017-04-20 18:22:40 +0200 |
commit | 8f00b2bf566d896205f52099530159c97b977f68 (patch) | |
tree | 6dfeae9f7a9dc7b276cb384a7f4ad8d589de52d1 /kde-apps/okular | |
parent | kde5*eclass: KDE Applications 17.04.0 improvements (diff) | |
download | gentoo-8f00b2bf566d896205f52099530159c97b977f68.tar.gz gentoo-8f00b2bf566d896205f52099530159c97b977f68.tar.bz2 gentoo-8f00b2bf566d896205f52099530159c97b977f68.zip |
kde-apps: Version bump KDE Applications 17.04.0
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'kde-apps/okular')
-rw-r--r-- | kde-apps/okular/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/okular/okular-17.04.0.ebuild | 84 |
2 files changed, 85 insertions, 0 deletions
diff --git a/kde-apps/okular/Manifest b/kde-apps/okular/Manifest index ca979cf57ed5..f298dac0fdb6 100644 --- a/kde-apps/okular/Manifest +++ b/kde-apps/okular/Manifest @@ -1 +1,2 @@ DIST okular-16.12.3.tar.xz 1896760 SHA256 3b5a315030ffaedd6ddcb2bd1742737edb49063adc355c2dbba1ecb86dca34be SHA512 4e0c36345edbdfe01542758b55bcc4cbb1806b577e01caf574059d98338eae673b6e5303c80c78974eefaaad488595f199f32571b16f5eee3d39afc692e9fd8c WHIRLPOOL 36579302692a53bc39f162a1f21622352c50633f74b2e6850e13f3ba8341f00d1d1d312290ac8cba87bbb6461c492211be1385882f8110b3a9ce8956efa15c80 +DIST okular-17.04.0.tar.xz 5607824 SHA256 e4a817e276ea7e003b2f494514bcb53343398376d92ad03a5dc0fedf23759803 SHA512 3cf3665ee37d7be832cc039fc37eea24842ae972cfc2bb41ee808ed1729a12b5cc7b5cf8b68791e2c36c52faafa374eb8b939ddf33776dd32c43bcfa011c82d7 WHIRLPOOL dc1b1114f8c4bf6577ea4c1bc23d34c9def1ff16153eb6fbcae32e8c1b581487d1476b6670dc9d6bd462e75a7208ed21ed1460ec242209f160a363badf27642a diff --git a/kde-apps/okular/okular-17.04.0.ebuild b/kde-apps/okular/okular-17.04.0.ebuild new file mode 100644 index 000000000000..fedc6a765d41 --- /dev/null +++ b/kde-apps/okular/okular-17.04.0.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KDE_HANDBOOK="forceoptional" +KDE_TEST="forceoptional" +VIRTUALX_REQUIRED="test" +inherit kde5 + +DESCRIPTION="Universal document viewer based on KDE Frameworks" +HOMEPAGE="https://okular.kde.org https://www.kde.org/applications/graphics/okular" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="chm crypt djvu ebook +jpeg mobi mobile +pdf +postscript speech +tiff" + +DEPEND=" + $(add_frameworks_dep kactivities) + $(add_frameworks_dep karchive) + $(add_frameworks_dep kbookmarks) + $(add_frameworks_dep kcompletion) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kdbusaddons) + $(add_frameworks_dep kio) + $(add_frameworks_dep kjs) + $(add_frameworks_dep kparts) + $(add_frameworks_dep kwallet) + $(add_frameworks_dep kpty) + $(add_frameworks_dep threadweaver) + $(add_qt_dep qtdbus) + $(add_qt_dep qtgui) + $(add_qt_dep qtprintsupport) + $(add_qt_dep qtsvg) + $(add_qt_dep qtwidgets) + media-libs/freetype + media-libs/phonon[qt5] + sys-libs/zlib + chm? ( + $(add_frameworks_dep khtml) + dev-libs/chmlib + ) + crypt? ( app-crypt/qca:2[qt5] ) + djvu? ( app-text/djvu ) + ebook? ( app-text/ebook-tools ) + jpeg? ( + $(add_kdeapps_dep libkexiv2) + virtual/jpeg:0 + ) + mobi? ( $(add_kdeapps_dep kdegraphics-mobipocket) ) + pdf? ( app-text/poppler[qt5,-exceptions(-)] ) + postscript? ( app-text/libspectre ) + speech? ( $(add_qt_dep qtspeech) ) + tiff? ( media-libs/tiff:0 ) +" +RDEPEND="${DEPEND} + mobile? ( dev-libs/kirigami:1 ) +" + +# bug 603116 +RESTRICT+=" test" + +src_prepare() { + kde5_src_prepare + use mobile || cmake_comment_add_subdirectory mobile + use test || cmake_comment_add_subdirectory conf/autotests +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package chm CHM) + $(cmake-utils_use_find_package crypt Qca-qt5) + $(cmake-utils_use_find_package djvu DjVuLibre) + $(cmake-utils_use_find_package ebook EPub) + $(cmake-utils_use_find_package jpeg KF5KExiv2) + $(cmake-utils_use_find_package mobi QMobipocket) + $(cmake-utils_use_find_package pdf Poppler) + $(cmake-utils_use_find_package postscript LibSpectre) + $(cmake-utils_use_find_package speech Qt5TextToSpeech) + $(cmake-utils_use_find_package tiff TIFF) + ) + + kde5_src_configure +} |