about summary refs log tree commit diff
path: root/pkgs/applications/video/smplayer
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2014-10-11 01:23:01 +0100
committerVincent Laporte <Vincent.Laporte@gmail.com>2014-10-11 10:45:45 +0100
commit826572a9e369e71ef0d19c11e509be890468a2db (patch)
tree594402e0a675a583f55cc5698754dda56dbb6210 /pkgs/applications/video/smplayer
parent650940185b459ff0d9e5a951e0fa93014453dd4b (diff)
downloadnixlib-826572a9e369e71ef0d19c11e509be890468a2db.tar
nixlib-826572a9e369e71ef0d19c11e509be890468a2db.tar.gz
nixlib-826572a9e369e71ef0d19c11e509be890468a2db.tar.bz2
nixlib-826572a9e369e71ef0d19c11e509be890468a2db.tar.lz
nixlib-826572a9e369e71ef0d19c11e509be890468a2db.tar.xz
nixlib-826572a9e369e71ef0d19c11e509be890468a2db.tar.zst
nixlib-826572a9e369e71ef0d19c11e509be890468a2db.zip
smplayer: update from 14.3.0 to 14.9.0
Diffstat (limited to 'pkgs/applications/video/smplayer')
-rw-r--r--pkgs/applications/video/smplayer/basegui.cpp.patch11
-rw-r--r--pkgs/applications/video/smplayer/default.nix6
2 files changed, 15 insertions, 2 deletions
diff --git a/pkgs/applications/video/smplayer/basegui.cpp.patch b/pkgs/applications/video/smplayer/basegui.cpp.patch
new file mode 100644
index 000000000000..05664ee96e62
--- /dev/null
+++ b/pkgs/applications/video/smplayer/basegui.cpp.patch
@@ -0,0 +1,11 @@
+--- 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 018be742a160..4e4d7a3e4b5b 100644
--- a/pkgs/applications/video/smplayer/default.nix
+++ b/pkgs/applications/video/smplayer/default.nix
@@ -1,13 +1,15 @@
 { stdenv, fetchurl, qt4 }:
 
 stdenv.mkDerivation rec {
-  name = "smplayer-14.3.0";
+  name = "smplayer-14.9.0";
 
   src = fetchurl {
     url = "mirror://sourceforge/smplayer/${name}.tar.bz2";
-    sha256 = "9b8db20043d1528ee5c6054526779e88a172d2c757429bd7095c794d65ecbc18";
+    sha256 = "04yzgmdj9hm9v7ln49zm2aa1r9mm9q12pym4bvfww7yzsvnx96j2";
   };
 
+  patches = [ ./basegui.cpp.patch ];
+
   buildInputs = [ qt4 ];
 
   preConfigure = ''