2012-03-14 20:35:35 +01:00
|
|
|
{ stdenv, fetchurl, gstreamer, gst_plugins_base, boost, glib, qt4, cmake
|
2012-03-14 20:35:26 +01:00
|
|
|
, automoc4, flex, bison, pkgconfig }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-06-09 15:09:33 +02:00
|
|
|
name = "${pname}-0.10.2";
|
2012-03-14 20:35:26 +01:00
|
|
|
pname = "qt-gstreamer";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://gstreamer.freedesktop.org/src/${pname}/${name}.tar.bz2";
|
2012-06-09 15:09:33 +02:00
|
|
|
sha256 = "1laryg5vgc3prdi7dmpfwa71nsrc3ngv27sgax44c4qfrgpsgwbf";
|
2012-03-14 20:35:26 +01:00
|
|
|
};
|
|
|
|
|
2012-03-14 20:35:46 +01:00
|
|
|
buildInputs = [ gstreamer gst_plugins_base glib qt4 ];
|
|
|
|
propagatedBuildInputs = [ boost ];
|
2012-12-28 19:20:09 +01:00
|
|
|
nativeBuildInputs = [ cmake automoc4 flex bison pkgconfig ];
|
2012-03-14 20:35:26 +01:00
|
|
|
|
2012-06-09 15:09:33 +02:00
|
|
|
cmakeFlags = "-DUSE_QT_PLUGIN_DIR=OFF -DUSE_GST_PLUGIN_DIR=OFF";
|
|
|
|
|
2012-03-14 20:35:26 +01:00
|
|
|
patches = [ ./boost1.48.patch ];
|
|
|
|
}
|