forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into zalora
- Loading branch information
Showing
104 changed files
with
2,135 additions
and
447 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- a/src/util_string.cpp 2014-10-27 22:52:11.875981552 +0100 | ||
+++ b/src/util_string.cpp 2014-10-27 22:54:18.613001994 +0100 | ||
@@ -40,6 +40,10 @@ | ||
#include <linux/limits.h> | ||
#endif // __PLATFORM_LINUX__ | ||
|
||
+#ifdef __PLATFORM_MACOSX__ | ||
+#include <limits.h> | ||
+#endif // __PLATFORM_MACOSX__ | ||
+ | ||
#include <stdio.h> | ||
using namespace std; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ stdenv, fetchurl, alsaLib, bison, flex, libsndfile, which }: | ||
|
||
stdenv.mkDerivation rec { | ||
version = "1.3.4.0"; | ||
name = "chuck-${version}"; | ||
|
||
src = fetchurl { | ||
url = "http://chuck.cs.princeton.edu/release/files/chuck-${version}.tgz"; | ||
sha256 = "0cwbk8b1i18nkh2nxwzk2prranw83lgglxw7ccnp6b0r2b2yfpmn"; | ||
}; | ||
|
||
buildInputs = [ bison flex libsndfile which ] | ||
++ stdenv.lib.optional (!stdenv.isDarwin) alsaLib; | ||
|
||
patches = [ ./darwin-limits.patch ]; | ||
|
||
postPatch = '' | ||
substituteInPlace src/makefile --replace "/usr/bin" "$out/bin" | ||
substituteInPlace src/makefile.osx --replace "xcodebuild" "/usr/bin/xcodebuild" | ||
substituteInPlace src/makefile.osx --replace "weak_framework" "framework" | ||
''; | ||
|
||
buildPhase = | ||
stdenv.lib.optionals stdenv.isLinux ["make -C src linux-alsa"] ++ | ||
stdenv.lib.optionals stdenv.isDarwin ["make -C src osx"]; | ||
|
||
installPhase = '' | ||
install -Dm755 ./src/chuck $out/bin/chuck | ||
''; | ||
|
||
meta = { | ||
description = "Programming language for real-time sound synthesis and music creation"; | ||
homepage = http://chuck.cs.princeton.edu; | ||
license = stdenv.lib.licenses.gpl2; | ||
platforms = with stdenv.lib.platforms; linux ++ darwin; | ||
maintainers = with stdenv.lib.maintainers; [ ftrvxmtrx ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ stdenv, cmake, fetchurl, pkgconfig, qt4, zlib, bzip2 }: | ||
|
||
stdenv.mkDerivation rec { | ||
name = "doomseeker-0.12.1b"; | ||
src = fetchurl { | ||
url = "http://doomseeker.drdteam.org/files/${name}_src.tar.bz2"; | ||
sha256 = "110yg3w3y1x8p4gqpxb6djxw348caj50q5liq8ssb5mf78v8gk6b"; | ||
}; | ||
|
||
cmakeFlags = '' | ||
-DCMAKE_BUILD_TYPE=Release | ||
''; | ||
|
||
buildInputs = [ cmake pkgconfig qt4 zlib bzip2 ]; | ||
|
||
enableParallelBuilding = true; | ||
|
||
patchPhase = '' | ||
sed -e 's#/usr/share/applications#$out/share/applications#' -i src/core/CMakeLists.txt | ||
''; | ||
|
||
meta = { | ||
homepage = http://doomseeker.drdteam.org/; | ||
description = "Multiplayer server browser for many Doom source ports"; | ||
license = stdenv.lib.licenses.gpl2; | ||
maintainers = with stdenv.lib.maintainers; [ MP2E ]; | ||
}; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.