Merge pull request #5815 from eduarrrd/3dfsb

Add 3dfsb
This commit is contained in:
Michael Raskin 2015-01-19 09:20:08 +03:00
commit f33979461d
3 changed files with 57 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ stdenv, makeWrapper, glibc, fetchgit, pkgconfig, SDL, SDL_image, SDL_stretch,
mesa, mesa_glu, freeglut, gst_all_1, gtk2, file, imagemagick }:
stdenv.mkDerivation {
name = "3dfsb-1.0";
meta = with stdenv.lib; {
description = "3D File System Browser - cleaned up and improved fork of the old tdfsb which runs on GNU/Linux and should also run on BeOS/Haiku and FreeBSD";
homepage = "https://github.com/tomvanbraeckel/3dfsb";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ eduarrrd ];
};
src = fetchgit {
url = "git://github.com/tomvanbraeckel/3dfsb.git";
rev = "a69a9dfad42acbe2816328d11b58b65f4186c4c5";
sha256 = "191ndg4vfanjfx4qh186sszyy4pphx3l41rchins9mg8y5rm5ffp";
};
buildInputs = with gst_all_1; [ makeWrapper glibc pkgconfig SDL SDL_image SDL_stretch mesa_glu freeglut gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav gtk2 file imagemagick ];
buildPhase = "sh ./compile.sh";
dontStrip = true;
installPhase = "mkdir $out/bin/ && cp 3dfsb $out/bin/";
preFixup = ''
wrapProgram $out/bin/3dfsb \
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0" \
'';
}

View file

@ -0,0 +1,19 @@
{ stdenv, fetchurl, SDL }:
stdenv.mkDerivation {
name = "SDL_stretch-0.3.1";
src = fetchurl {
url = "mirror://sourceforge/sdl-stretch/0.3.1/SDL_stretch-0.3.1.tar.bz2";
sha256 = "1mzw68sn4yxbp8429jg2h23h8xw2qjid51z1f5pdsghcn3x0pgvw";
};
buildInputs = [ SDL ];
meta = {
description = "Stretch Functions For SDL";
homepage = "http://sdl-stretch.sourceforge.net/";
license = stdenv.lib.licenses.lgpl2;
platforms = stdenv.lib.platforms.linux;
};
}

View file

@ -444,6 +444,10 @@ let
### TOOLS
"3dfsb" = callPackage ../applications/misc/3dfsb {
glibc = glibc.override { debugSymbols = true; };
};
abduco = callPackage ../tools/misc/abduco { };
acct = callPackage ../tools/system/acct { };
@ -6996,6 +7000,8 @@ let
SDL_sound = callPackage ../development/libraries/SDL_sound { };
SDL_stretch= callPackage ../development/libraries/SDL_stretch { };
SDL_ttf = callPackage ../development/libraries/SDL_ttf { };
SDL2 = callPackage ../development/libraries/SDL2 {