[Amarok] bb1b9b6 Bump libMTP dependency to version 1.0.0.

Mark Kretschmann kretschmann at kde.org
Thu Jan 7 07:57:03 CET 2010


commit bb1b9b6175eb247f13527635302675720032ffe7
Author: Mark Kretschmann <kretschmann at kde.org>
Date:   Thu Jan 7 07:43:07 2010 +0100

    Bump libMTP dependency to version 1.0.0.
    
    I think it really makes sense to increase this, as the version we dependeded on
    before (0.3.0) is hopelessly outdated, and buggy. As far as I know, all
    distros are able to provide version 1.0.0, but we could notify the packagers
    to make sure. Also, version 1.0.0 is API compatible.
    
    CCMAIL: amarok-devel at kde.org

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 94de59d..71c9e33 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -117,7 +117,7 @@ if( WITH_PLAYER )
     endif( WITH_IPOD )
 
     macro_optional_find_package(Mtp)
-    macro_log_feature( MTP_FOUND "libmtp" "Enable Support for portable media devices that use the media transfer protocol" "http://libmtp.sourceforge.net/" FALSE "0.3.0" "")
+    macro_log_feature( MTP_FOUND "libmtp" "Enable Support for portable media devices that use the media transfer protocol" "http://libmtp.sourceforge.net/" FALSE "1.0.0" "")
 
     if( WITH_MP3Tunes )
         find_package(CURL)
diff --git a/ChangeLog b/ChangeLog
index 8b6e3e5..9e73b17 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,11 +7,11 @@ VERSION 2.2.3
   FEATURES
  
   CHANGES:
+    * Bumped libMTP dependency to version 1.0.0.
 
   BUGFIXES:
 
 
-
 VERSION 2.2.2
   CHANGES:
     * The inline playlist editor now also allows resizing of auto sized items that 
diff --git a/README b/README
index 5a7ead8..5afd19d 100644
--- a/README
+++ b/README
@@ -68,7 +68,7 @@ Optional
       (iPod support)
       http://www.gtkpod.org/libgpod/
 
-    * libmtp 0.3.x
+    * libmtp 1.0.0
       (MTP device support)
       http://libmtp.sourceforge.net/
 
diff --git a/cmake/modules/FindMtp.cmake b/cmake/modules/FindMtp.cmake
index 92dafa6..5bc6fd7 100644
--- a/cmake/modules/FindMtp.cmake
+++ b/cmake/modules/FindMtp.cmake
@@ -31,7 +31,7 @@ else (MTP_INCLUDE_DIR AND MTP_LIBRARIES AND MTP_VERSION_OKAY)
     ${_MTPLinkDir}
   )
 
-  exec_program(${PKGCONFIG_EXECUTABLE} ARGS --atleast-version=0.3.0 libmtp OUTPUT_VARIABLE _pkgconfigDevNull RETURN_VALUE MTP_VERSION_OKAY)
+  exec_program(${PKGCONFIG_EXECUTABLE} ARGS --atleast-version=1.0.0 libmtp OUTPUT_VARIABLE _pkgconfigDevNull RETURN_VALUE MTP_VERSION_OKAY)
   
   if (MTP_INCLUDE_DIR AND MTP_LIBRARIES AND MTP_VERSION_OKAY STREQUAL "0")
      set(MTP_FOUND TRUE)


More information about the Amarok-devel mailing list