summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-12-13 18:39:22 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-12-13 18:40:11 +0100
commit6e8a594136dad7b06f12f40126aed0ce023d8f3d (patch)
treedf82dbe07168f8ffeeb2444089b499d5542aea94
parentsys-kernel/gentoo-sources: Linux patch 4.4.167 (diff)
downloadgentoo-6e8a594136dad7b06f12f40126aed0ce023d8f3d.tar.gz
gentoo-6e8a594136dad7b06f12f40126aed0ce023d8f3d.tar.bz2
gentoo-6e8a594136dad7b06f12f40126aed0ce023d8f3d.zip
kde-apps/okular: Add missing tests patch
Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-apps/okular/files/okular-18.12.0-tests.patch17
-rw-r--r--kde-apps/okular/okular-18.12.0.ebuild2
2 files changed, 18 insertions, 1 deletions
diff --git a/kde-apps/okular/files/okular-18.12.0-tests.patch b/kde-apps/okular/files/okular-18.12.0-tests.patch
new file mode 100644
index 00000000000..2b617150508
--- /dev/null
+++ b/kde-apps/okular/files/okular-18.12.0-tests.patch
@@ -0,0 +1,17 @@
+--- a/generators/epub/CMakeLists.txt 2018-08-19 21:34:51.151645090 +0200
++++ b/generators/epub/CMakeLists.txt 2018-08-19 21:36:28.771109586 +0200
+@@ -23,12 +23,13 @@
+
+ ########### autotests ###############
+
++if(BUILD_TESTING)
+ add_definitions( -DKDESRCDIR="${CMAKE_CURRENT_SOURCE_DIR}/" )
+ ecm_add_test(autotests/epubgeneratortest.cpp
+ TEST_NAME "epubgeneratortest"
+ LINK_LIBRARIES Qt5::Test KF5::CoreAddons okularcore
+ )
+-
++endif()
+
+ ########### install files ###############
+ install( FILES okularEPub.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
diff --git a/kde-apps/okular/okular-18.12.0.ebuild b/kde-apps/okular/okular-18.12.0.ebuild
index 45accdec78c..83bf1eabfd3 100644
--- a/kde-apps/okular/okular-18.12.0.ebuild
+++ b/kde-apps/okular/okular-18.12.0.ebuild
@@ -66,7 +66,7 @@ RDEPEND="${DEPEND}
PATCHES=(
"${FILESDIR}/${PN}-18.08.0-tests.patch"
- "${FILESDIR}/${PN}-tests.patch"
+ "${FILESDIR}/${PN}-18.12.0-tests.patch"
)
src_prepare() {