Author: egorochkin
Date: Mon Jan 3 00:02:20 2011
New Revision: 25355
URL: https://svn.nixos.org/websvn/nix/?rev=25355&sc=1
Log:
amarok-live: packaged
Added:
nixpkgs/trunk/pkgs/applications/audio/amarok/live.nix
Modified:
nixpkgs/trunk/pkgs/top-level/all-packages.nix
Added: nixpkgs/trunk/pkgs/applications/audio/amarok/live.nix
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ nixpkgs/trunk/pkgs/applications/audio/amarok/live.nix Mon Jan 3
00:02:20 2011 (r25355)
@@ -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;
+ };
+}
Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/top-level/all-packages.nix Sun Jan 2 23:52:39
2011 (r25354)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix Mon Jan 3 00:02:20
2011 (r25355)
@@ -5486,6 +5486,8 @@
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;
};
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits