[87085] trunk/dports/audio/liblastfm

michaelld at macports.org michaelld at macports.org
Wed Nov 9 17:54:58 PST 2011


Revision: 87085
          http://trac.macports.org/changeset/87085
Author:   michaelld at macports.org
Date:     2011-11-09 17:54:58 -0800 (Wed, 09 Nov 2011)
Log Message:
-----------
liblastfm: Upgrade to 0.3.3; addresses ticket #31973.

Modified Paths:
--------------
    trunk/dports/audio/liblastfm/Portfile

Removed Paths:
-------------
    trunk/dports/audio/liblastfm/files/

Modified: trunk/dports/audio/liblastfm/Portfile
===================================================================
--- trunk/dports/audio/liblastfm/Portfile	2011-11-10 01:54:40 UTC (rev 87084)
+++ trunk/dports/audio/liblastfm/Portfile	2011-11-10 01:54:58 UTC (rev 87085)
@@ -5,22 +5,27 @@
 PortGroup           qt4 1.0
 
 name                liblastfm
-version             0.3.0
-revision            5
+version             0.3.3
 categories          audio
+license             GPL-3
 maintainers         michaelld openmaintainer
+
 description         A set of libraries allowing use of the Last.fm site services.
 long_description    liblastfm is a collection of libraries to help you \
 integrate Last.fm services into your rich desktop software. It is \
 officially supported software developed by Last.fm staff.
+
 platforms           darwin
-homepage            http://www.last.fm
-master_sites        http://cdn.last.fm/src/
-use_bzip2           yes
-checksums           md5     3f73222ebc31635941832b01e7a494b6 \
-                    sha1    1dabd8d67f4a36aebad29608c6f89b895472c25a \
-                    rmd160  39098fe55f88c3831ab5b1380c1e978c2ef55aac
 
+homepage            https://github.com/mxcl/liblastfm
+master_sites        https://github.com/mxcl/liblastfm/tarball/${version}
+
+checksums           md5     fe339bf46aefc515c251200d10262f79 \
+                    sha1    f2e9705c9c2cbeaa14f46da9bd35ab36fe710392 \
+                    rmd160  690931075f38fda78c69015ca5088c166f6e1013
+
+worksrcdir          mxcl-${name}-1c739eb
+
 depends_build-append port:ruby
 
 depends_lib-append  port:libsamplerate port:fftw-3-single
@@ -29,9 +34,6 @@
 
 use_parallel_build  no
 
-# fix build failure on Snow Leopard
-patchfiles          patch-src-core-misc-cpp.diff
-
 post-patch {
     # fix library install directory
     reinplace "/target\\.path/s@\\/lib@\\\$\\\$QMAKE_LIBDIR_QT@" \
@@ -39,10 +41,6 @@
     reinplace "/target\\.path/s@\\/lib@\\\$\\\$QMAKE_LIBDIR_QT@" \
         ${worksrcpath}/src/fingerprint/fingerprint.pro
 
-    # fix destroot location for subdirs
-    reinplace "/make install/s@#{\\\$install_prefix}@@g" \
-        ${worksrcpath}/admin/Makefile.rb
-
     # swap -l -L ordering (to be -L -l)
     reinplace "/LIBS/s at += \\(-l\[^ \]*\\) \\(-L\[^ \]*\\)@+= \\2 \\1@" \
         ${worksrcpath}/demos/demos.pro
@@ -60,7 +58,7 @@
 # arch, then, at least sometimes, qmake will erroneously remove the
 # second "foo" but leave the "-arch" flag -- generating an error at
 # linking.  Not sure if this is the case with +debug; does not matter
-# for this port, since it has not debug variant.
+# for this port, since it has no debug variant.
 post-configure {
     if {![variant_isset universal]} {
         # (1) find subdir Makefile names from top-level
@@ -87,3 +85,7 @@
         build.post_args "CCACHE=ccache"
     }
 }
+
+livecheck.type      regex
+livecheck.url       https://github.com/mxcl/liblastfm/tags
+livecheck.regex     {tarball/([0-9.]+)"}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111109/e36c6d1c/attachment.html>


More information about the macports-changes mailing list