Revision: 69263 http://trac.macports.org/changeset/69263 Author: michaelld@macports.org Date: 2010-06-29 00:06:03 -0700 (Tue, 29 Jun 2010) Log Message: ----------- Bump to 2.3.1 . Fixed header file "Phonon" -> "phonon". Fixed use of libusb-legacy. Added use of port:qca port:libmtp port:libgpod . Modified Paths: -------------- trunk/dports/kde/amarok/Portfile Modified: trunk/dports/kde/amarok/Portfile =================================================================== --- trunk/dports/kde/amarok/Portfile 2010-06-29 07:03:15 UTC (rev 69262) +++ trunk/dports/kde/amarok/Portfile 2010-06-29 07:06:03 UTC (rev 69263) @@ -1,3 +1,4 @@ +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; truncate-lines: t -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 @@ -4,7 +5,7 @@ PortGroup kde4 1.0 name amarok -version 2.2.0 +version 2.3.1 categories kde kde4 maintainers illogic-al openmaintainer description Amarok, the world-renowned media player. @@ -15,12 +16,14 @@ homepage http://amarok.kde.org master_sites kde:stable/${name}/${version}/src/ use_bzip2 yes -checksums md5 5a0188c5eb7d343109b82964942d8eb5 +checksums md5 6679adaf5cc757b1515a9f03cdcb6066 \ + sha1 00a596384df8d155b91b40bb2484ec0a7f51da80 \ + rmd160 70e581bd681361d7837f1ed295191174e92e9f8f depends_lib-append port:kdebase4-runtime port:kdelibs4 \ port:qtscriptgenerator port:liblastfm \ port:taglib port:taglib-extras \ - port:loudmouth \ + port:loudmouth port:qca port:libmtp port:libgpod \ path:bin/mysql_config5:mysql5 pre-configure { @@ -30,16 +33,24 @@ } } -patchfiles patch-src-app-mac.patch -patch.dir ${workpath}/${distname} -patch.pre_args -p1 +# have to include the various paths to the header and library manually +# for libusb-legacy since libmtp doesn't provide them +compiler.cpath ${prefix}/include/libusb-legacy:${compiler.cpath} +compiler.library_path ${prefix}/lib/libusb-legacy:${compiler.library_path} configure.env QTDIR=${prefix}/libexec/qt4-mac configure.args-append ../${distname} -post-destroot { - # Place bundle icons in correct location - system "mv ${destroot}${prefix}/bin/amarok.app/Contents/Resources/* ${destroot}${applications_dir}/KDE4/Amarok.app/Contents/Resources/" - system "rm -rf ${destroot}${prefix}/bin" +post-configure { + # for some reason, these files #include from 'Phonon', + # while qt4-mac uses 'phonon'; this does make a difference on + # case-sensitive file systems. + foreach file {EngineController.cpp EngineController.h \ + context/applets/videoclip/CustomVideoWidget.h \ + context/applets/videoclip/VideoclipApplet.cpp \ + context/applets/videoclip/VideoclipApplet.h \ + context/engines/current/CurrentEngine.cpp \ + core/engine/EngineObserver.h} { + reinplace "s|Phonon\\/|phonon\\/|" ${workpath}/${distname}/src/${file} + } } -