2012-03-15 02:44:52 +04:00
|
|
|
{ stdenv, fetchurl, cmake, automoc4, qt4, pkgconfig, phonon, gstreamer
|
|
|
|
, gst_plugins_base }:
|
2011-07-18 16:37:50 +04:00
|
|
|
|
2012-02-23 11:57:47 +04:00
|
|
|
let
|
2013-12-04 10:26:24 +04:00
|
|
|
version = "4.7.0";
|
2012-02-23 11:57:47 +04:00
|
|
|
pname = "phonon-backend-gstreamer";
|
|
|
|
in
|
2011-07-18 16:37:50 +04:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-02-23 11:57:47 +04:00
|
|
|
name = "${pname}-${version}";
|
2011-07-18 16:37:50 +04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-02-23 11:57:47 +04:00
|
|
|
url = "mirror://kde/stable/phonon/${pname}/${version}/src/${name}.tar.xz";
|
2013-12-04 10:26:24 +04:00
|
|
|
sha256 = "0zg7hnaywk9wpcvzgskx2334cgfz09ii77pvasrn00ikcqqnnxrs";
|
2011-07-18 16:37:50 +04:00
|
|
|
};
|
|
|
|
|
2012-03-15 02:44:52 +04:00
|
|
|
buildInputs = [ phonon qt4 gstreamer gst_plugins_base ];
|
2012-02-23 11:57:47 +04:00
|
|
|
|
2012-12-28 22:20:09 +04:00
|
|
|
nativeBuildInputs = [ cmake automoc4 pkgconfig ];
|
2011-07-18 16:37:50 +04:00
|
|
|
|
2013-12-31 12:11:12 +04:00
|
|
|
cmakeFlags = [ "-DCMAKE_INSTALL_LIBDIR=lib" ];
|
|
|
|
|
2011-07-18 16:37:50 +04:00
|
|
|
meta = {
|
|
|
|
homepage = http://phonon.kde.org/;
|
|
|
|
description = "GStreamer backend for Phonon";
|
2011-07-29 12:45:58 +04:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2011-07-18 16:37:50 +04:00
|
|
|
};
|
|
|
|
}
|