summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Redaelli <drizzt@gentoo.org>2007-06-04 12:27:10 +0000
committerTimothy Redaelli <drizzt@gentoo.org>2007-06-04 12:27:10 +0000
commita7fb5258172a6bf8b60fd53ec8e03b6a0cee6bd9 (patch)
tree65b27bb8a5ecb6e1243caae9ae577414549657b0 /media-sound/amarok/files/amarok-1.4.5-magnatune.patch
parentWIP (diff)
downloaddrizzt-a7fb5258172a6bf8b60fd53ec8e03b6a0cee6bd9.tar.gz
drizzt-a7fb5258172a6bf8b60fd53ec8e03b6a0cee6bd9.tar.bz2
drizzt-a7fb5258172a6bf8b60fd53ec8e03b6a0cee6bd9.zip
Add amarok with xine amd gstreamer use flag.
svn path=/; revision=122
Diffstat (limited to 'media-sound/amarok/files/amarok-1.4.5-magnatune.patch')
-rw-r--r--media-sound/amarok/files/amarok-1.4.5-magnatune.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/media-sound/amarok/files/amarok-1.4.5-magnatune.patch b/media-sound/amarok/files/amarok-1.4.5-magnatune.patch
new file mode 100644
index 0000000..3716fa8
--- /dev/null
+++ b/media-sound/amarok/files/amarok-1.4.5-magnatune.patch
@@ -0,0 +1,14 @@
+Index: amarok-1.4.5/amarok/src/magnatunebrowser/magnatunealbumdownloader.cpp
+===================================================================
+--- amarok-1.4.5/amarok/src/magnatunebrowser/magnatunealbumdownloader.cpp (revision 633568)
++++ amarok-1.4.5/amarok/src/magnatunebrowser/magnatunealbumdownloader.cpp (revision 633677)
+@@ -89,8 +89,8 @@
+
+ //ok, now we have the .zip file downloaded. All we need is to unpack it to the desired location and add it to the collection.
+
+- QString unzipString = "unzip \""+m_tempDir.name() + m_currentAlbumFileName + "\" -d \"" + m_currentAlbumUnpackLocation + "\" &";
++ QString unzipString = "unzip "+ KProcess::quote( m_tempDir.name() + m_currentAlbumFileName) + " -d " +KProcess::quote( m_currentAlbumUnpackLocation ) + " &";
+
+ debug() << "unpacking: " << unzipString << endl;
+
+ system( unzipString.ascii() );