mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 19:26:02 +00:00
21 lines
631 B
Nix
21 lines
631 B
Nix
{ stdenv, fetchurl, gstreamer, gst-plugins-base, boost155, glib, qt4, cmake
|
|
, automoc4, flex, bison, pkgconfig }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "${pname}-0.10.3";
|
|
pname = "qt-gstreamer";
|
|
|
|
src = fetchurl {
|
|
url = "http://gstreamer.freedesktop.org/src/${pname}/${name}.tar.bz2";
|
|
sha256 = "1pqg9sxzk8sdrf7pazb5v21hasqai9i4l203gbdqz29w2ll1ybsl";
|
|
};
|
|
|
|
buildInputs = [ gstreamer gst-plugins-base glib qt4 ];
|
|
propagatedBuildInputs = [ boost155 ];
|
|
nativeBuildInputs = [ cmake automoc4 flex bison pkgconfig ];
|
|
|
|
cmakeFlags = "-DUSE_QT_PLUGIN_DIR=OFF -DUSE_GST_PLUGIN_DIR=OFF";
|
|
|
|
patches = [ ./boost1.48.patch ];
|
|
}
|