2016-03-01 22:44:31 +00:00
|
|
|
{ stdenv, fetchurl, fetchpatch, gst_all_1, boost, glib, qt4, cmake
|
2014-09-21 11:42:03 +01:00
|
|
|
, automoc4, flex, bison, pkgconfig }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-1.2.0";
|
|
|
|
pname = "qt-gstreamer";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://gstreamer.freedesktop.org/src/${pname}/${name}.tar.xz";
|
|
|
|
sha256 = "9f3b492b74cad9be918e4c4db96df48dab9c012f2ae5667f438b64a4d92e8fd4";
|
|
|
|
};
|
|
|
|
|
2016-03-01 22:44:31 +00:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://cgit.freedesktop.org/gstreamer/qt-gstreamer/patch/?id=e2ca8094aa8d0eac1c3a98df66fe94ce0c754088";
|
|
|
|
sha256 = "1qps0nlc26d74wk8h96xl5s3d9qrdx6c0ph0zpl1dnc691lgyf6s";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2016-08-29 01:30:01 +01:00
|
|
|
outputs = [ "out" "dev" ];
|
2016-04-24 13:39:30 +01:00
|
|
|
|
2014-09-21 11:42:03 +01:00
|
|
|
buildInputs = [ gst_all_1.gstreamer gst_all_1.gst-plugins-base glib qt4 ];
|
|
|
|
propagatedBuildInputs = [ boost ];
|
|
|
|
nativeBuildInputs = [ cmake automoc4 flex bison pkgconfig ];
|
|
|
|
|
|
|
|
cmakeFlags = "-DUSE_QT_PLUGIN_DIR=OFF -DUSE_GST_PLUGIN_DIR=OFF";
|
2014-12-04 13:27:09 +00:00
|
|
|
|
2016-03-01 22:44:31 +00:00
|
|
|
meta = {
|
2014-12-04 13:30:18 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-12-04 13:27:09 +00:00
|
|
|
};
|
2014-09-21 11:42:03 +01:00
|
|
|
}
|