Revision
93817
Author
michaelld@macports.org
Date
2012-05-31 18:46:10 -0700 (Thu, 31 May 2012)

Log Message

phonon in qt4-mac branch : fix phonon library compatibility version to match that of prior installed phonon version (4.4.0)

Modified Paths

Added Paths

Diff

Modified: branches/mld-qt-481/dports/audio/phonon/Portfile (93816 => 93817)


--- branches/mld-qt-481/dports/audio/phonon/Portfile	2012-06-01 01:24:51 UTC (rev 93816)
+++ branches/mld-qt-481/dports/audio/phonon/Portfile	2012-06-01 01:46:10 UTC (rev 93817)
@@ -9,7 +9,7 @@
 version             4.6.0
 categories          audio kde kde4
 license             {LGPL-2.1 LGPL-3}
-maintainers         michaelld nomaintainer
+maintainers         michaelld openmaintainer
 description         Cross Platform Multimedia API used by KDE4
 long_description    Cross Platform Multimedia API used by KDE4
 platforms           darwin
@@ -23,6 +23,9 @@
 
 depends_build-append  port:automoc
 
+# fix the library compatibility version to the 4.4.0
+patchfiles          patch-CMakeLists.txt.diff
+
 configure.args-append   \
     ${qt_cmake_defines} \
     -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=true

Added: branches/mld-qt-481/dports/audio/phonon/files/patch-CMakeLists.txt.diff (0 => 93817)


--- branches/mld-qt-481/dports/audio/phonon/files/patch-CMakeLists.txt.diff	                        (rev 0)
+++ branches/mld-qt-481/dports/audio/phonon/files/patch-CMakeLists.txt.diff	2012-06-01 01:46:10 UTC (rev 93817)
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig	2012-05-31 21:31:49.000000000 -0400
++++ CMakeLists.txt	2012-05-31 21:31:52.000000000 -0400
+@@ -38,7 +38,7 @@
+ set(PHONON_LIB_MINOR_VERSION "6") # Only change on binary compatible changes with new interfaces
+ set(PHONON_LIB_PATCH_VERSION "0") # Bump whenever you feel like it :P
+ set(PHONON_LIB_VERSION "${PHONON_LIB_MAJOR_VERSION}.${PHONON_LIB_MINOR_VERSION}.${PHONON_LIB_PATCH_VERSION}")
+-set(PHONON_LIB_SOVERSION ${PHONON_LIB_MAJOR_VERSION})
++set(PHONON_LIB_SOVERSION "${PHONON_LIB_MAJOR_VERSION}.4.0")
+ 
+ add_definitions(${QT_DEFINITIONS})
+ remove_definitions(-DQT3_SUPPORT_WARNINGS -DQT3_SUPPORT)