2012-03-14 22:44:52 +00:00
|
|
|
{ stdenv, fetchurl, cmake, automoc4, qt4, pkgconfig, phonon, gstreamer
|
|
|
|
, gst_plugins_base }:
|
2011-07-18 12:37:50 +00:00
|
|
|
|
2012-02-23 07:57:47 +00:00
|
|
|
let
|
|
|
|
version = "4.6.0";
|
|
|
|
pname = "phonon-backend-gstreamer";
|
|
|
|
in
|
2011-07-18 12:37:50 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-02-23 07:57:47 +00:00
|
|
|
name = "${pname}-${version}";
|
2011-07-18 12:37:50 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-02-23 07:57:47 +00:00
|
|
|
url = "mirror://kde/stable/phonon/${pname}/${version}/src/${name}.tar.xz";
|
2012-02-22 20:29:36 +00:00
|
|
|
sha256 = "0bwkd1dmj8p4m5xindh6ixfvifq36qmvfn246vx22syqfl6f1m2v";
|
2011-07-18 12:37:50 +00:00
|
|
|
};
|
|
|
|
|
2012-03-14 22:44:52 +00:00
|
|
|
buildInputs = [ phonon qt4 gstreamer gst_plugins_base ];
|
2012-02-23 07:57:47 +00:00
|
|
|
|
2012-03-14 22:44:52 +00:00
|
|
|
buildNativeInputs = [ cmake automoc4 pkgconfig ];
|
2011-07-18 12:37:50 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://phonon.kde.org/;
|
|
|
|
description = "GStreamer backend for Phonon";
|
2011-07-29 08:45:58 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2011-07-18 12:37:50 +00:00
|
|
|
};
|
|
|
|
}
|