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 {
|
2014-03-14 09:20:42 +01:00
|
|
|
name = "${pname}-0.10.3";
|
2012-03-14 20:35:26 +01:00
|
|
|
pname = "qt-gstreamer";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://gstreamer.freedesktop.org/src/${pname}/${name}.tar.bz2";
|
2014-03-14 09:20:42 +01:00
|
|
|
sha256 = "1pqg9sxzk8sdrf7pazb5v21hasqai9i4l203gbdqz29w2ll1ybsl";
|
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 ];
|
|
|
|
}
|