cutegram: fix playing media files
This commit is contained in:
parent
7b82f5a3fb
commit
5e985c42d6
@ -2,7 +2,7 @@
|
|||||||
, qtbase, qtmultimedia, qtquick1, qtquickcontrols
|
, qtbase, qtmultimedia, qtquick1, qtquickcontrols
|
||||||
, qtimageformats, qtgraphicaleffects
|
, qtimageformats, qtgraphicaleffects
|
||||||
, telegram-qml, libqtelegram-aseman-edition
|
, telegram-qml, libqtelegram-aseman-edition
|
||||||
, gst_plugins_base, gst_plugins_good, gst_plugins_bad, gst_plugins_ugly
|
, gst_all_1
|
||||||
, makeQtWrapper }:
|
, makeQtWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -18,13 +18,18 @@ stdenv.mkDerivation rec {
|
|||||||
[ qtbase qtmultimedia qtquick1 qtquickcontrols
|
[ qtbase qtmultimedia qtquick1 qtquickcontrols
|
||||||
qtimageformats qtgraphicaleffects
|
qtimageformats qtgraphicaleffects
|
||||||
telegram-qml libqtelegram-aseman-edition
|
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 ];
|
nativeBuildInputs = [ makeQtWrapper ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
configurePhase = "qmake -r PREFIX=$out";
|
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; {
|
meta = with stdenv.lib; {
|
||||||
version = "2.7.1";
|
version = "2.7.1";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user