about summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2017-01-14 13:44:19 +0100
committerVincent Laporte <Vincent.Laporte@gmail.com>2017-01-14 13:44:19 +0100
commita04337d5c82f69bb8f026c74fdbd0e9b6697a573 (patch)
tree235279a554e266a893d7519b18d056b9dfe8557a /pkgs/applications
parent2dda1ed3ad57f7acd3a58c1f874a4b2786261188 (diff)
downloadnixlib-a04337d5c82f69bb8f026c74fdbd0e9b6697a573.tar
nixlib-a04337d5c82f69bb8f026c74fdbd0e9b6697a573.tar.gz
nixlib-a04337d5c82f69bb8f026c74fdbd0e9b6697a573.tar.bz2
nixlib-a04337d5c82f69bb8f026c74fdbd0e9b6697a573.tar.lz
nixlib-a04337d5c82f69bb8f026c74fdbd0e9b6697a573.tar.xz
nixlib-a04337d5c82f69bb8f026c74fdbd0e9b6697a573.tar.zst
nixlib-a04337d5c82f69bb8f026c74fdbd0e9b6697a573.zip
smplayer: 16.1.0 -> 16.11.0
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/video/smplayer/basegui.cpp.patch11
-rw-r--r--pkgs/applications/video/smplayer/default.nix9
2 files changed, 4 insertions, 16 deletions
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;