From a04337d5c82f69bb8f026c74fdbd0e9b6697a573 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sat, 14 Jan 2017 13:44:19 +0100 Subject: smplayer: 16.1.0 -> 16.11.0 --- pkgs/applications/video/smplayer/basegui.cpp.patch | 11 ----------- pkgs/applications/video/smplayer/default.nix | 9 ++++----- 2 files changed, 4 insertions(+), 16 deletions(-) delete mode 100644 pkgs/applications/video/smplayer/basegui.cpp.patch (limited to 'pkgs/applications/video/smplayer') diff --git a/pkgs/applications/video/smplayer/basegui.cpp.patch b/pkgs/applications/video/smplayer/basegui.cpp.patch deleted file mode 100644 index 05664ee96e62..000000000000 --- a/pkgs/applications/video/smplayer/basegui.cpp.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/basegui.cpp 2014-08-20 01:04:51.000000000 +0100 -+++ b/src/basegui.cpp 2014-10-11 10:25:57.561983556 +0100 -@@ -5235,7 +5235,7 @@ - #ifdef YOUTUBE_SUPPORT - void BaseGui::showTubeBrowser() { - qDebug("BaseGui::showTubeBrowser"); -- QString exec = Paths::appPath() + "/smtube"; -+ QString exec = "smtube"; - qDebug("BaseGui::showTubeBrowser: '%s'", exec.toUtf8().constData()); - if (!QProcess::startDetached(exec, QStringList())) { - QMessageBox::warning(this, "SMPlayer", diff --git a/pkgs/applications/video/smplayer/default.nix b/pkgs/applications/video/smplayer/default.nix index 15b178fc8e6e..118d416df054 100644 --- a/pkgs/applications/video/smplayer/default.nix +++ b/pkgs/applications/video/smplayer/default.nix @@ -1,16 +1,15 @@ { stdenv, fetchurl, qmakeHook, qtscript }: stdenv.mkDerivation rec { - name = "smplayer-16.1.0"; + name = "smplayer-16.11.0"; src = fetchurl { url = "mirror://sourceforge/smplayer/${name}.tar.bz2"; - sha256 = "1jfqpmbbjrs9lna44dp10zblj7b0cras9sb0nczycpkcsdi9np6j"; + sha256 = "0nhbr33p21qb7n6wry0nkavl5nfjzl5yylrhnxz0pyv69n5msfp5"; }; - patches = [ ./basegui.cpp.patch ]; - - buildInputs = [ qmakeHook qtscript ]; + buildInputs = [ qtscript ]; + nativeBuildInputs = [ qmakeHook ]; dontUseQmakeConfigure = true; -- cgit 1.4.1