diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2016-02-19 22:04:08 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2016-02-19 22:28:24 +0100 |
commit | 01f80d5ee8e1764bd76ee1f07c2a8fbfa0af7f38 (patch) | |
tree | f31006fac902f9765b82c553dc349f1aa7203215 /media-gfx | |
parent | app-text/xapian-omega: fix build system, bug #574666 (diff) | |
download | gentoo-01f80d5ee8e1764bd76ee1f07c2a8fbfa0af7f38.tar.gz gentoo-01f80d5ee8e1764bd76ee1f07c2a8fbfa0af7f38.tar.bz2 gentoo-01f80d5ee8e1764bd76ee1f07c2a8fbfa0af7f38.zip |
media-gfx/valentina: disabled compilation of tests
Package-Manager: portage-2.2.27
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/valentina/files/disable-tests-compilation.patch | 35 | ||||
-rw-r--r-- | media-gfx/valentina/valentina-0.4.2-r3.ebuild | 5 | ||||
-rw-r--r-- | media-gfx/valentina/valentina-9999.ebuild | 2 |
3 files changed, 39 insertions, 3 deletions
diff --git a/media-gfx/valentina/files/disable-tests-compilation.patch b/media-gfx/valentina/files/disable-tests-compilation.patch new file mode 100644 index 000000000000..a819a02a336b --- /dev/null +++ b/media-gfx/valentina/files/disable-tests-compilation.patch @@ -0,0 +1,35 @@ +# HG changeset patch +# User Roman Telezhynskyi <kroluku@gmail.com> +# Date 1455906661 -7200 +# Branch develop +# Node ID 8edb1b0f161a5f472a0e6a8a8b5b8a1ae7cf33c5 +# Parent 42a73e7a17757ce9d12e16f616a41f52efdf4b91 +CONFIG key to disable building tests. + +diff --git a/src/src.pro b/src/src.pro +--- a/src/src.pro ++++ b/src/src.pro +@@ -1,8 +1,17 @@ + TEMPLATE = subdirs +-SUBDIRS = \ +- libs \ +- app \ +- test + +-app.depends = libs +-test.depends = libs ++noTests{ # For enable run qmake with CONFIG+=noTests ++ SUBDIRS = \ ++ libs \ ++ app ++ ++} else { ++ SUBDIRS = \ ++ libs \ ++ app \ ++ test ++ ++ test.depends = libs ++} ++ ++app.depends = libs diff --git a/media-gfx/valentina/valentina-0.4.2-r3.ebuild b/media-gfx/valentina/valentina-0.4.2-r3.ebuild index 30affd184b50..cb70b611b4b2 100644 --- a/media-gfx/valentina/valentina-0.4.2-r3.ebuild +++ b/media-gfx/valentina/valentina-0.4.2-r3.ebuild @@ -40,7 +40,8 @@ S=${WORKDIR}/dismine-${PN}-44d43351cb59 src_prepare() { epatch "${FILESDIR}/locales.patch" \ - "${FILESDIR}/fix-insecure-runpaths.patch" + "${FILESDIR}/fix-insecure-runpaths.patch" \ + "${FILESDIR}/disable-tests-compilation.patch" } src_configure() { @@ -52,7 +53,7 @@ src_configure() { fi done - eqmake5 LOCALES="${locales}" CONFIG+=noStripDebugSymbols CONFIG+=no_ccache CONFIG+=noRunPath Valentina.pro -r + eqmake5 LOCALES="${locales}" "CONFIG+=noStripDebugSymbols no_ccache noRunPath noTests" Valentina.pro -r } src_install() { diff --git a/media-gfx/valentina/valentina-9999.ebuild b/media-gfx/valentina/valentina-9999.ebuild index 70fd441642b7..3ce700b2810f 100644 --- a/media-gfx/valentina/valentina-9999.ebuild +++ b/media-gfx/valentina/valentina-9999.ebuild @@ -46,7 +46,7 @@ src_configure() { fi done - eqmake5 LOCALES="${locales}" CONFIG+=noStripDebugSymbols CONFIG+=no_ccache CONFIG+=noRunPath Valentina.pro -r + eqmake5 LOCALES="${locales}" "CONFIG+=noStripDebugSymbols no_ccache noRunPath noTests" Valentina.pro -r } src_install() { |