summaryrefslogtreecommitdiffstats
path: root/asciiquarium/src/SConscript
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/src/SConscript
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/src/SConscript')
-rw-r--r--asciiquarium/src/SConscript44
1 files changed, 44 insertions, 0 deletions
diff --git a/asciiquarium/src/SConscript b/asciiquarium/src/SConscript
new file mode 100644
index 00000000..ef7ffeb3
--- /dev/null
+++ b/asciiquarium/src/SConscript
@@ -0,0 +1,44 @@
+#! /usr/bin/env python
+## This script demonstrates how to build and install
+## a simple kde program having KconfigXT settings
+## with scons
+##
+## Thomas Nagy, 2004, 2005
+
+## This file can be reused freely for any project (see COPYING)
+
+############################
+## load the config
+
+## Use the environment and the tools set in the top-level
+## SConstruct file (set with 'Export') - this is very important
+
+Import( 'env' )
+myenv=env.Copy()
+
+#############################
+## the programs to build
+
+# The sources for our program - only .ui, .skel and .cpp are accepted
+aa_sources = """
+aasaver.cpp
+screen.cpp
+frame.cpp
+sprite.cpp
+AASaverConfig.kcfgc
+settingswidget.ui
+"""
+
+myenv.KDEprogram( "asciiquarium.kss", aa_sources )
+
+############################
+## Customization
+
+## Additional include paths for compiling the source files
+## Always add '../' (top-level directory) because moc makes code that needs it
+myenv.KDEaddpaths_includes('#/src/ #/')
+
+## Necessary libraries to link against
+myenv.KDEaddlibs( 'qt-mt kdecore kdeui kscreensaver' )
+myenv.KDEinstall('KDEAPPS', 'System/ScreenSavers', 'asciiquarium.desktop')
+myenv.KDEinstall('KDEKCFG', '', 'asciiquarium.kcfg')