summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authornathanw <nathanw>2004-06-05 19:07:51 +0000
committernathanw <nathanw>2004-06-05 19:07:51 +0000
commit9ff744621d1dc78141749006249a6fc45c7ffdfd (patch)
treeb2d6c2c8ccd646b8ed2e0c15e23e90d8dd654717 /audio
parent335013da5b29b5776c6d54f9928aa129d8b6f148 (diff)
downloadpkgsrc-9ff744621d1dc78141749006249a6fc45c7ffdfd.tar.gz
Initial import of daapd-0.2.2b.
Server for DAAP, the digital audio access protocol daapd scans a directory for mp3 files and makes them available via the Apple proprietary protocol DAAP. DAAP clients can browse the directory and retrieve individual files, either by streaming or by downloading them. [read: iTunes server]
Diffstat (limited to 'audio')
-rw-r--r--audio/daapd/DESCR6
-rw-r--r--audio/daapd/Makefile18
-rw-r--r--audio/daapd/PLIST3
-rw-r--r--audio/daapd/distinfo7
-rw-r--r--audio/daapd/patches/patch-aa44
-rw-r--r--audio/daapd/patches/patch-ab15
-rw-r--r--audio/daapd/patches/patch-ac12
7 files changed, 105 insertions, 0 deletions
diff --git a/audio/daapd/DESCR b/audio/daapd/DESCR
new file mode 100644
index 00000000000..1e01c36ec50
--- /dev/null
+++ b/audio/daapd/DESCR
@@ -0,0 +1,6 @@
+Server for DAAP, the digital audio access protocol
+Copyright deleet 2003, Alexander Oberdorster
+
+daapd scans a directory for mp3 files and makes them available via the Apple
+proprietary protocol DAAP. DAAP clients can browse the directory and retrieve
+individual files, either by streaming or by downloading them.
diff --git a/audio/daapd/Makefile b/audio/daapd/Makefile
new file mode 100644
index 00000000000..296169944f9
--- /dev/null
+++ b/audio/daapd/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/06/05 19:07:51 nathanw Exp $
+
+DISTNAME= daapd-0.2.2b
+CATEGORIES= audio
+MASTER_SITES= http://www.deleet.de/projekte/daap/daapd/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= nathanw@NetBSD.org
+HOMEPAGE= http://www.deleet.de/projekte/daap/daapd/
+COMMENT= Server for DAA protocol (iTunes)
+
+USE_BUILDLINK3= # defined
+USE_GNU_TOOLS= make
+MAKEFILE= makefile
+
+.include "../../audio/libid3tag/buildlink3.mk"
+.include "../../net/howl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/daapd/PLIST b/audio/daapd/PLIST
new file mode 100644
index 00000000000..aa0fe17751b
--- /dev/null
+++ b/audio/daapd/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/06/05 19:07:51 nathanw Exp $
+bin/daapd
+man/man8/daapd.8
diff --git a/audio/daapd/distinfo b/audio/daapd/distinfo
new file mode 100644
index 00000000000..5893d6224f0
--- /dev/null
+++ b/audio/daapd/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/06/05 19:07:51 nathanw Exp $
+
+SHA1 (daapd-0.2.2b.tgz) = d1644a5baaa0d89b4e550fbc4e3d0b4590bc9690
+Size (daapd-0.2.2b.tgz) = 198250 bytes
+SHA1 (patch-aa) = 1ae5e6ed769ce4ed4e3ac3b33d081440d86e6ecd
+SHA1 (patch-ab) = c18447494745366099b5bfe666d45a9c528500a2
+SHA1 (patch-ac) = a3e203dcf6e7686795f8348fef5cc2272abdfc48
diff --git a/audio/daapd/patches/patch-aa b/audio/daapd/patches/patch-aa
new file mode 100644
index 00000000000..02dcf6d15d9
--- /dev/null
+++ b/audio/daapd/patches/patch-aa
@@ -0,0 +1,44 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/06/05 19:07:51 nathanw Exp $
+
+--- makefile.orig 2004-04-17 07:14:45.000000000 -0400
++++ makefile 2004-06-04 15:34:59.000000000 -0400
+@@ -1,7 +1,7 @@
+ # configure daapd here
+
+ HOWL_ENABLE = 1
+-MPEG4_ENABLE = 1
++MPEG4_ENABLE = 0
+
+
+ # no need to touch anything below this line
+@@ -13,16 +13,14 @@
+ DEPS = daaplib_ libhttpd_
+ OBJS = daapd.o db.o dboutput.o songcache.o parsemp3.o
+ LIBS = -ldaaplib -lhttpd-persistent -lid3tag -lz
+-LIBPATH = -L. -L/usr/local/lib -L./daaplib/src -L./libhttpd/src
+-INCPATH = -I. -I/usr/local/include -I./daaplib/include -I./libhttpd/src
+-DEPLOY = /usr/local
+-CFLAGS = -Wall -Wno-multichar
++LIBPATH = -L. ${LDFLAGS} -L./daaplib/src -L./libhttpd/src
++INCPATH = -I. -I./daaplib/include -I./libhttpd/src
++DEPLOY = ${PREFIX}
++CFLAGS += -Wall -Wno-multichar
+
+ # HOWL
+ ifeq ($(HOWL_ENABLE),1)
+- HOWLDIRS := $(sort $(wildcard /usr/local/include/howl-*) )
+- HOWLRECENT := $(word $(words $(HOWLDIRS)),$(HOWLDIRS) )
+- INCPATH := $(INCPATH) -I$(HOWLRECENT)
++ INCPATH := $(INCPATH) -I${PREFIX}/include/howl
+ LIBS := $(LIBS) -lpthread -lhowl
+ CFLAGS := $(CFLAGS) -DHOWL_ENABLE
+ ifneq ($(shell $(CC) -E -dM - < /dev/null | grep __APPLE__),)
+@@ -70,8 +68,6 @@
+ rm $(OBJS) $(TARGET)
+
+ install: $(DEPS) $(TARGET)
+- cd libhttpd && $(MAKE) install
+- cd daaplib/src && $(MAKE) install
+ cp $(TARGET) $(DEPLOY)/bin
+ chmod a+rx $(DEPLOY)/bin/$(TARGET)
+ cp $(TARGET).8 $(DEPLOY)/man/man8
diff --git a/audio/daapd/patches/patch-ab b/audio/daapd/patches/patch-ab
new file mode 100644
index 00000000000..a1cf245bea9
--- /dev/null
+++ b/audio/daapd/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/06/05 19:07:51 nathanw Exp $
+
+--- daaplib/src/makefile.orig 2004-04-13 19:35:14.000000000 -0400
++++ daaplib/src/makefile 2004-06-04 13:58:11.000000000 -0400
+@@ -8,8 +8,8 @@
+
+ LIBS =
+ LIBPATH =
+-LIBDEPLOY = /usr/local/lib
+-INCDEPLOY = /usr/local/include
++LIBDEPLOY = ${PREFIX}/lib
++INCDEPLOY = ${PREFIX}/include
+ INCPATH = ../include
+ CFLAGS = -Wall -Wno-multichar
+
diff --git a/audio/daapd/patches/patch-ac b/audio/daapd/patches/patch-ac
new file mode 100644
index 00000000000..604b44d8722
--- /dev/null
+++ b/audio/daapd/patches/patch-ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1.1.1 2004/06/05 19:07:51 nathanw Exp $
+
+--- libhttpd/Site.mm.in.orig 2004-06-04 14:51:42.000000000 -0400
++++ libhttpd/Site.mm.in 2004-06-04 14:52:05.000000000 -0400
+@@ -37,5 +37,5 @@
+ # Any other CFlags required
+ EXTRA_CFLAGS=
+
+-CFLAGS= -g -I$(TOP)/ -I/usr/local/include $(EXTRA_CFLAGS) -D$(OS_TYPE)
+-LDLIBS= -L/usr/local/lib -L$(TOP)/lib @LIBS@ $(EXTRA_LIBS)
++CFLAGS= -g -I$(TOP)/ $(EXTRA_CFLAGS) -D$(OS_TYPE)
++LDLIBS= -L$(TOP)/lib @LIBS@ $(EXTRA_LIBS)