[114405] trunk/dports/devel

cal at macports.org cal at macports.org
Sat Dec 7 06:52:36 PST 2013


Revision: 114405
          https://trac.macports.org/changeset/114405
Author:   cal at macports.org
Date:     2013-12-07 06:52:36 -0800 (Sat, 07 Dec 2013)
Log Message:
-----------
libspiff: update to 1.2.0, rename to libxspf, fix build error, closes #41714

Modified Paths:
--------------
    trunk/dports/devel/libspiff/Portfile
    trunk/dports/devel/libxspf/Portfile

Added Paths:
-----------
    trunk/dports/devel/libxspf/
    trunk/dports/devel/libxspf/files/
    trunk/dports/devel/libxspf/files/patch-examples_read_read.cpp-getcwd-header.diff

Modified: trunk/dports/devel/libspiff/Portfile
===================================================================
--- trunk/dports/devel/libspiff/Portfile	2013-12-07 14:10:33 UTC (rev 114404)
+++ trunk/dports/devel/libspiff/Portfile	2013-12-07 14:52:36 UTC (rev 114405)
@@ -1,27 +1,10 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem 1.0
+PortSystem      1.0
 
 name            libspiff
 version         1.0.0
 categories      devel multimedia
-maintainers     80386.nl:ed
-description     Library for reading and writing XSPF playlists
-long_description \
-    ${description}
-
-homepage        http://libspiff.sourceforge.net/
-platforms       darwin
-master_sites    sourceforge
-checksums       md5 4f64711fbcd4816c93fbad11f0b8b0da \
-                sha1 4e69677fb16a35ee4158bedb9965345e1f530a28 \
-                rmd160 89fee7e0c8a8de59452494251a2121a858824c85
-
-use_bzip2       yes
-depends_lib     port:expat \
-                port:uriparser
-
-test.run        yes
-test.target     check
-
-livecheck.type  none
+replaced_by     libxspf
+PortGroup       obsolete 1.0

Modified: trunk/dports/devel/libxspf/Portfile
===================================================================
--- trunk/dports/devel/libspiff/Portfile	2013-12-07 13:11:29 UTC (rev 114403)
+++ trunk/dports/devel/libxspf/Portfile	2013-12-07 14:52:36 UTC (rev 114405)
@@ -1,27 +1,37 @@
 # $Id$
 
-PortSystem 1.0
+PortSystem          1.0
 
-name            libspiff
-version         1.0.0
-categories      devel multimedia
-maintainers     80386.nl:ed
-description     Library for reading and writing XSPF playlists
-long_description \
-    ${description}
+name                libxspf
+version             1.2.0
+checksums           rmd160  64f14c6e419c97826ad729ed46651a86061e6964 \
+                    sha256  ba9e93a0066469b074b4022b480004651ad3aa5b4313187fd407d833f79b43a5
 
-homepage        http://libspiff.sourceforge.net/
-platforms       darwin
-master_sites    sourceforge
-checksums       md5 4f64711fbcd4816c93fbad11f0b8b0da \
-                sha1 4e69677fb16a35ee4158bedb9965345e1f530a28 \
-                rmd160 89fee7e0c8a8de59452494251a2121a858824c85
+categories          devel multimedia
+platforms           darwin
+maintainers         nomaintainer
+license             BSD
 
-use_bzip2       yes
-depends_lib     port:expat \
-                port:uriparser
+description         \
+    libxspf (formerly called libSpiff) brings XSPF playlist reading and writing \
+    support to your C++ application.
+long_description    ${description}
+homepage            http://libspiff.sourceforge.net/
 
-test.run        yes
-test.target     check
+master_sites        sourceforge:libspiff
 
-livecheck.type  none
+use_bzip2           yes
+depends_build       port:pkgconfig
+
+depends_lib         port:expat \
+                    port:uriparser
+
+patchfiles          patch-examples_read_read.cpp-getcwd-header.diff
+
+# Avoid extra test dependency
+configure.args      --disable-test
+
+#test.run            yes
+#test.target         check
+
+livecheck.regex     {/Sources/([a-zA-Z0-9.]+\.[a-zA-Z0-9.]+)/}

Added: trunk/dports/devel/libxspf/files/patch-examples_read_read.cpp-getcwd-header.diff
===================================================================
--- trunk/dports/devel/libxspf/files/patch-examples_read_read.cpp-getcwd-header.diff	                        (rev 0)
+++ trunk/dports/devel/libxspf/files/patch-examples_read_read.cpp-getcwd-header.diff	2013-12-07 14:52:36 UTC (rev 114405)
@@ -0,0 +1,10 @@
+--- examples/read/read.cpp.orig	2013-12-07 15:44:13.000000000 +0100
++++ examples/read/read.cpp	2013-12-07 15:44:26.000000000 +0100
+@@ -56,6 +56,7 @@
+ #  define PORT_GETCWD _getcwd
+ # endif
+ #else
++#include <unistd.h>
+ # define PORT_PATH_MAX PATH_MAX
+ # define DIR_SEPERATOR '/'
+ # define uriFilenameToUriString uriUnixFilenameToUriStringA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131207/0ec90b5a/attachment.html>


More information about the macports-changes mailing list