forked from mirrors/nixpkgs
* SDL 1.2.13.
svn path=/nixpkgs/trunk/; revision=12092
This commit is contained in:
parent
91258d9884
commit
80b2254cbb
|
@ -6,20 +6,28 @@ assert openglSupport -> mesa != null;
|
|||
assert alsaSupport -> alsaLib != null;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "SDL-1.2.11";
|
||||
name = "SDL-1.2.13";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://www.libsdl.org/release/SDL-1.2.11.tar.gz;
|
||||
md5 = "418b42956b7cd103bfab1b9077ccc149";
|
||||
url = http://www.libsdl.org/release/SDL-1.2.13.tar.gz;
|
||||
sha256 = "0cp155296d6fy3w31jj481jxl9b43fkm01klyibnna8gsvqrvycl";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [x11 libXrandr];
|
||||
buildInputs =
|
||||
(if openglSupport then [mesa] else []) ++
|
||||
(if alsaSupport then [alsaLib] else []);
|
||||
configureFlags = "
|
||||
|
||||
buildInputs =
|
||||
stdenv.lib.optional openglSupport mesa ++
|
||||
stdenv.lib.optional alsaSupport alsaLib;
|
||||
|
||||
configureFlags = ''
|
||||
--disable-x11-shared --disable-alsa-shared --enable-rpath
|
||||
${if alsaSupport then "--with-alsa-prefix=${alsaLib}/lib" else ""}
|
||||
";
|
||||
# patches = [./no-cxx.patch];
|
||||
# NIX_CFLAGS_COMPILE = "-DBITS_PER_LONG=32"; /* !!! hack around kernel header bug */
|
||||
inherit openglSupport;
|
||||
'';
|
||||
|
||||
passthru = {inherit openglSupport;};
|
||||
|
||||
meta = {
|
||||
description = "A cross-platform multimedia library";
|
||||
homepage = http://www.libsdl.org/;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
diff -rc SDL-1.2.8-orig/src/main/Makefile.in SDL-1.2.8/src/main/Makefile.in
|
||||
*** SDL-1.2.8-orig/src/main/Makefile.in 2004-12-13 10:04:02.000000000 +0100
|
||||
--- SDL-1.2.8/src/main/Makefile.in 2005-07-12 13:24:19.000000000 +0200
|
||||
***************
|
||||
*** 411,417 ****
|
||||
rm -f "$${dir}/so_locations"; \
|
||||
done
|
||||
libarch.la: $(libarch_la_OBJECTS) $(libarch_la_DEPENDENCIES)
|
||||
! $(CXXLINK) $(libarch_la_LDFLAGS) $(libarch_la_OBJECTS) $(libarch_la_LIBADD) $(LIBS)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT)
|
||||
--- 411,417 ----
|
||||
rm -f "$${dir}/so_locations"; \
|
||||
done
|
||||
libarch.la: $(libarch_la_OBJECTS) $(libarch_la_DEPENDENCIES)
|
||||
! $(LINK) $(libarch_la_LDFLAGS) $(libarch_la_OBJECTS) $(libarch_la_LIBADD) $(LIBS)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT)
|
||||
Only in SDL-1.2.8/src/main: Makefile.in~
|
Loading…
Reference in a new issue