mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 17:23:34 +00:00
commit
7bc2511b8b
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, openal, libvorbis, mesa_glu, premake4, SDL2, SDL2_image, SDL2_ttf}:
|
{stdenv, fetchurl, openal, libpng, libvorbis, mesa_glu, premake4, SDL2, SDL2_image, SDL2_ttf }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.4.6";
|
version = "1.4.6";
|
||||||
@ -7,7 +7,8 @@ stdenv.mkDerivation rec {
|
|||||||
url = "http://te4.org/dl/t-engine/t-engine4-src-${version}.tar.bz2";
|
url = "http://te4.org/dl/t-engine/t-engine4-src-${version}.tar.bz2";
|
||||||
sha256 = "12pi2lw1k6l3p209nnkh4nfv3ppp8kpd6mkh1324c81z6mh6w4wg";
|
sha256 = "12pi2lw1k6l3p209nnkh4nfv3ppp8kpd6mkh1324c81z6mh6w4wg";
|
||||||
};
|
};
|
||||||
buildInputs = [ mesa_glu openal libvorbis SDL2 SDL2_ttf SDL2_image premake4 ];
|
buildInputs = [ mesa_glu openal libpng libvorbis SDL2 SDL2_ttf SDL2_image premake4 ];
|
||||||
|
NIX_CFLAGS_COMPILE = [ "-I${SDL2_image}/include/SDL2" "-I${SDL2_ttf}/include/SDL2" ];
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
sed -e "s@/opt/SDL-2.0/include/SDL2@${SDL2}/include/SDL2@g" -e "s@/usr/include/GL@/run/opengl-driver/include@g" -i premake4.lua
|
sed -e "s@/opt/SDL-2.0/include/SDL2@${SDL2}/include/SDL2@g" -e "s@/usr/include/GL@/run/opengl-driver/include@g" -i premake4.lua
|
||||||
premake4 gmake
|
premake4 gmake
|
||||||
|
Loading…
Reference in New Issue
Block a user