Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/valentina/, media-gfx/valentina/files/
Date: Fri, 19 Feb 2016 21:28:40
Message-Id: 1455917304.01f80d5ee8e1764bd76ee1f07c2a8fbfa0af7f38.fordfrog@gentoo
1 commit: 01f80d5ee8e1764bd76ee1f07c2a8fbfa0af7f38
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 19 21:04:08 2016 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 19 21:28:24 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01f80d5e
7
8 media-gfx/valentina: disabled compilation of tests
9
10 Package-Manager: portage-2.2.27
11
12 .../files/disable-tests-compilation.patch | 35 ++++++++++++++++++++++
13 media-gfx/valentina/valentina-0.4.2-r3.ebuild | 5 ++--
14 media-gfx/valentina/valentina-9999.ebuild | 2 +-
15 3 files changed, 39 insertions(+), 3 deletions(-)
16
17 diff --git a/media-gfx/valentina/files/disable-tests-compilation.patch b/media-gfx/valentina/files/disable-tests-compilation.patch
18 new file mode 100644
19 index 0000000..a819a02
20 --- /dev/null
21 +++ b/media-gfx/valentina/files/disable-tests-compilation.patch
22 @@ -0,0 +1,35 @@
23 +# HG changeset patch
24 +# User Roman Telezhynskyi <kroluku@×××××.com>
25 +# Date 1455906661 -7200
26 +# Branch develop
27 +# Node ID 8edb1b0f161a5f472a0e6a8a8b5b8a1ae7cf33c5
28 +# Parent 42a73e7a17757ce9d12e16f616a41f52efdf4b91
29 +CONFIG key to disable building tests.
30 +
31 +diff --git a/src/src.pro b/src/src.pro
32 +--- a/src/src.pro
33 ++++ b/src/src.pro
34 +@@ -1,8 +1,17 @@
35 + TEMPLATE = subdirs
36 +-SUBDIRS = \
37 +- libs \
38 +- app \
39 +- test
40 +
41 +-app.depends = libs
42 +-test.depends = libs
43 ++noTests{ # For enable run qmake with CONFIG+=noTests
44 ++ SUBDIRS = \
45 ++ libs \
46 ++ app
47 ++
48 ++} else {
49 ++ SUBDIRS = \
50 ++ libs \
51 ++ app \
52 ++ test
53 ++
54 ++ test.depends = libs
55 ++}
56 ++
57 ++app.depends = libs
58
59 diff --git a/media-gfx/valentina/valentina-0.4.2-r3.ebuild b/media-gfx/valentina/valentina-0.4.2-r3.ebuild
60 index 30affd1..cb70b61 100644
61 --- a/media-gfx/valentina/valentina-0.4.2-r3.ebuild
62 +++ b/media-gfx/valentina/valentina-0.4.2-r3.ebuild
63 @@ -40,7 +40,8 @@ S=${WORKDIR}/dismine-${PN}-44d43351cb59
64
65 src_prepare() {
66 epatch "${FILESDIR}/locales.patch" \
67 - "${FILESDIR}/fix-insecure-runpaths.patch"
68 + "${FILESDIR}/fix-insecure-runpaths.patch" \
69 + "${FILESDIR}/disable-tests-compilation.patch"
70 }
71
72 src_configure() {
73 @@ -52,7 +53,7 @@ src_configure() {
74 fi
75 done
76
77 - eqmake5 LOCALES="${locales}" CONFIG+=noStripDebugSymbols CONFIG+=no_ccache CONFIG+=noRunPath Valentina.pro -r
78 + eqmake5 LOCALES="${locales}" "CONFIG+=noStripDebugSymbols no_ccache noRunPath noTests" Valentina.pro -r
79 }
80
81 src_install() {
82
83 diff --git a/media-gfx/valentina/valentina-9999.ebuild b/media-gfx/valentina/valentina-9999.ebuild
84 index 70fd441..3ce700b 100644
85 --- a/media-gfx/valentina/valentina-9999.ebuild
86 +++ b/media-gfx/valentina/valentina-9999.ebuild
87 @@ -46,7 +46,7 @@ src_configure() {
88 fi
89 done
90
91 - eqmake5 LOCALES="${locales}" CONFIG+=noStripDebugSymbols CONFIG+=no_ccache CONFIG+=noRunPath Valentina.pro -r
92 + eqmake5 LOCALES="${locales}" "CONFIG+=noStripDebugSymbols no_ccache noRunPath noTests" Valentina.pro -r
93 }
94
95 src_install() {