diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-12-13 18:39:22 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-12-13 18:40:11 +0100 |
commit | 6e8a594136dad7b06f12f40126aed0ce023d8f3d (patch) | |
tree | df82dbe07168f8ffeeb2444089b499d5542aea94 /kde-apps | |
parent | sys-kernel/gentoo-sources: Linux patch 4.4.167 (diff) | |
download | gentoo-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>
Diffstat (limited to 'kde-apps')
-rw-r--r-- | kde-apps/okular/files/okular-18.12.0-tests.patch | 17 | ||||
-rw-r--r-- | kde-apps/okular/okular-18.12.0.ebuild | 2 |
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 000000000000..2b617150508e --- /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 45accdec78c9..83bf1eabfd3a 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() { |