Commit graph

103 commits

Author SHA1 Message Date
Sergei Trofimovich 0c23400bf9 SDL2: 2.28.1 -> 2.28.2
Changes: https://github.com/libsdl-org/SDL/releases/tag/release-2.28.2
2023-08-12 07:32:05 +01:00
K900 42848722a9 SDL2: 2.28.0 -> 2.28.1
Changelog: https://github.com/libsdl-org/SDL/releases/tag/release-2.28.1
2023-07-12 13:26:11 +03:00
K900 ecef9a792c sdl2: 2.26.5 -> 2.28.0 2023-06-22 12:48:44 +03:00
Yureka 4062535a3e SDL2: exclude mesa dependency on darwin 2023-05-29 12:44:36 +02:00
Vladimír Čunát de0b678023
Merge #226567: SDL2: 2.26.4 -> 2.26.5
...into staging
2023-04-26 16:04:49 +02:00
Vladimír Čunát 7fa4e34aaa
SDL2: add meta.changelog 2023-04-26 16:04:07 +02:00
K900 d7e04434ce SDL2: default drmSupport to false
Removes Mesa from a rebuild-heavy path
2023-04-20 15:50:10 +03:00
R. Ryantm 887afd3012 SDL2: 2.26.4 -> 2.26.5 2023-04-17 01:56:23 +00:00
Sergei Trofimovich f460885694 SDL2: don't propagate headers-only packages via RUNPATH
On `nixpkgs` SDL2 explicitly bulds RUNPATHs from it's subset of build
inputs. As a result RUNPATH contains more than needed. This change
repomed from RUNPATH packages that don't contain libraries but contain
developer-only files:
- wayland-protocols: xml files to describe protocols
- xorgproto: header files for X11

The change moves them to buildInputs / propagatedBuildInputs.

Before the change closure size is:

    $ nix path-info -rsSh $(nix-build -A SDL2) | nl
    221  /nix/store/...-SDL2-2.26.4 2.5M 546.5M

After the change:

    $ nix path-info -rsSh $(nix-build -A SDL2) | nl
    219  /nix/store/...-SDL2-2.26.4 2.5M 544.4M
2023-04-09 09:52:16 +01:00
superherointj 20c9e1965a SDL2: remove superherointj as maintainer 2023-03-30 11:00:22 -03:00
github-actions[bot] 2003e6ba72
Merge staging-next into staging 2023-03-13 07:30:09 +00:00
Vladimír Čunát 2d51a0e8ad
Merge branch 'master' into staging-next 2023-03-13 08:25:10 +01:00
Nick Cao 892f0c472b
SDL2: remove unnecessary dependency on fcitx
SDL2 supports both fcitx 4 and fcitx 5 though the dbus interface,
and the dependency on fcitx headers has been removed in favor of
hardcoding the constants.

Reference: https://github.com/libsdl-org/SDL/issues/3653
2023-03-12 12:36:50 +08:00
superherointj 490e77ce0a SDL2: add superherointj as maintainer 2023-03-11 11:55:48 -03:00
superherointj 8e8be88067 SDL2: 2.26.3 -> 2.26.4
Release: https://github.com/libsdl-org/SDL/releases/tag/release-2.26.4
2023-03-11 11:53:28 -03:00
R. Ryantm 78649a67ab SDL2: 2.24.2 -> 2.26.3 2023-02-28 02:51:46 +00:00
Shawn8901 a59dda942c treewide: remove global with lib; statements in pkgs/development 2023-01-26 18:31:02 +01:00
Sandro Jäckel 4db7dc72d2 SDL2: 2.24.1 -> 2.24.2 2022-11-07 15:55:47 +01:00
Jan Solanti 89c92a9206 SDL2: 2.24.0 -> 2.24.1 2022-11-07 15:25:49 +01:00
PedroHLC ☭ 169f01ddce
SDL2: fix post-install condition
Fixes ""stdenv-linux/setup: line 87: [: : integer expression expected""
2022-09-18 12:35:44 -03:00
PedroHLC ☭ 6bcea10f58
SDL2: 2.0.22 -> 2.24.0 2022-09-18 12:01:52 -03:00
Artturin 47c3a3e440 SDL2: restore udev support by default on linux
it was disabled seemingly by accident in 8abc1cccfb
2022-07-25 21:04:20 +03:00
K900 2c1040a315 SDL2: 2.0.20 -> 2.0.22 2022-05-23 19:16:25 +03:00
Rick van Schijndel 7d5b75b12a SDL2: use wayland-scanner from PATH
Prevents having to use buildPackages, helps overriding wayland-scanner for whoever needs it.
2022-05-09 20:57:31 +02:00
Rick van Schijndel 4729cb69e3 SDL2: fix cross-compilation 2022-05-09 20:07:20 +02:00
K900 cfae672307 SDL2: build kmsdrm video driver on Linux
Primarily useful for kiosk builds and SBCs, but it usually ends up in the closure anyway.
2022-03-31 14:40:45 +03:00
OPNA2608 ad3e121795 SDL2: Reinstate find-headers.patch 2022-03-20 16:07:38 +08:00
Zack A baee63f5e1
SDL2: add pipewire & libdecor support
Co-authored-by: jakobrs <jakobrs100@gmail.com>
2022-02-16 00:38:50 +01:00
Zack A acc1ac4535
SDL2: fix formatting 2022-02-07 22:21:27 +09:00
Zack A 7bcb373a99
SDL2: 2.0.14 -> 2.0.20 2022-02-07 22:21:25 +09:00
Michael Weiss 62ace066c5
SDL2: Fix the build with wayland 1.20.0
Source of the patch:
e2ade2bfc4

I needed to manually backport it to SDL2 2.0.14.
2021-12-10 23:01:23 +01:00
AndersonTorres e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
Taeer Bar-Yam f9f05c1e92 SDL2: fix cross-compile to windows (mingw) 2021-04-20 21:31:11 -04:00
Jan Tojnar 01ee4ea574
Merge branch 'master' into staging-next 2021-01-24 00:09:45 +01:00
Ben Siraphob 2f78ee7e81 pkgs/development: stdenv.lib -> lib 2021-01-24 00:16:29 +07:00
zowoq 153ad8bc1e Merge staging-next into staging 2021-01-22 16:56:40 +10:00
Ben Siraphob 66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
Jan Tojnar fc7bd322df
Merge branch 'staging-next' into staging 2021-01-19 13:50:04 +01:00
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Carles Pagès d07276113a SDL2: 2.0.12 -> 2.0.14 2021-01-17 00:06:38 +01:00
Carles Pagès ba5b8aa859 SDL2: fix cmake interface includes for SDL2::SDL2
Fixes #103346. The environment var for finding the cmake companion libs
headers was missing from the SDL2::SDL2 target, it only worked when
using SDL2_INCLUDE_DIRS.
2020-11-11 12:53:49 +01:00
Mario Rodas 49897b8859
SDL2: fix build on darwin 2020-07-13 04:20:00 -05:00
Matthew Bauer 1a835f911b SDL2: get native wayland-scanner 2020-06-25 00:09:22 -04:00
Karol Chmist 4babef9608 SDL2: Add dontDisableStatic = withStatic ? false 2020-05-21 11:35:19 +02:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Carles Pagès 00ba289dab SDL2: 2.0.10 -> 2.0.12 2020-03-12 00:19:08 +01:00
Carles Pagès 539e94030c
Merge pull request #72736 from nh2/nix-sdl2-static-fixes
SDL2: Keep .a files on `dontDisableStatic`; don't move them to $dev; prune .la
2019-11-10 22:18:38 +01:00
Niklas Hambüchen 57908c1624 SDL2: Keep .a files on dontDisableStatic; don't move them to $dev; prune .la.
Most other packages don't move `.a` files to "$dev", and that is because
it makes the pkg-config `.pc` file wrong (the `libdir` is the non-dev one).

Keeping them in the main output makes static linking of SDL2 work.

See added comment about pruning of `.la` files.
2019-11-08 23:12:59 +01:00
John Ericson 12a85a7046 SDL, SDL2: SDL{,2}_PATH may be undefined 2019-11-08 13:28:58 -05:00
Tad Fisher c0c69261df
SDL2: patch build with mesa 19.2 2019-10-09 20:41:59 +02:00