summaryrefslogtreecommitdiffstats
path: root/asciiquarium/SConstruct
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2021-04-26 18:17:21 +0200
committerMichele Calgaro <michele.calgaro@yahoo.it>2021-05-21 12:18:46 +0900
commit038e20a6bb9c2adfeb54e5c98ee475969575f39f (patch)
tree7052c9031a8b067f1311d2d0bff0785db25c195d /asciiquarium/SConstruct
parente3a9c9e680ad33d28923091a881b9eca5ad78368 (diff)
downloadtdeartwork-038e20a6bb9c2adfeb54e5c98ee475969575f39f.tar.gz
tdeartwork-038e20a6bb9c2adfeb54e5c98ee475969575f39f.zip
Import original source code KDE3 Asciiquarium-0.3.2 from https://store.kde.org/p/1124051.
KDE Asciiquarium is a screensaver based off Kirk Baucom's asciiquarium program (http://www.robobunny.com/projects/asciiquarium/). Code is GPL licensed, https://robobunny.com/projects/asciiquarium/gpl.txt Signed-off-by: gregory guy <gregory-tde@laposte.net> (cherry picked from commit 66605c73afda749d19dac310d41f7a7241d6d00b)
Diffstat (limited to 'asciiquarium/SConstruct')
-rw-r--r--asciiquarium/SConstruct32
1 files changed, 32 insertions, 0 deletions
diff --git a/asciiquarium/SConstruct b/asciiquarium/SConstruct
new file mode 100644
index 00000000..61fe6e9e
--- /dev/null
+++ b/asciiquarium/SConstruct
@@ -0,0 +1,32 @@
+#! /usr/bin/env python
+
+###################################################################
+# LOAD THE ENVIRONMENT AND SET UP THE TOOLS
+###################################################################
+
+## Load the builders in config
+tools = [ 'default', 'generic', 'kde' ]
+toolpath = [ './', './admin' ]
+
+# Required as part of SCons
+env = Environment(tools = tools, toolpath = toolpath)
+
+# Pull in some default settings.
+env.KDEuse("environ rpath nohelp")
+#env.KDEuse("environ rpath lang_qt thread nohelp")
+
+# Export the environment so that SConscript files in subdirs can access it.
+Export('env')
+
+###################################################################
+# SCRIPTS FOR BUILDING THE TARGETS
+###################################################################
+
+distClean = env.Action("find %s -name '*.pyc' -exec rm {} \\;" % env.GetLaunchDir())
+dist = env.Alias('dist', action = distClean)
+
+env.Alias(dist, action = Delete("%s/cache" % env.GetLaunchDir()))
+env.Clean(dist, ['cache'])
+env.AlwaysBuild(dist)
+
+env.subdirs('src')