mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 11:02:05 +00:00
qt_gstreamer1: add upstream patch to build with current gstreamer
This commit is contained in:
parent
f082170873
commit
995475944f
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, gst_all_1, boost, glib, qt4, cmake
|
||||
{ stdenv, fetchurl, fetchpatch, gst_all_1, boost, glib, qt4, cmake
|
||||
, automoc4, flex, bison, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -10,13 +10,20 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "9f3b492b74cad9be918e4c4db96df48dab9c012f2ae5667f438b64a4d92e8fd4";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://cgit.freedesktop.org/gstreamer/qt-gstreamer/patch/?id=e2ca8094aa8d0eac1c3a98df66fe94ce0c754088";
|
||||
sha256 = "1qps0nlc26d74wk8h96xl5s3d9qrdx6c0ph0zpl1dnc691lgyf6s";
|
||||
})
|
||||
];
|
||||
|
||||
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";
|
||||
|
||||
meta = {
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue