Added kmplayer for KDE 4.2 package

svn path=/nixpkgs/trunk/; revision=15571
This commit is contained in:
Sander van der Burg 2009-05-12 15:12:26 +00:00
parent 8202de939d
commit 908b2b6d47
4 changed files with 28 additions and 0 deletions

View File

@ -191,6 +191,13 @@ rec {
inherit automoc4 phonon;
};
kmplayer = import ./extragear/kmplayer {
inherit (pkgs) stdenv fetchurl cmake qt4 perl gettext dbus_glib;
inherit (pkgs.gtkLibs) pango gtk;
inherit kdelibs;
inherit automoc4 phonon;
};
krusader = import ./extragear/krusader {
inherit (pkgs) stdenv fetchurl cmake qt4 perl gettext;
inherit kdelibs;

View File

@ -0,0 +1,9 @@
source $stdenv/setup
myPatchPhase()
{
sed -i -e "s|files.length|files.size|" \
-e "s|chlds.length|chlds.size|" src/kmplayerapp.cpp
}
patchPhase=myPatchPhase
genericBuild

View File

@ -0,0 +1,11 @@
{stdenv, fetchurl, cmake, qt4, perl, gettext, pango, gtk, dbus_glib, kdelibs, automoc4, phonon}:
stdenv.mkDerivation {
name = "kmplayer-0.11.1";
src = fetchurl {
url = http://kmplayer.kde.org/pkgs/kmplayer-0.11.1.tar.bz2;
sha256 = "d10df9c31f540ab9442b75e0be0ed2cff9313de9004a4a8acbe3dbed79d5fddb";
};
builder = ./builder.sh;
buildInputs = [ cmake qt4 perl gettext stdenv.gcc.libc pango gtk dbus_glib kdelibs automoc4 phonon ];
}

View File

@ -265,6 +265,7 @@ let
kdenetwork
kdepim
kdeplasma_addons
kmplayer
;
};
kernelPackages_2_6_23 = pkgs.recurseIntoAttrs {