Commit Graph

109 Commits

Author SHA1 Message Date
lunik1
4954e63a17
libretro: add thepowdertoy core 2021-04-20 18:22:04 +01:00
Ben Siraphob
e03c068af5 treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
Sandro Jäckel
47c869a42d
lebretro.snes9x: Fetch commit from master
The commit choosen is the parent of the commit that was here before.
The change in the commit does not matter for NixOS.
2021-01-26 15:19:03 +01:00
Ben Siraphob
fce00d15c2 pkgs/misc: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Ben Siraphob
badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +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
Ben Siraphob
3ae5e6ce03 treewide: remove enableParallelBuilding = true if using cmake 2021-01-03 18:37:40 +07:00
Aluísio Augusto Silva Gonçalves
8880179b65
libretro.mame2016: fix build with gnumake-4.3
Builds currently fail with `ar` trying to operate on what are clearly
two paths concatenated together.  It stems from a backward-incompatible
change in Make:

> Previously appending using '+=' to an empty variable would result in
> a value starting with a space.  Now the initial space is only added
> if the variable already contains some value.  Similarly, appending an
> empty string does not add a trailing space.

This issue was first reported on the MAME repository proper
(https://github.com/mamedev/mame/issues/6248), and affects libretro's
2016 snapshot as well.  A fix that is reported to work with previous
versions of Make was upstreamed to:
- GENie, the build system: https://github.com/bkaradzic/GENie/pull/493
- MAME: https://github.com/mamedev/mame/pull/6262
- libretro: https://github.com/libretro/mame2016-libretro/pull/47

The fetched patch comes from the last of these.
2020-10-28 13:31:34 -03:00
Matthew Bauer
96f72f94ad retroarch: use prefixed pkg-config
retroarch knows how to use the correct pkg-config, so this is no
longer needed.
2020-06-25 00:09:21 -04:00
Doron Behar
01d4e2fe33 treewide: use ffmpeg_3 explicitly if not wanted otherwise
After making `ffmpeg` point to the latest `ffmpeg_4`, all packages that
used `ffmpeg` without requiring a specific version now use ffmpeg_3
explicitly so they shouldn't change.
2020-06-12 11:55:31 -07:00
Christoph Neidahl
98f346852b retroarch: add NP2kai core 2020-05-22 17:04:57 +02:00
Matthew Bauer
e520d6af29
Merge pull request #84415 from matthewbauer/mb-cross-fixes-april2020
Cross compilation fixes [april 2020]
2020-04-13 16:48:38 -04:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Matthew Bauer
7d278d7e33 retroarch: add wayland dependency and fix cross
- Need custom pkg-config setting
- add wayland & libxkbcommon
2020-04-05 21:37:45 -04:00
Matthew Bauer
eb84499355 retroarch/cores.nix: use correct platform for darwin
This should fix the regression found in
https://hydra.nixos.org/eval/1577308#tabs-now-fail. The libretro
scripts use “osx” as the identifier for macOS, and “unix” seems to
mean linux.

If anyone could help out by confirming this works. I don’t currently
have access to a macOS machine.
2020-03-31 15:07:57 -04:00
Kolby Crouch
1dc1789806 retroarch: fix picodrive on aarch64 2020-03-23 14:17:25 -05:00
Matthew Bauer
ed46adb48b retroarch/cores.nix: use correct license for gw
This should be zlib the license, not zlib the package.
2020-03-21 23:38:58 -04:00
Matthew Bauer
a8a0cb147f retroarch: remove macOS app support
This is badly out of date so requires extra work to get working.

Anyway, you can still use it without the menu, with no problem.
2020-03-21 23:36:54 -04:00
Matthew Bauer
f094e132e2 retroarch/cores.nix: cleanup
- Avoid using overrides unless necessary
- Set platform and ARCH by default
- Don’t set dontConfigure unless absolutely necessary
- Use preBuild instead of overriding entire configurePhase
2020-03-21 23:01:01 -04:00
Matthew Bauer
d513980ea6 retroarch: 1.8.4 -> 1.8.5 2020-03-21 22:59:18 -04:00
Matthew Bauer
e1cab10dcd Revert " Fix init"
This reverts commit e68a4094d2.
2020-03-21 22:58:58 -04:00
Kolby Crouch
e68a4094d2 Fix init 2020-03-15 23:57:54 -05:00
Kolby Crouch
e2b8f9f54a retroarch: 1.8.1 -> 1.8.4 2020-03-15 00:48:14 -05:00
Andrew Childs
03c4361599 libretro.snes9x: 29b78d -> 04692e
Upstream has broken git history [1], so the current version cannot be
fetched. The required patches have been upstreamed [2], and we hope
that upstream will be more careful with their git history.

The previous commit can still be viewed on github [3], but is not the
ancestor of any fetchable ref.

[1] https://github.com/libretro/snes9x/issues/199
[2] https://github.com/snes9xgit/snes9x/pull/588
[3] 29b78df8c9
2020-01-11 23:01:40 +09:00
Robin Gloster
006242fd5a
treewide: fix types for mkDerivation params 2019-12-31 01:23:19 +01:00
Maximilian Bosch
81ffabdf4f
treewide: use flat lists for *Inputs, fix env usage 2019-12-31 01:13:55 +01:00
Frederik Rietdijk
06a054e6eb Merge master into staging-next 2019-11-25 21:51:57 +01:00
John Ericson
d0d5136cce Merge remote-tracking branch 'upstream/master' into wrapper-pname-support 2019-11-24 17:25:07 +00:00
John Ericson
9b090ccbca treewide: Get rid of most parseDrvName without breaking compat
That is because this commit should be merged to both master and
release-19.09.
2019-11-24 17:22:28 +00:00
Frederik Rietdijk
5f8b0d7d99 Merge staging-next into staging 2019-11-19 14:53:29 +01:00
adisbladis
c9d8624ccd
treewide: Get rid of libGLU_combined 2019-11-18 20:10:43 +00:00
Frederik Rietdijk
be7125dde7 Merge master into staging-next 2019-11-16 11:45:07 +01:00
Kolby Crouch
08a897676b retroarch: 1.7.8.4 -> 1.8.1 2019-11-16 11:31:38 +01:00
adisbladis
7668f680da
libretro: Dont use libGLU_combined 2019-11-09 10:34:52 +00:00
adisbladis
5e433b48dc
retroarch: Don't use libGLU_combined 2019-11-09 10:34:49 +00:00
Kolby Crouch
eb4dd1794d retroarch: update cores 2019-11-02 06:16:10 -05:00
Linus Heckemann
5aa4b19946 treewide: mark some broken packages as broken
Refs:
e675498026
1e9cc5b984
793a2fe1e8
c19cf65261
f6544d618f
2019-10-08 17:14:26 +02:00
Bjørn Forsman
bf7a1d6afe retroarch: 1.7.5 -> 1.7.8.4
Fixes missing GUI elements.
2019-09-26 08:11:32 +02:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00: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
Matthew Bauer
df90fdf62b
Merge pull request #51301 from timor/libretro-dolphin-dep-fix
libretro.dolphin: add missing dependencies to fix build
2018-12-19 12:05:03 -06:00
Jörg Thalheim
6b69a8c8f5
Merge pull request #51935 from neonfuz/retroarch-menu-fix
retroarch: Remove --menu from wrapper
2018-12-18 10:44:09 +00:00
Sage Raflik
b33fc4e618 retroarch: Remove --menu from wrapper 2018-12-13 02:20:31 -08:00
Sage Raflik
8cccab7bf4 retroarch: 1.7.1 -> 1.7.5 2018-12-12 21:11:01 -08:00
timor
4ec1e15558 libretro.dolphin: add missing dependencies to fix build 2018-12-01 01:28:03 +01:00
Patrick Hilhorst
9ec40cc3bf
treewide: Fix overrides having wrong versions 2018-11-06 00:06:21 +01:00
Frederik Rietdijk
3059cf7f0c retroarch: use python3 instead of python34 2018-11-04 18:48:24 +01:00
Christoph Hrdinka
da84efcd12
libretro.mame: 2017-03-02 -> 2018-09-13
Fixes build of the MAME libretro core.

Closes #47137.

Signed-off-by: Christoph Hrdinka <c.github@hrdinka.at>
2018-09-21 18:53:59 +02: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