1 From 7ebe252a8488a63675d1c50c0faa1bdc5ff97889 Mon Sep 17 00:00:00 2001
2 From: Linus Heckemann <git@sphalerite.org>
3 Date: Fri, 5 Jan 2018 21:27:28 +0100
4 Subject: [PATCH] Ignore missing data for installation
6 This is for packaging vdrift separately from its data in nixpkgs.
9 1 file changed, 3 deletions(-)
11 diff --git a/SConstruct b/SConstruct
12 index 4394de0b..beef29a4 100644
15 @@ -511,9 +511,6 @@ env.Alias(target = 'bin-package', source = bin_archive)
17 Export(['env', 'version', 'src_dir', 'bin_dir'])
18 if 'install' in COMMAND_LINE_TARGETS:
19 - if not os.path.isfile('data/SConscript'):
20 - raise 'VDrift data not found. Please make sure data is placed in vdrift directory. See README.md and http://wiki.vdrift.net.'
21 - SConscript('data/SConscript')
22 # desktop appdata installation
23 install_desktop = env.Install(env['destdir'] + env['prefix'] + '/share/applications', 'vdrift.desktop')
24 install_appdata = env.Install(env['destdir'] + env['prefix'] + '/share/appdata', 'vdrift.appdata.xml')