diff --git a/pkgs/applications/audio/amarok/live.nix b/pkgs/applications/audio/amarok/live.nix new file mode 100644 index 000000000000..e90ca8748274 --- /dev/null +++ b/pkgs/applications/audio/amarok/live.nix @@ -0,0 +1,37 @@ +{ stdenv, fetchgit, fetchgitrevision +, lib, cmake, qt4, qtscriptgenerator, perl, gettext, curl +, libxml2, mysql, taglib, taglib_extras, loudmouth , kdelibs, automoc4, phonon +, strigi, soprano, qca2, libmtp, liblastfm, libgpod, pkgconfig +, repository ? "git://git.kde.org/amarok" +, branch ? "heads/master" +, rev ? fetchgitrevision repository branch +, src ? fetchgit { + url = repository; + rev = rev; + } +}: + +stdenv.mkDerivation rec { + name = "${pname}-${version}"; + + pname = "amarok"; + version = "live"; + + inherit src; + + QT_PLUGIN_PATH="${qtscriptgenerator}/lib/qt4/plugins"; + buildInputs = [ cmake qt4 qtscriptgenerator perl stdenv.gcc.libc gettext curl + libxml2 mysql taglib taglib_extras loudmouth kdelibs automoc4 phonon strigi + soprano qca2 libmtp liblastfm libgpod pkgconfig ]; + + postInstall = '' + mkdir -p $out/nix-support + echo ${qtscriptgenerator} > $out/nix-support/propagated-user-env-packages + ''; + meta = { + description = "Popular music player for KDE"; + license = "GPL"; + homepage = http://amarok.kde.org; + inherit (kdelibs.meta) maintainers; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index df7ff332412d..11dd2f2d4566 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5486,6 +5486,8 @@ let amarok = newScope pkgs.kde4 ../applications/audio/amarok { }; + amarok_live = newScope pkgs.kde4 ../applications/audio/amarok/live.nix { }; + amsn = callPackage ../applications/networking/instant-messengers/amsn { libstdcpp = gcc33.gcc; };