[69503] trunk/dports/audio/daapd

ryandesign at macports.org ryandesign at macports.org
Wed Jul 7 21:22:53 PDT 2010


Revision: 69503
          http://trac.macports.org/changeset/69503
Author:   ryandesign at macports.org
Date:     2010-07-07 21:22:52 -0700 (Wed, 07 Jul 2010)
Log Message:
-----------
daapd: update to 0.2.4b, fix compilation of and also install libdaaplib.a

Modified Paths:
--------------
    trunk/dports/audio/daapd/Portfile
    trunk/dports/audio/daapd/files/patch-makefile
    trunk/dports/audio/daapd/files/patch-select.h

Modified: trunk/dports/audio/daapd/Portfile
===================================================================
--- trunk/dports/audio/daapd/Portfile	2010-07-08 03:36:44 UTC (rev 69502)
+++ trunk/dports/audio/daapd/Portfile	2010-07-08 04:22:52 UTC (rev 69503)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 
 name            daapd
-version         0.2.4a
+version         0.2.4b
 categories      audio net
 platforms       darwin
 maintainers     nomaintainer
@@ -17,21 +17,32 @@
 homepage        http://www.deleet.de/projekte/daap/daapd/
 master_sites    ${homepage}
 extract.suffix  .tgz
-checksums       md5 330e2a89d77b086a64bbe8cdf24a00f2
-patchfiles      patch-makefile patch-daapd.cc patch-daapd.8 patch-select.h
 
+checksums           md5     3a83294a9eb88b27bae7f5dd06394c49 \
+                    sha1    0903303f155c19ae12cdc78be05799508156a16b \
+                    rmd160  899b37b3872623ef918f7faa4eb8bad2dfc5b369
+
 depends_lib         port:zlib \
                     port:libid3tag \
                     port:howl
 
+patchfiles          patch-daapd.cc patch-daapd.8 patch-daaplib-src-makefile patch-select.h patch-makefile
+
+post-extract {
+    # Convert DOS to UNIX line endings so we can patch
+    reinplace "s|\r||g" ${worksrcpath}/daaplib/src/makefile
+}
+
 post-patch {
     reinplace s|@PREFIX@|${prefix}|g    ${worksrcpath}/daapd.cc \
-                        ${worksrcpath}/makefile \
-                        ${worksrcpath}/daapd.8
+                        ${worksrcpath}/daapd.8 \
+                        ${worksrcpath}/daaplib/src/makefile \
+                        ${worksrcpath}/makefile
 }
 
 destroot {
     xinstall -m 755 ${worksrcpath}/daapd ${destroot}${prefix}/sbin/
+    xinstall -m 644 ${worksrcpath}/daaplib/src/libdaaplib.a ${destroot}${prefix}/lib/
     xinstall -m 644 ${worksrcpath}/daapd.conf ${destroot}${prefix}/etc/daapd.conf.dist
     xinstall -m 644 ${worksrcpath}/daapd.8 ${destroot}${prefix}/share/man/man8/
 }

Modified: trunk/dports/audio/daapd/files/patch-makefile
===================================================================
--- trunk/dports/audio/daapd/files/patch-makefile	2010-07-08 03:36:44 UTC (rev 69502)
+++ trunk/dports/audio/daapd/files/patch-makefile	2010-07-08 04:22:52 UTC (rev 69503)
@@ -1,13 +1,5 @@
---- makefile.orig	Mon Jan  3 22:12:13 2005
-+++ makefile	Mon Jan  3 22:12:55 2005
-@@ -1,6 +1,6 @@
- # configure daapd here
- 
--HOWL_ENABLE = 0
-+HOWL_ENABLE = 1
- ZLIB_ENABLE = 1
- MPEG4_ENABLE = 0
- 
+--- makefile.orig	2006-03-05 07:39:37.000000000 -0600
++++ makefile	2010-07-07 23:09:13.000000000 -0500
 @@ -14,16 +14,16 @@
  DEPS = daaplib_ libhttpd_
  OBJS = daapd.o db.o dboutput.o songcache.o parsemp3.o util.o

Modified: trunk/dports/audio/daapd/files/patch-select.h
===================================================================
--- trunk/dports/audio/daapd/files/patch-select.h	2010-07-08 03:36:44 UTC (rev 69502)
+++ trunk/dports/audio/daapd/files/patch-select.h	2010-07-08 04:22:52 UTC (rev 69503)
@@ -1,11 +1,11 @@
---- libhttpd/src/select.h.orig	2005-01-05 10:18:47.000000000 +1100
-+++ libhttpd/src/select.h	2006-01-05 19:41:28.000000000 +1100
-@@ -37,7 +37,7 @@
- #include "httpd_priv.h"
+--- libhttpd/src/select.h.orig	2006-03-05 08:00:38.000000000 -0600
++++ libhttpd/src/select.h	2010-07-07 22:45:33.000000000 -0500
+@@ -38,7 +38,7 @@
  
  #ifdef __APPLE__
+ #ifndef _SOCKLEN_T
 -	typedef int socklen_t;
 +	typedef __uint32_t socklen_t;
+ #define _SOCKLEN_T
  #endif
- 
- #ifdef __sgi__
+ #endif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100707/9cbedd24/attachment.html>


More information about the macports-changes mailing list