[Lunar-commits] <moonbase> amarok: add a patch to compile with the new libmtp version.

Florin Braescu florin at lunar-linux.org
Sun Jul 20 08:21:02 CEST 2008


commit cbbab1f7e800bd41035c4d527f1ec86e30008ceb
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Sun Jul 20 09:21:02 2008 +0300

    amarok: add a patch to compile with the new libmtp version.
    
    Borrowed the patch from Gentoo.
---
 kde3/apps/amarok/BUILD   |    2 ++
 kde3/apps/amarok/DETAILS |    5 ++++-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/kde3/apps/amarok/BUILD b/kde3/apps/amarok/BUILD
index e0b92d4..0d5cc42 100644
--- a/kde3/apps/amarok/BUILD
+++ b/kde3/apps/amarok/BUILD
@@ -3,6 +3,8 @@
   . /etc/profile.d/qt3.rc
   . /etc/profile.d/kde3.rc
 
+  patch_it $SOURCE_CACHE/$SOURCE2 1  &&
+
   default_build
  
 ) > $C_FIFO 2>&1
diff --git a/kde3/apps/amarok/DETAILS b/kde3/apps/amarok/DETAILS
index 3e6a727..0cb3ad6 100644
--- a/kde3/apps/amarok/DETAILS
+++ b/kde3/apps/amarok/DETAILS
@@ -1,12 +1,15 @@
           MODULE=amarok
          VERSION=1.4.9.1
           SOURCE=$MODULE-${VERSION}.tar.bz2
+         SOURCE2=$MODULE-${VERSION}-libmtp-0.3.0.patch.bz2
       SOURCE_URL=$KDE_URL/stable/$MODULE/$VERSION/src
+     SOURCE2_URL=$PATCH_URL
       SOURCE_VFY=sha1:5473c7d578a4bf2662f977d9239ff0066ee8f159
+     SOURCE2_VFY=sha1:d834992be46a746eeea2d203b5b327533ddf9b94
    MODULE_PREFIX=${KDE_PREFIX:-/opt/lunar/kde/3}
         WEB_SITE=http://amarok.kde.org
          ENTERED=20050111
-         UPDATED=20080501
+         UPDATED=20080720
            SHORT="KDE-based audio player"
 
 cat << EOF


More information about the Lunar-commits mailing list