lol

pokerth: init at 1.1.1

obadz f279b253 1bc03a7b

+56 -1
+11 -1
pkgs/development/libraries/SDL_mixer/default.nix
··· 14 14 15 15 configureFlags = "--disable-music-ogg-shared" + stdenv.lib.optionalString enableNativeMidi " --enable-music-native-midi-gpl"; 16 16 17 - postInstall = "ln -s $out/include/SDL/SDL_mixer.h $out/include/"; 17 + postInstall = '' 18 + ln -s $out/include/SDL/SDL_mixer.h $out/include/ 19 + 20 + for f in $out/include/SDL/SDL_mixer.h 21 + do 22 + for i in SDL_types.h SDL_rwops.h SDL_audio.h SDL_endian.h SDL_version.h begin_code.h close_code.h 23 + do 24 + substituteInPlace $f --replace "#include \"$i\"" "#include <SDL/$i>" 25 + done 26 + done 27 + ''; 18 28 19 29 meta = with stdenv.lib; { 20 30 description = "SDL multi-channel audio mixer library";
+41
pkgs/games/pokerth/default.nix
··· 1 + { stdenv, lib, fetchFromGitHub, qmake4Hook, qt4, protobuf, boost155, tinyxml2, libgcrypt, sqlite, gsasl, curl, SDL, SDL_mixer, libircclient }: 2 + 3 + let boost = boost155; 4 + in stdenv.mkDerivation rec { 5 + name = "${pname}-${version}"; 6 + pname = "pokerth"; 7 + version = "1.1.1"; 8 + 9 + src = fetchFromGitHub { 10 + owner = pname; 11 + repo = pname; 12 + rev = "7f3c8a860848c16c8c2f78e3929a65a54ef4c04c"; 13 + sha256 = "1md3sl7pdpn3n42k75pxqbkkl19cz4699g1vdi04qpp0jxx09a2k"; 14 + }; 15 + 16 + buildInputs = [ qmake4Hook qt4 protobuf boost tinyxml2 libgcrypt sqlite gsasl curl SDL SDL_mixer libircclient ]; 17 + 18 + outputs = [ "out" "server" ]; 19 + 20 + qmakeFlags = [ "pokerth.pro" ]; 21 + 22 + postPatch = '' 23 + for f in connectivity.pro load.pro pokerth_game.pro pokerth_server.pro 24 + do 25 + substituteInPlace $f \ 26 + --replace 'LIB_DIRS =' 'LIB_DIRS = ${boost.out}/lib' 27 + done 28 + ''; 29 + 30 + postInstall = '' 31 + install -D -m755 bin/pokerth_server $server/bin/pokerth_server 32 + ''; 33 + 34 + meta = with stdenv.lib; { 35 + homepage = http://www.pokerth.net/; 36 + description = "Open Source Poker client and server"; 37 + license = licenses.gpl3; 38 + maintainers = with maintainers; [ obadz ]; 39 + platforms = platforms.all; 40 + }; 41 + }
+4
pkgs/top-level/all-packages.nix
··· 15842 15842 15843 15843 pong3d = callPackage ../games/pong3d { }; 15844 15844 15845 + pokerth = callPackage ../games/pokerth { }; 15846 + 15847 + pokerth-server = with callPackage ../games/pokerth { }; server; 15848 + 15845 15849 prboom = callPackage ../games/prboom { }; 15846 15850 15847 15851 privateer = callPackage ../games/privateer { };