SDL2: cleanup and add patch to discover extensions
This commit is contained in:
@@ -1,19 +1,20 @@
|
||||
{ stdenv, fetchurl, SDL2, freetype }:
|
||||
{ stdenv, fetchurl, SDL2, freetype, mesa_noglu }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "SDL2_ttf-2.0.14";
|
||||
name = "SDL2_ttf-${version}";
|
||||
version = "2.0.14";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.libsdl.org/projects/SDL_ttf/release/${name}.tar.gz";
|
||||
sha256 = "0xljwcpvd2knrjdfag5b257xqayplz55mqlszrqp0kpnphh5xnrl";
|
||||
};
|
||||
|
||||
buildInputs = [SDL2 freetype];
|
||||
buildInputs = [ SDL2 freetype mesa_noglu ];
|
||||
|
||||
postInstall = "ln -s $out/include/SDL2/SDL_ttf.h $out/include/";
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
description = "SDL TrueType library";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = platforms.linux;
|
||||
license = licenses.zlib;
|
||||
homepage = "https://www.libsdl.org/projects/SDL_ttf/";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user