summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-09-07 20:29:32 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-09-07 20:29:32 +0200
commit996987a2817587de8e6dd587fdfdf8897d383ae4 (patch)
treed607e47be660333a574a1618e0f090dd0f0ea60a /kde-apps/okular
parentmedia-radio/flrig: Version bump (diff)
downloadgentoo-996987a2817587de8e6dd587fdfdf8897d383ae4.tar.gz
gentoo-996987a2817587de8e6dd587fdfdf8897d383ae4.tar.bz2
gentoo-996987a2817587de8e6dd587fdfdf8897d383ae4.zip
kde-apps: Add KDE Applications 17.08.1
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'kde-apps/okular')
-rw-r--r--kde-apps/okular/Manifest1
-rw-r--r--kde-apps/okular/okular-17.08.1.ebuild89
2 files changed, 90 insertions, 0 deletions
diff --git a/kde-apps/okular/Manifest b/kde-apps/okular/Manifest
index f208c5c9903..4a5021cc365 100644
--- a/kde-apps/okular/Manifest
+++ b/kde-apps/okular/Manifest
@@ -1,2 +1,3 @@
DIST okular-17.04.3.tar.xz 5606304 SHA256 3b9e34d6f03d54b8ba17bab7be67109b8974c4f0465087fb8ad09be889aa0530 SHA512 36d843f122d7a558cba2236e0db9a4f01af2b167fd24c8e34126bcb4eadadefa97dbe25e2e6168e649e11ad56e9039e22ee45c6c4e38b0f1809266bb9b58be85 WHIRLPOOL 2c9e2a2527e2669989b2336745cc520809767910d3ddfca588af0ba1c0b041b0e8cad72481a1d5f8d5d802b1252266fa70ee336afc56c13b289131ce2a7a1cdb
DIST okular-17.08.0.tar.xz 5617436 SHA256 cf2b5e372edd27ab847309a5f1a1e7f99fab5f759ffe1361b826ca448294f039 SHA512 3965bb1312a2f68c59f8f28ae84a26790b8bd078177688474ca6b04c62f7b7e9507855f348ae061bb5dc0568dc30cb3eeb09bbb8e175e1c322daaf2951ca8f0e WHIRLPOOL cf8bc4dea70a05e1f23ec7481017edcdac826ca2bdc5366e7d9a229aeb481437bf5d9b9ada07d1c45bf56fdaae49101838db4819224367527e1154b7aca4ec19
+DIST okular-17.08.1.tar.xz 5617716 SHA256 8625462d8426ad903500fe1d6821a65776715932f5746f2a46e911c59cd3f108 SHA512 a1f53976cb288118788ab36b3ac9e09ded8d648907e776f0f04cb51fe16205f159af9aa1baddb6e7bbbeb5a31327b2b979a854ffbdffde74ea04548cd2a7f5b1 WHIRLPOOL 5c5cc4ab428698a5841c373e20bd7f05d8051fbc5dbb183047be601be778dc883640d568af16245c9a7af987ab51b0b2977415f3b12ce49558ba4276ad9f4869
diff --git a/kde-apps/okular/okular-17.08.1.ebuild b/kde-apps/okular/okular-17.08.1.ebuild
new file mode 100644
index 00000000000..d5203dbeb7b
--- /dev/null
+++ b/kde-apps/okular/okular-17.08.1.ebuild
@@ -0,0 +1,89 @@
+# 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 ~x86"
+IUSE="chm crypt djvu epub +image-backend mobi mobile +pdf plucker +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 kio)
+ $(add_frameworks_dep kjs)
+ $(add_frameworks_dep kparts)
+ $(add_frameworks_dep kpty)
+ $(add_frameworks_dep kwallet)
+ $(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 )
+ epub? ( app-text/ebook-tools )
+ image-backend? (
+ $(add_kdeapps_dep libkexiv2)
+ $(add_qt_dep qtgui 'gif,jpeg,png')
+ )
+ mobi? ( $(add_kdeapps_dep kdegraphics-mobipocket) )
+ pdf? ( app-text/poppler[qt5,-exceptions(-)] )
+ plucker? ( virtual/jpeg:0 )
+ postscript? ( app-text/libspectre )
+ speech? ( $(add_qt_dep qtspeech) )
+ tiff? ( media-libs/tiff:0 )
+"
+RDEPEND="${DEPEND}
+ image-backend? ( $(add_frameworks_dep kimageformats) )
+ mobile? (
+ $(add_qt_dep qtquickcontrols)
+ $(add_frameworks_dep kirigami '' 2.2.0)
+ )
+"
+
+# 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 epub EPub)
+ $(cmake-utils_use_find_package image-backend KF5KExiv2)
+ $(cmake-utils_use_find_package mobi QMobipocket)
+ $(cmake-utils_use_find_package pdf Poppler)
+ $(cmake-utils_use_find_package plucker JPEG)
+ $(cmake-utils_use_find_package postscript LibSpectre)
+ $(cmake-utils_use_find_package speech Qt5TextToSpeech)
+ $(cmake-utils_use_find_package tiff TIFF)
+ )
+
+ kde5_src_configure
+}