26 lines
659 B
Nix
26 lines
659 B
Nix
{ stdenv, fetchurl, cmake, automoc4, qt4, pkgconfig, phonon, gstreamer
|
|
, gst_plugins_base }:
|
|
|
|
let
|
|
version = "4.6.3";
|
|
pname = "phonon-backend-gstreamer";
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://kde/stable/phonon/${pname}/${version}/src/${name}.tar.xz";
|
|
sha256 = "0n5ggap1xzspq8x1j9bvnf7wqqh5495sysri7zyg42g32gqp7qjm";
|
|
};
|
|
|
|
buildInputs = [ phonon qt4 gstreamer gst_plugins_base ];
|
|
|
|
nativeBuildInputs = [ cmake automoc4 pkgconfig ];
|
|
|
|
meta = {
|
|
homepage = http://phonon.kde.org/;
|
|
description = "GStreamer backend for Phonon";
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|