Commit Graph

48 Commits

Author SHA1 Message Date
Mitsuhiro Nakamura
ecf7b57e12 cataclysm-dda{,-git}: support build with USE_XDG_DIR flag 2020-07-18 14:23:23 +09:00
Mitsuhiro Nakamura
de56294e57 cataclysm-dda{,-git}: clean up 2020-07-18 14:23:22 +09:00
Mitsuhiro Nakamura
90c265275f cataclysmDDA: make pkgs extensible
Example:

let
  customMods = self: super: lib.recursiveUpdate super {
    soundpack.AwesomeSounds = cataclysmDDA.buildSoundPack { ... };
  };
in
cataclysm-dda.withMods (mods: with mods.extend customMods; [
  tileset.UndeadPeople
  soundpack.AwesomeSounds
])
2020-07-18 14:23:22 +09:00
Mitsuhiro Nakamura
bc88844e68 cataclysmDDA: add UndeadPeople tileset 2020-07-18 14:23:22 +09:00
Mitsuhiro Nakamura
ac8555486f cataclysmDDA: add very basic framework for packaging mods
Add new namespace 'cataclysmDDA', in which package builders, games, and
mods are listed.
2020-07-18 14:23:19 +09:00
Mitsuhiro Nakamura
bf71f12cb5 cataclysm-dda{,-git}: apply locale patch dynamically
Each time src/translations.cpp is modified, we have to update the locale
patch. Using sed to patch dynamically should be handy.
2020-07-18 14:21:12 +09:00
Mitsuhiro Nakamura
d6863de058 cataclysm-dda{,-git}: name -> pname and version 2020-07-18 14:21:09 +09:00
Alyssa Ross
5da2d61bd4 cataclysm-dda: 0.E -> 0.E-2 2020-07-18 05:16:04 +00:00
worldofpeace
55dcf622ec
Merge pull request #84261 from catern/cdda
cataclysm-dda: 0.D -> 0.E
2020-04-20 08:05:48 -04:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Spencer Baugh
4cfc499e1b cataclysm-dda: 0.D -> 0.E 2020-04-04 13:46:26 -04:00
Franz Pletz
43442880cf
cataclysm-dda: fix build on darwin 2019-12-27 05:21:41 +01:00
Franz Pletz
77b6c3cd06
Merge remote-tracking branch 'origin/master' into gcc-9 2019-12-26 14:17:36 +01:00
Andrey Petrov
5e8770a8bb cataclysm-dda-git: 2019-05-03 -> 2019-11-22 2019-12-01 08:46:52 -08:00
Franz Pletz
65eb7fe785
cataclysm-dda: fix build with gcc9 2019-11-03 14:43:34 +01:00
volth
7b8fb5c06c treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
Mitsuhiro Nakamura
f7dacc3ae2 cataclysm-dda-git: remove obsolete lua dependency 2019-05-03 22:40:09 +09:00
Mitsuhiro Nakamura
c2987f1ba8 cataclysm-dda{,-git}: refactoring 2019-05-03 22:40:09 +09:00
Mitsuhiro Nakamura
520dd5d71e cataclysm-dda-git: 2018-07-15 -> 2019-05-03 2019-05-03 22:40:09 +09:00
Mitsuhiro Nakamura
d8dec0a233 cataclysm-dda: 0.C -> 0.D 2019-05-03 22:40:04 +09:00
Jörg Thalheim
dadc7eb329
treewide: use runtimeShell instead of stdenv.shell whenever possible
Whenever we create scripts that are installed to $out, we must use runtimeShell
in order to get the shell that can be executed on the machine we create the
package for. This is relevant for cross-compiling. The only use case for
stdenv.shell are scripts that are executed as part of the build system.
Usages in checkPhase are borderline however to decrease the likelyhood
of people copying the wrong examples, I decided to use runtimeShell as well.
2019-02-26 14:10:49 +00:00
Mitsuhiro Nakamura
c77e4de58e cataclysm-dda-git: fix desktop launcher installation (#44364) 2018-08-02 21:36:18 +02:00
Mitsuhiro Nakamura
030cbaff7f cataclysm-dda{,-git}: add mnacamura as maintainer 2018-07-19 11:40:56 +09:00
Mitsuhiro Nakamura
206e271e32 cataclysm-dda{,-git}: move common attributes to common.nix 2018-07-18 00:33:42 +09:00
Ricardo Ardissone
5901dae673 cataclysm-dda-git: debug flag 2018-07-15 13:59:28 -03:00
Ricardo Ardissone
05c2aa212e cataclysm-dda-git: 2017-12-09 -> 2018-07-15 2018-07-15 13:59:20 -03:00
Ryan Mulligan
b189247ba0 treewide: use more HTTPS URLs
Uses the HTTPS url for cases where the existing URL has a permanent
redirect. For each domain, at least one fixed derivation URL was
downloaded to test the domain is properly serving downloads.

Also fixes jbake source URL, which was broken.
2018-03-24 22:04:25 -07:00
Daiderd Jordan
5defdee634
cataclysm-dda: fix clang build
/cc ZHF #36454
2018-03-14 22:42:56 +01:00
Mitsuhiro Nakamura
a2df3ee293 cataclysm-dda{,-git}: styling 2018-02-10 19:36:50 +09:00
Mitsuhiro Nakamura
289c8df4e5 cataclysm-dda-{,git}: support the console (no tiles) version
You can install the console version with `cataclysm-dda{,-git}.override { tiles = false; }`.
2018-02-08 13:55:45 +09:00
Mitsuhiro Nakamura
f3014ad8cc cataclysm-dda-git: install the launcher for Linux desktop environments 2018-02-08 13:55:44 +09:00
Mitsuhiro Nakamura
5c325869df cataclysm-dda-git: differentiate the version display from 0.C
Previously the version shown in the title was 0.C, not distinguishable
from the stable version.
2018-02-08 13:55:44 +09:00
Mitsuhiro Nakamura
9ef3f90de7 cataclysm-dda{,-git}: update homepage 2018-02-08 13:55:44 +09:00
Mitsuhiro Nakamura
27ec2df59e cataclysm-dda{,-git}: clean up
- Remove cmath include (introduced by 97c484a) since the current gcc/clang
  works fine without it.
- Suppress known compiler warnings instead of removing -Werror flag.
2018-02-08 13:55:40 +09:00
Mitsuhiro Nakamura
bd9b51f4df cataclysm-dda-git: install missing translations
Using gettext without translation files is just like driving a car without wheels.
2018-01-23 08:19:03 +09:00
Mitsuhiro Nakamura
ee6086c31d cataclysm-dda{,-git}: no need for wrapper anymore 2018-01-23 08:10:07 +09:00
Mitsuhiro Nakamura
fc06a987a0 cataclysm-dda{,-git}: fix share directory
Data should be in PREFIX/share/cataclysm-dda instead of PREFIX/share.
2018-01-23 08:08:09 +09:00
Mitsuhiro Nakamura
cf8cd83eff cataclysm-dda: build the icon only on Darwin 2018-01-22 23:06:35 +09:00
Mitsuhiro Nakamura
d77ce49c75 cataclysm-dda{,-git}: fix locale directory
PREFIX/share/locale should be searched for translations not only on Linux.
2018-01-22 22:37:02 +09:00
Mitsuhiro Nakamura
7287a9e91d cataclysm-dda{,-git}: create app launcher on Darwin 2018-01-22 14:07:35 +09:00
Mitsuhiro Nakamura
728a13271e cataclysm-dda{,-git}: build on Darwin 2018-01-22 00:01:45 +09:00
Markus Hauck
00ad51933d cataclysm-dda-git: update to latest and add arguments 2017-12-09 19:40:40 +01:00
Orivej Desh
c885b3c622 cataclysm-dda-git: disable parallel building 2017-12-04 22:43:20 +00:00
Ricardo Ardissone
b7ed72d4ce cataclysm-dda-git: init at 2017-07-12 2017-07-12 17:35:55 -03:00
Vladimír Čunát
97c484a10f treewide: fix #include errors after gcc-5.4
They were mostly missing <cmath> or <math.h>.
2016-06-19 10:18:30 +02:00
Joachim Fasting
18b35bd741 cataclysm-dda: build recipe enhancements & gcc5 support
- Remove redundant platform check; meta.platforms is sufficient
- Use postPatch rather than override patchPhase entirely
- Strip -Werror
- Move build-time only dependencies to nativeBuildInputs

This also fixes gcc5 build, which fails due to a deprecated-declarations
warning (see https://hydra.nixos.org/build/33117020/nixlog/2/raw).
2016-03-23 01:44:02 +01:00
Luca Bruno
9635f89fff cataclysm-dda: try disabling parallel builds (ZHF) 2015-08-26 18:32:33 +02:00
Sven Keidel
61e804a35f cataclysm-dda: init at 0.C 2015-08-09 15:17:14 +02:00