commit:     6e8a594136dad7b06f12f40126aed0ce023d8f3d
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 13 17:39:22 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Dec 13 17:40:11 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e8a5941

kde-apps/okular: Add missing tests patch

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-apps/okular/files/okular-18.12.0-tests.patch | 17 +++++++++++++++++
 kde-apps/okular/okular-18.12.0.ebuild            |  2 +-
 2 files changed, 18 insertions(+), 1 deletion(-)

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() {

Reply via email to