Commit Graph

79 Commits

Author SHA1 Message Date
Puck Meerburg
1038cd5ad8 SDL: Add library paths of all SDL sub-packages to sdl-config
Because of how nixpkgs works, all the SDL-umbrella libraries are in
different folders. On a usual system, when using `sdl-config --libs`,
this means that SDL_gfx would also be on the linker path. Some packages
seem to depend on this being the case.
2019-10-23 13:22:07 +00:00
Thomas Tuegel
315a049f0b
SDL: Do not propagate -dev outputs at runtime 2019-09-25 13:07:20 -05: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
Daiderd Jordan
ee85cef108
SDL: remove cf-private 2019-07-03 22:20:17 +02:00
Matthew Bauer
f0733a07d5 treewide: remove libGLSupported from pkgs
This isn’t a package, and we already have mesaPlatforms to handle this logic.
2019-06-17 11:49:22 -04:00
Matthew Bauer
d665b8ccf3 SDL{,2}: support building for android
This should be picking up the OpenGL ES headers provided by the NDK.
More testing is needed.
2019-02-24 17:00:48 -05:00
c0bw3b
dd3e576654 Treewide: use https for src.fedoraproject.org 2018-11-24 23:53:27 +01:00
Daiderd Jordan
8abc1cccfb
SDL: move overrides out of all-packages.nix
Using defaults makes it much easier to understand what the values are.
2018-11-05 14:10:44 +01:00
Daiderd Jordan
7edfded9c3
SDL: include cf-private on darwin
It's not included implicitly by the frameworks anymore.

    Undefined symbols for architecture x86_64:
      "_NSDefaultRunLoopMode", referenced from:
          _QZ_PumpEvents in SDL_QuartzEvents.o
      "_OBJC_CLASS_$_NSArray", referenced from:
          objc-class-ref in SDL_QuartzEvents.o
      "_OBJC_CLASS_$_NSDate", referenced from:
          objc-class-ref in SDL_QuartzEvents.o
    ld: symbol(s) not found for architecture x86_64
2018-11-05 12:47:14 +01: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
Silvan Mosberger
57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00
Orivej Desh
96606abf82 SDL: propagate libiconv
SDL/SDL.h includes SDL/SDL_stdinc.h which includes iconv.h, therefore all
packages that include SDL.h should be able to include iconv.h

Fixes SDL_gfx, SDL_image etc. on Darwin.
2018-06-03 20:00:40 +00:00
John Ericson
219b74d71b SDL, SDL2: Remove crossAttrs
Cross drvs are now the default for precisely this reason.
2018-05-10 13:14:12 -04:00
Vladimír Čunát
488ef9a7a0
SDL: avoid cryptic error from /bin/sh impurity 2018-03-18 10:17:57 +01:00
Jan Malakhovski
2e3077c907 SDL: propagate X11 libs even when building statically against them on Darwin
Packages like SDL_image, SDL_mixer, SDL_net, SDL_ttf depend on this.

This reverts a piece of 19130ebc5d.
2018-03-08 11:21:04 +00:00
Jan Malakhovski
19130ebc5d SDL: build statically against x11 on Darwin 2018-03-06 15:57:27 +00:00
Jan Malakhovski
f114118842 SDL, SDL2: don't link statically to any of the inputs 2018-03-06 15:43:27 +00:00
Jan Malakhovski
6166027ca8 SDL, SDL2: cleanup and cross-pollinate with useful changes to either expression 2018-03-06 15:42:26 +00:00
Jan Malakhovski
d3c3364bfa SDL: add a patch to fix https://bugzilla.libsdl.org/show_bug.cgi?id=1769 2018-03-06 15:24:56 +00:00
Alexander V. Nikolaev
1bc1909e5b treewide: transition from mesa_glu to libGLU 2018-02-24 17:05:43 +02:00
Alexander V. Nikolaev
8f2a22935c treewide: transition from mesa_noglu to libGL 2018-02-24 17:03:46 +02:00
Will Dietz
2e2517c9c9 SDL: add libiconv to fix build 2018-02-13 09:44:54 -06:00
Dan Peebles
dfd300c81d treewide: s/pkgs.fedoraproject.org/src.fedoraproject.org/
Upstream killed the pkgs server but src continues to serve up the exact
same content, so we can just point there and all hashes should be unchanged.
2018-02-08 16:38:08 -05:00
John Ericson
046f091e0d treewide: Don't use envHook anymore
This commits needs a MAJOR audit as I oftentimes just guessed which of
`$hostOffset`, `$targetOffset`, or a fixed offset should be used.
2017-12-30 22:04:22 -05:00
hsloan
784ffeaabd SDL: Don't use stdenv ? cross
Simplify and finess logic a bit in a way that doesn't affect the
default native build, too.
2017-06-28 19:25:41 -04:00
John Ericson
80a857f8d7 SDL: Don't use stdenv.cross 2017-06-28 18:21:06 -04:00
Peter Hoeg
c5fcd96970 sdl: fix very long filename 2017-02-11 12:26:17 +08:00
Nikolay Amiantov
fc0b40328d SDL: fix OpenGL support 2016-09-03 15:37:06 +03:00
Robert Helgesson
38bd2c4425 SDL: fix startup of (some) games using OpenGL
Fixes #18247.
2016-09-03 12:46:39 +02:00
Tuomas Tynkkynen
a17216af4c treewide: Shuffle outputs
Make either 'bin' or 'out' the first output.
2016-08-29 14:49:51 +03:00
Nikolay Amiantov
b47327ebd5 SDL: cleanup and add patch to discover extensions 2016-08-22 06:30:00 +03:00
Ricardo Ardissone
79914075f4 SDL: Revert "SDL: use mesa_noglu instead of mesa"
This reverts commit a9a94df4e6.
2016-05-12 18:40:33 -03:00
Nikolay Amiantov
a9a94df4e6 SDL: use mesa_noglu instead of mesa 2016-04-24 16:21:28 +03:00
Vladimír Čunát
09af15654f Merge master into closure-size
The kde-5 stuff still didn't merge well.
I hand-fixed what I saw, but there may be more problems.
2016-03-08 09:58:19 +01:00
Vladimír Čunát
d039c87984 Merge branch 'master' into closure-size 2016-02-14 08:33:51 +01:00
Vladimír Čunát
a115bff08c Merge branch 'master' into staging 2016-02-07 13:52:42 +01:00
Nikolay Amiantov
234f461139 SDL: add patches from Fedora
Fixes several bugs (some of which were fixed in the official repository but no
release made).
2016-02-07 05:05:19 +03:00
Vincent Laporte
ca535e4c1f SDL: propagate Cocoa dependency on darwin 2016-02-05 18:53:26 +01:00
Luca Bruno
e289717414 rename moveToOutput and propagatedBuildInputs 2015-12-02 10:05:36 +01:00
Vladimír Čunát
333d69a5f0 Merge staging into closure-size
The most complex problems were from dealing with switches reverted in
the meantime (gcc5, gmp6, ncurses6).
It's likely that darwin is (still) broken nontrivially.
2015-11-20 14:32:58 +01:00
Henry Till
a7784cafa3 SDL: fix on darwin 2015-10-28 19:44:30 -04:00
Vladimír Čunát
787f322540 $docdev fixups: mostly to avoid empty output
... after auto-removing some kinds of files by default.
In some cases I let them be removed and in others I let them be put into
$docdev. That was more due to general indecisiveness on this question
than any reasons in the particular cases.
2015-10-28 18:58:06 +01:00
Vladimír Čunát
9da12a6713 SDL: split the dev output and fix referrers 2015-10-13 20:18:56 +02:00
Vladimír Čunát
1fdbc3097b alsa-lib: split "dev" output and fix referrers 2015-10-13 20:18:55 +02:00
Vladimír Čunát
21e3ff658a x11: replace its usage by xlibsWrapper directly
Scilab note: the parameters already had pointed to nonexistent dirs
before this set of refactoring. But that config wasn't even used by
default.
2015-09-15 12:08:24 +02:00
Eelco Dolstra
e1f78bf677 More docs/manpages in separate outputs 2015-07-27 00:27:54 +02:00
Vladimír Čunát
043a8478c3 SDL: propagate libcap and fixup native inputs
Close #8205.
All inputs except pkgconfig shouldn't be native but rather disabled on
cygwin, I suppose.
2015-06-08 11:16:33 +02:00
William A. Kennington III
b07929b0a3 Use libpulseaudio instead of pulseaudio 2015-05-29 14:32:56 -07:00
Spencer Whitt
b37d5864d6 SDL: libcap is Linux only 2015-04-29 17:39:42 -04:00
Michael Raskin
c9c2aa5ced Pass libcap as SDL input to fix the build 2015-04-26 18:06:15 +03:00