SDL2_{gfx,mixer,net,ttf}: fix Darwin build
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchsvn, autoconf, automake, libtool, m4, pkgconfig, makeWrapper, SDL2 }:
|
||||
{ stdenv, darwin, fetchsvn, autoconf, automake, libtool, m4, pkgconfig, makeWrapper, SDL2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "smpeg2-svn${version}";
|
||||
@@ -15,7 +15,8 @@ stdenv.mkDerivation rec {
|
||||
./sdl2.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ autoconf automake pkgconfig makeWrapper ];
|
||||
nativeBuildInputs = [ autoconf automake pkgconfig makeWrapper ]
|
||||
++ stdenv.lib.optional stdenv.isDarwin darwin.libobjc;
|
||||
|
||||
buildInputs = [ SDL2 ];
|
||||
|
||||
@@ -37,7 +38,7 @@ stdenv.mkDerivation rec {
|
||||
homepage = http://icculus.org/smpeg/;
|
||||
description = "SDL2 MPEG Player Library";
|
||||
license = licenses.lgpl2;
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ orivej ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user