Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / games / vdrift / 0001-Ignore-missing-data-for-installation.patch
blob6794e8018affc4da0a8cd6f96a8c5d197843bf6e
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.
7 ---
8 SConstruct | 3 ---
9 1 file changed, 3 deletions(-)
11 diff --git a/SConstruct b/SConstruct
12 index 4394de0b..beef29a4 100644
13 --- a/SConstruct
14 +++ b/SConstruct
15 @@ -511,9 +511,6 @@ env.Alias(target = 'bin-package', source = bin_archive)
16 #----------------#
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')
25 --
26 2.15.0