summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-05-30 13:06:38 +0100
committerCarl Hetherington <cth@carlh.net>2013-05-30 13:06:38 +0100
commit5a2526a4df638d0330a06938b7d0f307d93bd0c9 (patch)
tree4b431e1ca06a1e3ffe866b8fe9a197a1899bc61a
parentc7f73ab2c9e1a642f40f922303a63599aeadb30a (diff)
Try to add desktop link for GUI encode server (#151).
-rw-r--r--servomatic.desktop.in10
-rw-r--r--wscript7
2 files changed, 16 insertions, 1 deletions
diff --git a/servomatic.desktop.in b/servomatic.desktop.in
new file mode 100644
index 000000000..572b4c64c
--- /dev/null
+++ b/servomatic.desktop.in
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Version=1.0
+Type=Application
+Terminal=false
+Exec=@PREFIX@/bin/servomatic_gui
+Name=DVD-o-matic Encode Server
+Icon=dvdomatic
+Comment=DCP generator
+Categories=AudioVideo;Video
diff --git a/wscript b/wscript
index 86ed07b1b..9a7cedab9 100644
--- a/wscript
+++ b/wscript
@@ -206,7 +206,12 @@ def build(bld):
obj.target = 'dvdomatic_batch.desktop'
obj.dict = d
- bld.install_files('${PREFIX}/share/applications', ['dvdomatic.desktop', 'dvdomatic_batch.desktop'])
+ obj = bld(features = 'subst')
+ obj.source = 'servomatic.desktop.in'
+ obj.target = 'servomatic.desktop'
+ obj.dict = d
+
+ bld.install_files('${PREFIX}/share/applications', ['dvdomatic.desktop', 'dvdomatic_batch.desktop', 'servomatic.desktop'])
for r in ['22x22', '32x32', '48x48', '64x64', '128x128']:
bld.install_files('${PREFIX}/share/icons/hicolor/%s/apps' % r, 'icons/%s/dvdomatic.png' % r)