summary refs log tree commit diff
path: root/pkgs/development/libraries/SDL2_gfx
diff options
context:
space:
mode:
authorCarles Pagès <page@cubata.homelinux.net>2013-08-07 20:27:31 +0200
committerCarles Pagès <page@cubata.homelinux.net>2013-08-27 22:55:42 +0200
commit1abf35be5bcb8be7a1ebcbf79a5b989671836fa8 (patch)
tree5b6925e37d1d1c4399458702483dd208b191c1fa /pkgs/development/libraries/SDL2_gfx
parent18ecb7c62a86f33c0c423df53a37ed1a6869b215 (diff)
downloadnixpkgs-1abf35be5bcb8be7a1ebcbf79a5b989671836fa8.tar
nixpkgs-1abf35be5bcb8be7a1ebcbf79a5b989671836fa8.tar.gz
nixpkgs-1abf35be5bcb8be7a1ebcbf79a5b989671836fa8.tar.bz2
nixpkgs-1abf35be5bcb8be7a1ebcbf79a5b989671836fa8.tar.lz
nixpkgs-1abf35be5bcb8be7a1ebcbf79a5b989671836fa8.tar.xz
nixpkgs-1abf35be5bcb8be7a1ebcbf79a5b989671836fa8.tar.zst
nixpkgs-1abf35be5bcb8be7a1ebcbf79a5b989671836fa8.zip
SDL2_gfx: add simlinks for headers with SDL_*
All the SDL2 libraries distribute headers with SDL_* names, under SDL2. Do the
same for the gfx one. I told upstream, but no changes so far.
Diffstat (limited to 'pkgs/development/libraries/SDL2_gfx')
-rw-r--r--pkgs/development/libraries/SDL2_gfx/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/libraries/SDL2_gfx/default.nix b/pkgs/development/libraries/SDL2_gfx/default.nix
index f95dce0ac49..693b7bf8fe1 100644
--- a/pkgs/development/libraries/SDL2_gfx/default.nix
+++ b/pkgs/development/libraries/SDL2_gfx/default.nix
@@ -18,6 +18,9 @@ stdenv.mkDerivation rec {
     sed -i -e 's,"SDL.h",<SDL2/SDL.h>,' \
       $out/include/SDL2/*.h
     
+    ln -s $out/include/SDL2/SDL2_framerate.h $out/include/SDL2/SDL_framerate.h;
+    ln -s $out/include/SDL2/SDL2_gfxPrimitives.h $out/include/SDL2/SDL_gfxPrimitives.h;
+    ln -s $out/include/SDL2/SDL2_rotozoom.h $out/include/SDL2/SDL_rotozoom.h;
     ln -s $out/include/SDL2/*.h $out/include/;
   '';