summaryrefslogtreecommitdiff
path: root/media-gfx/pencil/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /media-gfx/pencil/files
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'media-gfx/pencil/files')
-rw-r--r--media-gfx/pencil/files/pencil-0.6.5-skip-building-tests.patch53
1 files changed, 53 insertions, 0 deletions
diff --git a/media-gfx/pencil/files/pencil-0.6.5-skip-building-tests.patch b/media-gfx/pencil/files/pencil-0.6.5-skip-building-tests.patch
new file mode 100644
index 000000000000..dd7c80f2893c
--- /dev/null
+++ b/media-gfx/pencil/files/pencil-0.6.5-skip-building-tests.patch
@@ -0,0 +1,53 @@
+From f949445894fa6da9eaa9f26f54bac59888822011 Mon Sep 17 00:00:00 2001
+From: Matt Chang <chchwy@gmail.com>
+Date: Wed, 5 Aug 2020 15:06:29 +1000
+Subject: [PATCH] qmake CONFIG+=NO_TESTS to skip building tests
+
+---
+ pencil2d.pro | 24 ++++++++++++------------
+ 1 file changed, 12 insertions(+), 12 deletions(-)
+
+diff --git a/pencil2d.pro b/pencil2d.pro
+index f9fbca5a2..e1bc4a179 100644
+--- a/pencil2d.pro
++++ b/pencil2d.pro
+@@ -4,22 +4,23 @@
+
+ TEMPLATE = subdirs
+
+-SUBDIRS = \ # sub-project names
+- core_lib \
+- app \
+- tests
+-
+ # build the project sequentially as listed in SUBDIRS !
+ CONFIG += ordered
+
+-# where to find the sub projects - give the folders
++SUBDIRS += core_lib
+ core_lib.subdir = core_lib
+-app.subdir = app
+-tests.subdir = tests
+
+-# what subproject depends on others
+-app.depends = core_lib
+-tests.depends = core_lib
++SUBDIRS += app
++app.subdir = app
++app.depends = core_lib
++
++SUBDIRS += tests
++tests.subdir = tests
++tests.depends = core_lib
++
++NO_TESTS {
++ SUBDIRS -= tests
++}
+
+ TRANSLATIONS += translations/pencil.ts \
+ translations/pencil_ar.ts \
+@@ -48,4 +49,3 @@ TRANSLATIONS += translations/pencil.ts \
+ translations/pencil_zh_CN.ts \
+ translations/pencil_zh_TW.ts
+
+-macx: LIBS += -framework AppKit