Commit Graph

68 Commits

Author SHA1 Message Date
Jack Wilsdon
c857d59d7c scummvm: fix building with Freetype 2.13.3 2024-10-25 19:17:22 +01:00
Vladimír Čunát
695636a77c
scummvm: fixup build by avoiding warning
Probably after freetype update.
https://hydra.nixos.org/build/274116362/nixlog/9/tail
2024-10-13 09:12:01 +02:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Jussi Kuokkanen
e1f68ae7cc pkgs/games: remove licenses.gpl2 2024-07-03 12:46:48 +03:00
Weijia Wang
df7bf001d6
Merge pull request #296403 from r-ryantm/auto-update/scummvm
scummvm: 2.8.0 -> 2.8.1
2024-03-24 23:20:50 +01:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
R. Ryantm
831e4695cb scummvm: 2.8.0 -> 2.8.1 2024-03-16 12:26:12 +00:00
R. Ryantm
7cef1a9833 scummvm: 2.7.1 -> 2.8.0 2023-12-26 20:12:18 +01:00
Weijia Wang
6769eec801 scummvm: fix build on darwin 2023-11-17 10:44:45 +01:00
R. Ryantm
f19af41132 scummvm: 2.7.0 -> 2.7.1 2023-07-25 04:20:20 +00:00
R. Ryantm
f2c9c12b22 scummvm: 2.6.1 -> 2.7.0 2023-03-01 01:12:50 +00:00
Robin Mattheussen
97e489feea scummvm: 2.5.1 -> 2.6.1 2022-12-28 14:12:53 +08:00
Weijia Wang
0f84dcb7cc scummvm: unbreak on aarch64-darwin 2022-12-16 07:45:32 +01:00
Rick van Schijndel
9833d56c24 treewide: mark packages broken that never built on PLATFORM
Done with the help of https://github.com/Mindavi/nixpkgs-mark-broken
Tool is still WIP but this is one of the first results.

I manually audited the results and removed some results that were not valid.

Note that some of these packages maybe should have more constrained platforms set
instead of broken set, but I think not being perfectly correct is better than
just keep trying to build all these things and never succeeding.

Some observations:

- Some darwin builds require XCode tools
- aarch64-linux builds sometimes suffer from using gcc9
  - gcc9 is getting older and misses some new libraries/features
- Sometimes tools try to do system detection or expect some explicit settings for
  platforms that are not x86_64-linux
2022-12-13 21:40:12 +01:00
Weijia Wang
f7131a9557 scummvm: fix build on aarch64-darwin 2022-12-09 03:56:37 +01:00
K900
cb2cfba6f7 treewide: switch all desktop file generators to new API
Notably:
- remove explicit arguments that match the defaults
- convert everything to the right Nix types
2022-02-25 13:40:38 -08:00
R. Ryantm
4bb52da8df scummvm: 2.5.0 -> 2.5.1 2021-12-26 13:58:59 +00:00
Janne Heß
bcc112fa14
scummvm: 2.2.0 -> 2.5.0 2021-10-17 01:59:35 +02:00
AndersonTorres
e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
squalus
3ac4604a52 scummvm: support darwin 2021-04-11 23:21:01 -07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
freezeboy
ff16a8b8e9 scummvm: 2.1.2 -> 2.2.0 2020-11-04 09:22:02 +08:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
R. RyanTM
1331a12cf4 scummvm: 2.1.1 -> 2.1.2 2020-04-07 17:27:54 +00:00
Pavol Rusnak
2133c106a1
scummvm: add broken-sword-25 and dreamweb games 2020-04-03 23:11:31 +02:00
R. RyanTM
ca52355838 scummvm: 2.1.0 -> 2.1.1 2020-01-30 07:38:47 +00:00
adisbladis
c9d8624ccd
treewide: Get rid of libGLU_combined 2019-11-18 20:10:43 +00:00
MicrosoftTakeover
2753998d6f
scummvm: 2.0.0 -> 2.1.0
Needs curl for cloud saving support.

dontDisableStatic flag is added since the ./configure script didn't
recognize --disable-static flag added by default.
2019-10-12 13:13:08 -07:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01: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
Peter Hoeg
a75b3205d0 scummvm: add several ScummVM supported games
- Beneath a Steel Sky: v1.2
 - Drascula: The Vampire Strikes Back: v2.0
 - Flight of the Amazon Queen: v1.1
 - Lure of the Temptress: v1.1
2018-10-10 17:15:22 +08:00
John Ericson
0828e2d8c3 treewide: Remove usage of remaining redundant platform compatability stuff
Want to get this out of here for 18.09, so it can be deprecated
thereafter.
2018-08-30 17:20:32 -04:00
Peter Hoeg
2428f5dda1 scummvm: fix compilation 2018-08-01 22:32:51 +08:00
John Ericson
3470fa196d scumvm: Don't use crossAttrs 2018-07-24 17:51:20 -04:00
Ryan Mulligan
7937f82665 treewide: http -> https 2018-07-05 18:35:28 -07:00
Alexander V. Nikolaev
0acec7e984 treewide: transition mesa to libGLU_combined 2018-02-24 17:06:49 +02:00
Peter Hoeg
4d5837fc08 scummvm: add support for FluidSynth
This gives by far the best music and general sound quality for games
with MIDI support.
2017-12-27 09:10:34 +08:00
Orivej Desh
68d57167b0 scummvm: fix eval 2017-12-18 15:44:06 +00:00
Peter Hoeg
e198522137 scummvm: 1.9.0 -> 2.0.0 2017-12-18 17:56:50 +08:00
John Ericson
67b5f39c72 scummvm: Don't use stdenv.cross 2017-06-28 18:21:06 -04:00
Armijn Hemel
19a302f6f6
scummvm: 1.8.0 -> 1.9.0
Use direct download instead of sourceforge mirror which no longer
works.
2017-02-17 23:46:53 +01:00
obadz
57ddc155fc Merge branch 'master' into staging
Conflicts:
	pkgs/games/scummvm/default.nix
2016-08-28 12:20:59 +01:00
Kranium Gikos Mendoza
33638ca99e scummvm: fix build (#18051) 2016-08-28 07:54:22 +00:00
Robin Gloster
7ab971a252 scummvm: disable format hardening 2016-08-03 20:32:34 +00:00
Tuomas Tynkkynen
21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00
Tobias Geerinckx-Rice
d37fe91396
scummvm: 1.7.0 -> 1.8.0 2016-05-25 02:06:47 +02:00
Sebastian Korten
b42aa6830b scummvm: version bump to 1.7 2014-07-30 20:26:29 +02:00
Arvin Moezzi
58cbfedc5d scummvm: upgrade from 1.2.1 to 1.6.0 2014-06-12 09:30:39 +02:00
Florian Friesdorf
7186978ce9 scummvm more deps
svn path=/nixpkgs/trunk/; revision=29447
2011-09-23 02:23:05 +00:00
Eelco Dolstra
aa6f43149a * Sync with the trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=25308
2010-12-28 16:42:00 +00:00