Merge pull request #669 from iyzsong/kmplayer
kmplayer: update to 0.11.3d
This commit is contained in:
commit
2eb36d2a7a
|
@ -1,9 +0,0 @@
|
||||||
source $stdenv/setup
|
|
||||||
|
|
||||||
myPatchPhase()
|
|
||||||
{
|
|
||||||
sed -i -e "s|files.length|files.size|" \
|
|
||||||
-e "s|chlds.length|chlds.size|" src/kmplayerapp.cpp
|
|
||||||
}
|
|
||||||
patchPhase=myPatchPhase
|
|
||||||
genericBuild
|
|
|
@ -1,17 +1,28 @@
|
||||||
{stdenv, fetchurl, lib, cmake, qt4, perl, gettext, pango, gtk, dbus_glib, kdelibs, automoc4, phonon}:
|
{ stdenv, fetchurl, cmake, pkgconfig, gettext, makeWrapper
|
||||||
|
, kdelibs, cairo, dbus_glib, mplayer
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "kmplayer-0.11.2c";
|
name = "kmplayer-0.11.3d";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://kmplayer.kde.org/pkgs/kmplayer-0.11.2c.tar.bz2;
|
url = http://kmplayer.kde.org/pkgs/kmplayer-0.11.3d.tar.bz2;
|
||||||
sha256 = "1qhafq865bzpz6m9k7cjdv4884qfpn481ak77ly0nidpq2ab0l9m";
|
sha256 = "1yvbkb1hh5y7fqfvixjf2rryzm0fm0fpkx4lmvhi7k7d0v4wpgky";
|
||||||
};
|
};
|
||||||
builder = ./builder.sh;
|
|
||||||
buildInputs = [ cmake qt4 perl gettext stdenv.gcc.libc pango gtk dbus_glib kdelibs automoc4 phonon ];
|
buildInputs = [
|
||||||
|
cmake gettext pkgconfig makeWrapper
|
||||||
|
kdelibs cairo dbus_glib
|
||||||
|
];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram $out/bin/kmplayer --suffix PATH : ${mplayer}/bin
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "MPlayer front-end for KDE";
|
description = "MPlayer front-end for KDE";
|
||||||
license = "GPL";
|
license = "GPL";
|
||||||
homepage = http://kmplayer.kde.org;
|
homepage = http://kmplayer.kde.org;
|
||||||
maintainers = [ lib.maintainers.sander ];
|
maintainers = [ stdenv.lib.maintainers.sander ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue