forked from mirrors/nixpkgs
amarok-live: packaged
svn path=/nixpkgs/trunk/; revision=25355
This commit is contained in:
parent
871b59c636
commit
2f46958f67
37
pkgs/applications/audio/amarok/live.nix
Normal file
37
pkgs/applications/audio/amarok/live.nix
Normal file
|
@ -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;
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue