[Lunar-commits] <moonbase-kde> amarok: Adding a patch (adapted from http://build.kde.org/job/amarok_master/308/changes#detail0)

stumbles stumbles at lunar-linux.org
Thu Mar 28 12:49:51 CET 2013


commit 38c50fb082e28ef5304a32dafb80ac2aff0f0c91
Author: stumbles <stumbles at lunar-linux.org>
Date: Thu, 28 Mar 2013 04:49:51 -0700
URL: https://github.com/lunar-linux/moonbase-kde/commit/38c50fb082e28ef5304a32dafb80ac2aff0f0c91

amarok: Adding a patch (adapted from http://build.kde.org/job/amarok_master/308/changes#detail0)

and a few things to the BUILD.
---
  multimedia/amarok/BUILD   | +8/-0     
  multimedia/amarok/DEPENDS | +2/-0     
  multimedia/amarok/DETAILS | +3/-1     
  3 files changed, 13 insertions(+), 1 deletion(-)

--- a/multimedia/amarok/BUILD
+++ b/multimedia/amarok/BUILD
@@ -1,5 +1,13 @@
 (
 
+  patch_it $SOURCE2 0 &&
+
+  find . -type f -print0 | xargs -0 sed -i \
+  -e 's/AMAROK_SQLCOLLECTION_EXPORT_TESTS/AMAROK_SQLCOLLECTION_EXPORT/g' \
+  -e 's/AMAROK_EXPORT_TESTS/AMAROK_EXPORT/g' &&
+
+  sedit "11i add_definitions(-DMAKE_AMAROK_TESTS)" tests/CMakeLists.txt &&
+
   source /etc/profile.d/qt4.rc &&
 
   default_cmake_build
--- a/multimedia/amarok/DEPENDS
+++ b/multimedia/amarok/DEPENDS
@@ -3,6 +3,7 @@ depends kdelibs
 depends taglib
 depends taglib-extras
 depends qca2
+depends gmock
 
 optional_depends glib-2    "" "" "Required by libgpod and mp3tunes"
 optional_depends libifp    "" "" "for iRiver's iFP support"
@@ -19,3 +20,4 @@ optional_depends liblastfm   "-DWITH_LibLastFm=ON"      "-DWITH_LibLastFm=OFF"
 optional_depends libofa      "-DWITH_LibOFA=ON"         "-DWITH_LibOFA=OFF"         "Enable MusicDNS service"
 optional_depends libmygpo-qt "-DWITH_Mygpo-qt=ON"       "-DWITH_Mygpo-qt=OFF"       "for gpodder.net service support"
 optional_depends libgcrypt   "-DWITH_Libgcrypt=ON"      "-DWITH_Libgcrypt=OFF"      "for encryption support"
+optional_depends clamz       "" "" "to support downloading mp3 from Amazon"
--- a/multimedia/amarok/DETAILS
+++ b/multimedia/amarok/DETAILS
@@ -1,9 +1,11 @@
           MODULE=amarok
          VERSION=2.7.0
           SOURCE=amarok-${VERSION}.tar.bz2
+         SOURCE2=amarok-2.7.0-tests.patch
       SOURCE_URL=$KDE_URL/stable/amarok/$VERSION/src
-     SOURCE2_URL=$PATCH_ULR
+     SOURCE2_URL=$PATCH_URL
       SOURCE_VFY=sha1:d0ae4a2cb81a54ae94ca24fdb3aed88d7f3a921e
+     SOURCE2_VFY=sha1:f7fff6c73ee3b85ed69b8e8b7a27d04af11921ab
    MODULE_PREFIX=${KDE4_INSTALL_DIR:-/usr}
         WEB_SITE=http://amarok.kde.org
          ENTERED=20080414




More information about the Lunar-commits mailing list