summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kscons_kmdi/SConscript-src
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-11-15 21:42:20 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-11-15 21:42:20 -0600
commit93907d7e7a2741818d4b5e1c3ea645f784f7347e (patch)
tree15b6037c86d3e19bb6be3e56eaaf33576faa53df /languages/cpp/app_templates/kscons_kmdi/SConscript-src
parent7ccec9def581eca60cd30bbcd6bda08024d81879 (diff)
downloadtdevelop-93907d7e7a2741818d4b5e1c3ea645f784f7347e.tar.gz
tdevelop-93907d7e7a2741818d4b5e1c3ea645f784f7347e.zip
Automatically update admin submodule and copy sustem libtool files before first build
Fix FTBFS in many TDE sample projects Place TDE sample projects in a TDE category instead of a KDE category
Diffstat (limited to 'languages/cpp/app_templates/kscons_kmdi/SConscript-src')
-rw-r--r--languages/cpp/app_templates/kscons_kmdi/SConscript-src32
1 files changed, 16 insertions, 16 deletions
diff --git a/languages/cpp/app_templates/kscons_kmdi/SConscript-src b/languages/cpp/app_templates/kscons_kmdi/SConscript-src
index 1b3ad2d3..c1f9742d 100644
--- a/languages/cpp/app_templates/kscons_kmdi/SConscript-src
+++ b/languages/cpp/app_templates/kscons_kmdi/SConscript-src
@@ -20,41 +20,41 @@ settings.kcfgc
prefs.ui
"""
# Now that we have our list of sources we can build the program
-myenv.KDEprogram( '%{APPNAMELC}', %{APPNAMELC}_sources ) # main program
-myenv.KDEaddpaths_includes( './ ../' ) # additional paths
-myenv.KDEaddlibs( 'qt-mt tdecore kio kparts kmdi' ) # additional libraries
+myenv.TDEprogram( '%{APPNAMELC}', %{APPNAMELC}_sources ) # main program
+myenv.TDEaddpaths_includes( './ ../' ) # additional paths
+myenv.TDEaddlibs( 'qt-mt tdecore kio kparts kmdi' ) # additional libraries
## Next, the kpart library
-## using KDEshlib, the .so and .la are installed automatically when needed
+## using TDEshlib, the .so and .la are installed automatically when needed
myenv2=env.Copy()
%{APPNAMELC}part_sources = '%{APPNAMELC}_part.cpp'
-myenv2.KDEshlib( 'lib%{APPNAMELC}part', %{APPNAMELC}part_sources)
-myenv2.KDEaddpaths_includes( './ #/' ) # the '#' means the top-level directory
-myenv2.KDEaddlibs( 'qt-mt kio tdecore tdeprint kparts' )
-# myenv2.KDEaddflags_link( '-DQT_THREAD_SUPPORT' )
+myenv2.TDEshlib( 'lib%{APPNAMELC}part', %{APPNAMELC}part_sources)
+myenv2.TDEaddpaths_includes( './ #/' ) # the '#' means the top-level directory
+myenv2.TDEaddlibs( 'qt-mt kio tdecore tdeprint kparts' )
+# myenv2.TDEaddflags_link( '-DQT_THREAD_SUPPORT' )
#############################
## Data files to install
-## NOTE: KDEinstall( resource_type, subdir, list of files )
+## NOTE: TDEinstall( resource_type, subdir, list of files )
## the .kcfg file
-myenv.KDEinstall( 'KDEKCFG', '', '%{APPNAMELC}.kcfg' )
+myenv.TDEinstall( 'TDEKCFG', '', '%{APPNAMELC}.kcfg' )
## the program .desktop file
-myenv.KDEinstall( 'KDEMENU', '/Utilities', '%{APPNAMELC}.desktop' )
+myenv.TDEinstall( 'TDEMENU', '/Utilities', '%{APPNAMELC}.desktop' )
## the rc file - named *_shell.rc instead of *ui.rc for kpart apps
-myenv.KDEinstall( 'KDEDATA', '/%{APPNAMELC}', '%{APPNAMELC}_shell.rc' )
+myenv.TDEinstall( 'TDEDATA', '/%{APPNAMELC}', '%{APPNAMELC}_shell.rc' )
-## this servicetype desktop file goes in KDEXDG whether the other one goes in KDEMENU
-myenv.KDEinstall( 'KDEXDG', '', '%{APPNAMELC}_part.desktop' )
+## this servicetype desktop file goes in TDEXDG whether the other one goes in TDEMENU
+myenv.TDEinstall( 'TDEXDG', '', '%{APPNAMELC}_part.desktop' )
## the kpart resource file
-myenv.KDEinstall( 'KDEDATA', '/%{APPNAMELC}part', '%{APPNAMELC}_part.rc' )
+myenv.TDEinstall( 'TDEDATA', '/%{APPNAMELC}part', '%{APPNAMELC}_part.rc' )
## Installing icons is easy (hi-16-app-%{APPNAMELC}.png, hi-22-app-%{APPNAMELC}.png)
-#myenv.KDEicon()
+#myenv.TDEicon()
## do not forget that this is a python script so even loops are allowed... :)