Added Amarok player for KDE 4.2

svn path=/nixpkgs/trunk/; revision=14963
This commit is contained in:
Sander van der Burg 2009-04-09 12:16:58 +00:00
parent f2867f237b
commit f6938b8469
5 changed files with 44 additions and 12 deletions

View File

@ -176,4 +176,12 @@ rec {
inherit kdelibs kdepimlibs;
inherit automoc4 phonon;
};
#### EXTRA GEAR
amarok = import ./extragear/amarok {
inherit (pkgs) stdenv fetchurl cmake qt4 perl gettext curl mysql libxml2 taglib loudmouth;
inherit kdelibs;
inherit automoc4 phonon strigi soprano;
};
}

View File

@ -0,0 +1,9 @@
source $stdenv/setup
myPatchPhase()
{
sed -i -e "s|/usr|$loudmouth|g" cmake/modules/FindLoudmouth.cmake
sed -i -e "s|/usr|$mysql|g" cmake/modules/FindMySQLAmarok.cmake
}
patchPhase=myPatchPhase
genericBuild

View File

@ -0,0 +1,14 @@
{stdenv, fetchurl, cmake, qt4, perl, gettext, curl, libxml2, mysql, taglib, loudmouth,
kdelibs, automoc4, phonon, strigi, soprano}:
stdenv.mkDerivation {
name = "amarok-2.0.2";
src = fetchurl {
url = mirror://kde/stable/amarok/2.0.2/src/amarok-2.0.2.tar.bz2;
md5 = "98b78372ec6ea3432faba356c90c6dbe";
};
inherit mysql loudmouth;
builder = ./builder.sh;
buildInputs = [ cmake qt4 perl stdenv.gcc.libc gettext curl libxml2 mysql taglib loudmouth
kdelibs automoc4 phonon strigi soprano ];
}

View File

@ -1,14 +1,15 @@
args: with args;
stdenv.mkDerivation rec {
name = "loudmouth-1.3.3";
{stdenv, fetchurl, gnutls, libidn, glib, pkgconfig, zlib}:
src = fetchurl {
url = "http://ftp.imendio.com/pub/imendio/loudmouth/src/${name}.tar.bz2";
sha256 = "0f3xpp3pf5bxcp0kcmqa0g28vfl5gg8mj0hxhs2cx75hwgikd26x";
};
stdenv.mkDerivation {
name = "loudmouth-1.4.3";
src = fetchurl {
url = http://ftp.gnome.org/pub/GNOME/sources/loudmouth/1.4/loudmouth-1.4.3.tar.bz2;
md5 = "55339ca42494690c3942ee1465a96937";
};
propagatedBuildInputs = [gnutls libidn glib zlib];
buildInputs = [pkgconfig];
propagatedBuildInputs = [gnutls libidn glib];
buildInputs = [pkgconfig];
configureFlags = "--enable-shared --disable-static";
configureFlags = "--enable-shared --disable-static";
}

View File

@ -3649,7 +3649,7 @@ let
};
loudmouth = import ../development/libraries/loudmouth {
inherit fetchurl stdenv libidn gnutls pkgconfig;
inherit fetchurl stdenv libidn gnutls pkgconfig zlib;
inherit (gtkLibs) glib;
};