development/libraries/sfml: New nixpkg.

svn path=/nixpkgs/trunk/; revision=26433
This commit is contained in:
Alexander Tsamutali 2011-03-20 18:21:37 +00:00
parent 7e62d8736c
commit e54a964632
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{ stdenv, fetchsvn, cmake, mesa, libX11, freetype, libjpeg, openal, libsndfile
, glew, libXrandr, libXrender
}:
stdenv.mkDerivation rec {
name = "sfml-svn-${version}";
version = "1808";
src = fetchsvn {
url = "https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2";
rev = version;
};
buildInputs = [ cmake mesa libX11 freetype libjpeg openal libsndfile glew
libXrandr libXrender
];
patchPhase = "
substituteInPlace CMakeLists.txt --replace '\${CMAKE_ROOT}/Modules' 'share/cmake-2.8/Modules'
";
meta = with stdenv.lib; {
homepage = http://www.sfml-dev.org/;
description = "A multimedia C++ API that provides access to graphics, input, audio, etc.";
license = licenses.zlib;
maintainers = [ maintainers.astsmtl ];
};
}

View File

@ -4048,6 +4048,8 @@ let
SDL_ttf = callPackage ../development/libraries/SDL_ttf { };
sfml_svn = callPackage ../development/libraries/sfml { };
slang = callPackage ../development/libraries/slang { };
slibGuile = callPackage ../development/libraries/slib {