2014-12-19 07:14:00 +01:00
|
|
|
{ stdenv, fetchurl, cmake, automoc4, qt4, pkgconfig, phonon, gstreamer
|
|
|
|
, gst_plugins_base }:
|
2011-07-18 14:37:50 +02:00
|
|
|
|
2012-02-23 08:57:47 +01:00
|
|
|
let
|
2014-12-19 07:14:00 +01:00
|
|
|
version = "4.7.2";
|
2012-02-23 08:57:47 +01:00
|
|
|
pname = "phonon-backend-gstreamer";
|
|
|
|
in
|
2011-07-18 14:37:50 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-02-23 08:57:47 +01:00
|
|
|
name = "${pname}-${version}";
|
2011-07-18 14:37:50 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-12-19 07:14:00 +01:00
|
|
|
url = "mirror://kde/stable/phonon/${pname}/${version}/src/${name}.tar.xz";
|
|
|
|
sha256 = "1cfjk450aajr8hfhnfq7zbmryprxiwr9ha5x585dsh7mja82mdw0";
|
2011-07-18 14:37:50 +02:00
|
|
|
};
|
|
|
|
|
2014-12-19 07:14:00 +01:00
|
|
|
buildInputs = [ phonon qt4 gstreamer gst_plugins_base ];
|
2012-02-23 08:57:47 +01:00
|
|
|
|
2012-12-28 19:20:09 +01:00
|
|
|
nativeBuildInputs = [ cmake automoc4 pkgconfig ];
|
2011-07-18 14:37:50 +02:00
|
|
|
|
2014-12-19 07:14:00 +01:00
|
|
|
cmakeFlags = [ "-DCMAKE_INSTALL_LIBDIR=lib" ];
|
2013-12-31 09:11:12 +01:00
|
|
|
|
2011-07-18 14:37:50 +02:00
|
|
|
meta = {
|
|
|
|
homepage = http://phonon.kde.org/;
|
|
|
|
description = "GStreamer backend for Phonon";
|
2014-12-19 07:14:00 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
2011-07-18 14:37:50 +02:00
|
|
|
}
|