1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#! /usr/bin/env python
Import('env')
myenv=env.Copy()
knetwalk_sources = [
'cell.cpp', 'main.cpp', 'mainwindow.cpp', 'settings.kcfgc', 'highscores.cpp'
]
myenv.KDEprogram( "knetwalk", knetwalk_sources)
myenv.KDEaddpaths_includes( ['./', '#./'])
myenv.KDEaddlibs( ['qt-mt', 'tdeio', 'tdecore', 'tdegames'])
myenv.KDEinstall('KDEDATA', 'knetwalk', 'knetwalkui.rc')
myenv.KDEinstall('KDEDATA', 'knetwalk', 'eventsrc')
myenv.KDEinstall('KDEXDG', '', 'knetwalk.desktop')
myenv.KDEinstall('KDEKCFG', '', 'knetwalk.kcfg')
soundfiles="""
sounds/click.wav
sounds/connect.wav
sounds/start.wav
sounds/turn.wav
sounds/win.wav
""".split()
myenv.KDEinstall('KDEDATA', 'knetwalk/sounds', soundfiles)
|