Added Amarok player for KDE 4.2
svn path=/nixpkgs/trunk/; revision=14963
This commit is contained in:
parent
f2867f237b
commit
f6938b8469
@ -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;
|
||||
};
|
||||
}
|
||||
|
9
pkgs/desktops/kde-4.2/extragear/amarok/builder.sh
Normal file
9
pkgs/desktops/kde-4.2/extragear/amarok/builder.sh
Normal 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
|
14
pkgs/desktops/kde-4.2/extragear/amarok/default.nix
Normal file
14
pkgs/desktops/kde-4.2/extragear/amarok/default.nix
Normal 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 ];
|
||||
}
|
@ -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";
|
||||
|
||||
propagatedBuildInputs = [gnutls libidn glib];
|
||||
buildInputs = [pkgconfig];
|
||||
src = fetchurl {
|
||||
url = http://ftp.gnome.org/pub/GNOME/sources/loudmouth/1.4/loudmouth-1.4.3.tar.bz2;
|
||||
md5 = "55339ca42494690c3942ee1465a96937";
|
||||
};
|
||||
|
||||
configureFlags = "--enable-shared --disable-static";
|
||||
propagatedBuildInputs = [gnutls libidn glib zlib];
|
||||
buildInputs = [pkgconfig];
|
||||
|
||||
configureFlags = "--enable-shared --disable-static";
|
||||
}
|
||||
|
@ -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;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user