1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00

cutegram: fix playing media files

This commit is contained in:
Nikolay Amiantov 2016-03-27 21:36:33 +03:00
parent 7b82f5a3fb
commit 5e985c42d6

View file

@ -2,7 +2,7 @@
, qtbase, qtmultimedia, qtquick1, qtquickcontrols
, qtimageformats, qtgraphicaleffects
, telegram-qml, libqtelegram-aseman-edition
, gst_plugins_base, gst_plugins_good, gst_plugins_bad, gst_plugins_ugly
, gst_all_1
, makeQtWrapper }:
stdenv.mkDerivation rec {
@ -18,13 +18,18 @@ stdenv.mkDerivation rec {
[ qtbase qtmultimedia qtquick1 qtquickcontrols
qtimageformats qtgraphicaleffects
telegram-qml libqtelegram-aseman-edition
gst_plugins_base gst_plugins_good gst_plugins_bad gst_plugins_ugly ];
] ++ (with gst_all_1; [ gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly ]);
nativeBuildInputs = [ makeQtWrapper ];
enableParallelBuilding = true;
configurePhase = "qmake -r PREFIX=$out";
fixupPhase = "wrapQtProgram $out/bin/cutegram";
fixupPhase = ''
wrapQtProgram $out/bin/cutegram \
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
'';
meta = with stdenv.lib; {
version = "2.7.1";