diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-03-27 21:36:33 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-03-27 21:36:39 +0300 |
commit | 5e985c42d665f5046bf5efc9248997b77b492526 (patch) | |
tree | bac9cb8dd6dc15e1e3840aaf115b07b0f2c3b867 /pkgs/applications/networking/instant-messengers/telegram/cutegram | |
parent | 7b82f5a3fb81aa3c413aa05554a1fa85c14776e3 (diff) | |
download | nixlib-5e985c42d665f5046bf5efc9248997b77b492526.tar nixlib-5e985c42d665f5046bf5efc9248997b77b492526.tar.gz nixlib-5e985c42d665f5046bf5efc9248997b77b492526.tar.bz2 nixlib-5e985c42d665f5046bf5efc9248997b77b492526.tar.lz nixlib-5e985c42d665f5046bf5efc9248997b77b492526.tar.xz nixlib-5e985c42d665f5046bf5efc9248997b77b492526.tar.zst nixlib-5e985c42d665f5046bf5efc9248997b77b492526.zip |
cutegram: fix playing media files
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/telegram/cutegram')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/telegram/cutegram/default.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/applications/networking/instant-messengers/telegram/cutegram/default.nix b/pkgs/applications/networking/instant-messengers/telegram/cutegram/default.nix index 806ee1fb9f3f..29a0f188516f 100644 --- a/pkgs/applications/networking/instant-messengers/telegram/cutegram/default.nix +++ b/pkgs/applications/networking/instant-messengers/telegram/cutegram/default.nix @@ -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"; |