projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Try to avoid crash on opening preferences on a machine with no audio devices.
[dcpomatic.git]
/
platform
/
linux
/
wscript
diff --git
a/platform/linux/wscript
b/platform/linux/wscript
index 336c1bcb002aefee8c18fe4a478832e3cd186336..6e96f3f790097238a09cda36cc0773b821a5a001 100644
(file)
--- a/
platform/linux/wscript
+++ b/
platform/linux/wscript
@@
-18,13
+18,9
@@
def build(bld):
obj.VERSION = bld.env.VERSION
obj = bld(features='subst')
obj.VERSION = bld.env.VERSION
obj = bld(features='subst')
- obj.source = 'dcpomatic
.spec
.in'
- obj.target = 'dcpomatic2
.spec
'
+ obj.source = 'dcpomatic
_kdm.desktop
.in'
+ obj.target = 'dcpomatic2
_kdm.desktop
'
obj.INSTALL_PREFIX = bld.env.INSTALL_PREFIX
obj.VERSION = bld.env.VERSION
obj.INSTALL_PREFIX = bld.env.INSTALL_PREFIX
obj.VERSION = bld.env.VERSION
- if bld.env.TARGET_CENTOS_6:
- obj.CENTOS_VERSION = '6'
- elif bld.env.TARGET_CENTOS_7:
- obj.CENTOS_VERSION = '7'
- bld.install_files('${PREFIX}/share/applications', ['dcpomatic2.desktop', 'dcpomatic2_batch.desktop', 'dcpomatic2_server.desktop'])
+ bld.install_files('${PREFIX}/share/applications', ['dcpomatic2.desktop', 'dcpomatic2_batch.desktop', 'dcpomatic2_server.desktop'
, 'dcpomatic2_kdm.desktop'
])