From 5a2526a4df638d0330a06938b7d0f307d93bd0c9 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 30 May 2013 13:06:38 +0100 Subject: [PATCH 1/1] Try to add desktop link for GUI encode server (#151). --- servomatic.desktop.in | 10 ++++++++++ wscript | 7 ++++++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 servomatic.desktop.in 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) -- 2.30.2