summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2021-03-03 21:42:42 +0100
committergregory guy <gregory-tde@laposte.net>2021-03-04 15:33:33 +0100
commit48deaabecefea835f81c9e6e8ba73ee8881c314c (patch)
tree308142fdae63e149d93c3fd5ab37d8debe6b8919 /src
parentac5847e869954149361463d62e68d6081c97dad5 (diff)
downloadkstreamripper-48deaabecefea835f81c9e6e8ba73ee8881c314c.tar.gz
kstreamripper-48deaabecefea835f81c9e6e8ba73ee8881c314c.zip
Drop scons build support.
Deleted empty file ChangeLog. Update some cmake files with latest macros. Add basic cmake build instructions. Few cosmetics. Signed-off-by: gregory guy <gregory-tde@laposte.net>
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt5
-rw-r--r--src/SConscript68
2 files changed, 1 insertions, 72 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 1ec9d52..7eacdcf 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -46,7 +46,4 @@ install(
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
)
-install(
- FILES ${PROJECT_NAME}.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
-)
+tde_create_translated_desktop( ${PROJECT_NAME}.desktop )
diff --git a/src/SConscript b/src/SConscript
deleted file mode 100644
index 97a8595..0000000
--- a/src/SConscript
+++ /dev/null
@@ -1,68 +0,0 @@
-#! /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.Clone()
-
-#############################
-## the programs to build
-
-# The sources for our program - only .ui, .skel and .cpp are accepted
-kstreamripper_sources = """
-addnewstreamimpl.cpp
-addnewstream.ui
-kstreamripperbase.ui
-kstreamripper.cpp
-main.cpp
-processcontroller.cpp
-processlistviewitem.cpp
-""".split()
-
-# Our main program
-# KDEprogram add the file to the install targets automatically,
-# so you do not need to write KDEinstall('KDEBIN', '', test1, myenv)
-myenv.KDEprogram( "kstreamripper", kstreamripper_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( ['./', '../'] )
-
-## Necessary libraries to link against
-myenv.KDEaddlibs( ['tqt-mt', 'tqt', 'tdecore', 'tdeio', 'tdeui', 'tdednssd'] )
-#############################
-## Data to install
-
-## The ui.rc file and the tips go into datadir/appname/
-myenv.KDEinstall( 'KDEDATA', 'kstreamripper', 'kstreamripperui.rc' )
-
-## The kcfg file is installed in a global kcfg directory
-#myenv.KDEinstall( 'KDEKCFG', '', 'test1.kcfg' )
-
-## Warning : there is a difference between the normal destop file used for the menu
-## and the servicetype desktop file, so they go in different directories
-## you will find more information in 'test3'
-myenv.KDEinstall( 'KDEXDG', '', 'kstreamripper.desktop')
-
-## Use this when you need to install a mimetype file
-#myenv.KDEinstall( 'KDEMIME', 'application', 'x-test1.desktop' )
-
-## Installing icons is easy (hi-16-app-test1.png, hi-22-app-test1.png)
-## do not forget that this is a python script so loops are allowed here :)
-myenv.KDEicon( 'hi16-app-kstreameripper.png')
-myenv.KDEicon( 'hi32-app-kstreameripper.png')
-